Bug 493268

Summary: Kdesktop_lock does not work on multiuser systems (and how to fix this)
Product: Red Hat Enterprise Linux 4 Reporter: Staffan Hamala <sh>
Component: kdebaseAssignee: Than Ngo <than>
Status: CLOSED WONTFIX QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 4.7CC: sh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 498990 499442 (view as bug list) Environment:
Last Closed: 2012-06-20 16:11:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Staffan Hamala 2009-04-01 08:00:56 UTC
Description of problem:

Kdesktop_lock does not run on multiuser systems. If one user has a kdesktop_lock.bin running, it won't start for another user!

Version-Release number of selected component (if applicable):

RHEL 4.7

How reproducible:

Always

Steps to Reproduce:

Select "Lock session" in KDE menu, or run kdesktop_lock.
  
Actual results:

Does not start

Expected results:

Starts

Additional info:

How to fix it:
kdesktop_lock.bin is started by a script /usr/bin/kdesktop_lock (in RHEL 4.7 - this was not so in earlier versions).

The first line in the script begins with:
LIST=`ps ax --format "%p:%a" ....

Change this to:
LIST=`ps x --format "%p:%a"  ....

I don't know why it would want to check for kdesktop_lock run by other users. It really does not work that way.

Comment 1 Jiri Pallich 2012-06-20 16:11:41 UTC
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life. 
Please See https://access.redhat.com/support/policy/updates/errata/

If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.