GNOME Bugzilla – Bug 301710
add a logout button
Last modified: 2005-10-12 21:42:39 UTC
The number one annoyance with xscreensaver is that it doesn't have a logout button, such that after a timeout becomes visible and enables anyone to log out the user that has locked the screen. This feature is in xlock, and since we changed our desktops to GNOME it has been a major pain in the buttocks killing sessions of users that have "forgot" their sessions running..
Are you thinking a public computer lab situation?
Yes. Currently we have 200+ workstations, and every day there are a few that need admin attention because of locked sessions. I've been told numerous times to use gdm-flexiserver (?) so that you can start a new session even if the current one is locked, but it is not a good solution in this case... Perhaps it would be too brutal to just kill gnome-session?-) (instead call the same "logout" that you normally use, only forced so it wouldn't ask anything)
What do you think the timeout should be?
configurable ;) We had it 15 minutes with xlock
I have just added support for this in CVS. It is off by default and can be enabled via gconf. This requires the fix for bug 149447.
*** Bug 314933 has been marked as a duplicate of this bug. ***
oh man.. I didn't remember I had this bug open, and searching bugzilla didn't show any open bugs.. anyway, it's a real pity that gnome-session still lags behind sorry for the mess.. I'll just wait ;)
*** Bug 161234 has been marked as a duplicate of this bug. ***
The logout command can now be set using gconf.
Can you describe how it would work? * GConf just turns on/off the logout button on xscreensaver? * The logout button would force the current session to logout? properly (ie. .logout)? * Can the logout button be turned on/off on a per session basis (ie. don't let anyone log me out now)? * Can the logout button be restricted to some (group of) users (ie. root cannot be logged out)? Etc.
You can use gconf to set the following: logout_enabled logout_delay logout_command Here is the basic logic: if logout_enabled: if (now_time - activate_time) > logout_delay: show logout_button if clicked logout_button: run logout_command Gconf will allow you to set these settings for all users, individual users, or groups of users. Please see the gconf documentation for more details. The major caveat is that for now you have to provide your own logout_command that will do the logging out without user interaction. If you wish you can modify gnome-save-session with the patch in bug 149447.
Ick - caveat. I hope the two things will be integrated to make it seamless.