LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-04-2011, 07:46 AM   #1
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

Rep: Reputation: 59
xlock on laptop, possible bug?


I've got one stationary computer and two laptops. All of them running slackware 13.37.

When I lock my fluxbox with xlock on my stationary computer, all is well. However, if I do the same on any of my laptops, I get failed login. It's not a clean installation, I've used some slackbuilds and I've got a custom kernel. I fail to see why that should cause this effect. And it's mostly the same slackbuilds/.config for all computers.

Could someone test/"verify" this behavior?

(Protip: If you fail to authenticate, you can kill xlock in a console instead of "zap" the X-session)

Last edited by Dinithion; 08-04-2011 at 07:47 AM.
 
Old 08-04-2011, 11:36 AM   #2
tinyTux
Member
 
Registered: Mar 2011
Location: Extended Memory
Distribution: Gentoo
Posts: 64

Rep: Reputation: 9
Quote:
Originally Posted by Dinithion View Post
I've got one stationary computer and two laptops. All of them running slackware 13.37.

When I lock my fluxbox with xlock on my stationary computer, all is well. However, if I do the same on any of my laptops, I get failed login. It's not a clean installation, I've used some slackbuilds and I've got a custom kernel. I fail to see why that should cause this effect. And it's mostly the same slackbuilds/.config for all computers.

Could someone test/"verify" this behavior?

(Protip: If you fail to authenticate, you can kill xlock in a console instead of "zap" the X-session)
My first thought is some PAM configuration issue. I'm not a slacker, but you should have pam configs in /etc/pam.d you can look through. On my system, there is one for "xscreensaver" which uses the "system-auth" config. If you posted both of these perhaps we'd see something.
 
Old 08-04-2011, 08:14 PM   #3
clifford227
Member
 
Registered: Dec 2009
Distribution: Slackware 14
Posts: 282

Rep: Reputation: 64
I had a problem like this, it turned out Xlock was using a different keyboard map, and the charactors I thought I was typing in, were actually different to what the computer was recieving, and so it would fail to unlock. But I cant remember exactly how I solved the problem I usually write everything down, but I cant find the solution among my stuff.

I currently use xlock myself, and it works fine when I type in the password. Try changing the keymap in Xorg?

Last edited by clifford227; 08-04-2011 at 08:24 PM.
 
Old 08-05-2011, 05:21 AM   #4
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

Original Poster
Rep: Reputation: 59
Ok, I found the difference. On my laptops I've got a ~/.xlock file that contains a hashed version of the password. This file doesn't exist on my workstation. If the file doesn't exist on the laptops I am prompted for a password which is then stored in this file.

I could mark this a solved, but it turned in to a curiosity now. It's the same slackware version on all of them. According to the documentation you'll have to change a file before compilation to choose shadow authentication. So I can't seem to understand the difference in behavior.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xlock...... garylmartin Linux - Newbie 1 11-04-2009 04:50 PM
Xlock - Never authenticates first try kellinjar Linux - Software 3 07-08-2008 05:58 PM
MSI m670 laptop acpi bug hulf Linux - Laptop and Netbook 2 03-25-2008 08:39 AM
xlock insecure... Synesthesia Linux - General 5 02-05-2006 12:36 AM
Xlock / Xlock more with enterprise authentication yasir15 Linux - Software 0 04-20-2004 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration