Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to disable the Switch User option from a locked screen on Fedora 15? I've tried this way, but no luck, since gconf-editor has no effect.

share|improve this question
Is there a special reason why you want to disable this option? – jofel Mar 14 '12 at 13:36
@jofel others can shutdown the machine or log in while I have it locked. – slybloty Mar 14 '12 at 13:56
Shutdown is usually forbidden by polkit if more than one user is logged in. And as Linux is a multi-user system, there should be no (security) problem, if multiple users are logged in. – jofel Mar 14 '12 at 14:07
But if someone logs in as root and runs or sudos a shutdown command, won't that override the multiple user restriction? – FloppyDisk Mar 14 '12 at 17:03
@FloppyDisk It doesn't matter if root does it. My concern is about anybody else. – slybloty Mar 14 '12 at 19:27
up vote 1 down vote accepted

I found 2 ways of doing this. Both involve XScreenSaver.
Either deactivate or uninstall gnome-screensaver and start the XScreenSaver (install if needed), or switch to Xfce which is using it.
XScreenSaver can easily be controlled and configured to disable the switch user feature.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.