After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 301710 - add a logout button
add a logout button
Status: RESOLVED FIXED
Product: gnome-screensaver
Classification: Deprecated
Component: dialog
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gnome-screensaver maintainers
gnome-screensaver maintainers
: 161234 314933 (view as bug list)
Depends on: 149447
Blocks:
 
 
Reported: 2005-04-23 14:21 UTC by Timo Aaltonen
Modified: 2005-10-12 21:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Timo Aaltonen 2005-04-23 14:21:20 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..
Comment 1 William Jon McCann 2005-04-24 03:05:29 UTC
Are you thinking a public computer lab situation?
Comment 2 Timo Aaltonen 2005-04-24 05:28:01 UTC
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)

Comment 3 William Jon McCann 2005-05-05 19:10:52 UTC
What do you think the timeout should be?
Comment 4 Timo Aaltonen 2005-05-05 19:54:10 UTC
configurable ;)

We had it 15 minutes with xlock
Comment 5 William Jon McCann 2005-05-05 20:50:23 UTC
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.
Comment 6 William Jon McCann 2005-08-31 13:10:08 UTC
*** Bug 314933 has been marked as a duplicate of this bug. ***
Comment 7 Timo Aaltonen 2005-08-31 13:31:00 UTC
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 ;)
Comment 8 William Jon McCann 2005-09-28 17:12:57 UTC
*** Bug 161234 has been marked as a duplicate of this bug. ***
Comment 9 William Jon McCann 2005-10-12 17:26:42 UTC
The logout command can now be set using gconf.
Comment 10 David Masterson 2005-10-12 21:04:46 UTC
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.
Comment 11 William Jon McCann 2005-10-12 21:36:03 UTC
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.
Comment 12 David Masterson 2005-10-12 21:42:39 UTC
Ick - caveat.  I hope the two things will be integrated to make it seamless.