[Bug 840681] New: unable to unlock X session locked with xlock / always shows "invalid login"
https://bugzilla.novell.com/show_bug.cgi?id=840681 https://bugzilla.novell.com/show_bug.cgi?id=840681#c0 Summary: unable to unlock X session locked with xlock / always shows "invalid login" Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Normal Priority: P5 - None Component: X11 Applications AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: stefan.kaerst@ageto.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 I've got a fresh installation of openSUSE 12.3 and want to to use xlock from xlockmore package to lock my X session. once started I'm not able unlock the session. xlock always says "Invalid login" Reproducible: Always Steps to Reproduce: 1. start xlock (from xlockmore package) 2. try to unlock X session with user password Actual Results: xlock always shows "invalid login" Expected Results: X session unlocked knoedel@section60:~> zypper info xlockmore Loading repository data... Warning: Repository 'openSUSE-12.3-Update-Non-Oss' appears to outdated. Consider using a different mirror or server. Reading installed packages... Information for package xlockmore: ---------------------------------- Repository: openSUSE-12.3-Oss Name: xlockmore Version: 5.34-9.1.1 Arch: x86_64 Vendor: openSUSE Installed: Yes Status: up-to-date Installed Size: 3.2 MiB Summary: Screen Saver and Locker for the X Window System Description: The xlock utility locks your X Window System session and runs a screen saver until a password is entered. knoedel@section60:~> knoedel@section60:~> lsb_release -a LSB Version: n/a Distributor ID: openSUSE project Description: openSUSE 12.3 (x86_64) Release: 12.3 Codename: Dartmouth knoedel@section60:~> xlock Failed to execute /sbin/unix2_chkpwdKilled Killed knoedel@section60:~> xlock: unexpected event: 34 knoedel@section60:~> echo $? 137 *** killed with -9 PID *** knoedel@section60:~> knoedel@section60:~> cat `which xlock` #! /bin/bash # Copyright (c) 1995-2002 SuSE Linux AG, Nuernberg, Germany. # All rights reserved. # # Author: Tomas Crhak http://www.suse.de/feedback # # xlock wrapper, that will restart xlock in case it terminates # unexpectedly (some modes can segfault) trap '' `seq 1 63` trap SIGCHLD /usr/lib/xlock/xlock "$@" status=$? test $status -gt 128 -a $status -lt 192 \ && exec /usr/bin/xlock -mode blank exit $status knoedel@section60:~> ldd /usr/lib/xlock/xlock | grep -i pam knoedel@section60:~> after going through the source package (to compile it with --enable-pam) I found a solution: pam_modules must be installed as well! otherwise xlock does not ask for a password nor does it provide the makekey(8) tool to save one in a .xlockrc! I never figured out where makekey(8) belongs to or how to get this tool installed. please update the RPM so xlockmore has pam-modules as dependency - and/or - add PAM support to xlock again. (why was it removed in the firstplace? why was the removal not explained in the xlockmore.spec??) Many Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=840681
https://bugzilla.novell.com/show_bug.cgi?id=840681#c
Ye Yuan
http://bugzilla.novell.com/show_bug.cgi?id=840681
--- Comment #3 from Bernhard Wiedemann
http://bugzilla.novell.com/show_bug.cgi?id=840681
--- Comment #4 from Bernhard Wiedemann
http://bugzilla.novell.com/show_bug.cgi?id=840681
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=840681
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=840681
--- Comment #5 from Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=840681
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com