Cannot disable user switching

Bug #114945 reported by Pausanias
12
Affects Status Importance Assigned to Milestone
GNOME Screensaver
Fix Released
Medium
gnome-screensaver (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Gutsy by ashwin

Bug Description

On a fully patched feisty, no matter what I do, I cannot disabled the "Switch user" button when the screen is locked. I have turned off /apps/gnome-screensaver/user_switch_enabled, and turned on /desktop/gnome/lockdown/disable_user_switching. No matter what I do, the login screen still displays the "Switch User..." button.

Revision history for this message
Michael Trunner (trunneml) wrote :

Same problem here.

With /desktop/gnome/lockdown/disable_user_switching only the Switch user Button in the logout menu disappears.

Revision history for this message
Marcel Schaal (marcelschaal) wrote :

Add following entries to /etc/gconf/gconf.xml.mandatory/%gconf-tree.xml

<?xml version="1.0"?>
<gconf>
    <dir name="apps">
        <dir name="gnome-screensaver">
            <entry name="user_switch_enabled" mtime="1181222573" schema="/schemas/apps/gnome-screensaver/user_switch_enabled" type="bool" value="false" />
        </dir>
    </dir>
</gconf>

Revision history for this message
Peter Meiser (meiser79) wrote :

gnome-screensaver also doesn't respect the "user_switch_enabled" setting when making it mandatory.

Revision history for this message
Pausanias (pausanias) wrote :

Marcel, your suggested change to %gconf-tree.xml has no effect even after a restart. The switch user button still appears.

Marking this as confirmed as several have reported the same experience.

Changed in gnome-screensaver:
status: Unconfirmed → Confirmed
Changed in gnome-screensaver:
status: Unknown → Unconfirmed
Revision history for this message
Peter Meiser (meiser79) wrote :

There's a patch for g-s 2.19 at http://bugzilla.gnome.org/show_bug.cgi?id=469890

Changed in gnome-screensaver:
status: New → Fix Released
Revision history for this message
Peter Meiser (meiser79) wrote :

Issue is fixed in g-s SVN trunk (http://svn.gnome.org/viewcvs/gnome-screensaver/trunk/src/gs-lock-plug.c?r1=1272&r2=1273).

The diff can also be used for 2.18.1 which is in Feisty.

Revision history for this message
Peter Meiser (meiser79) wrote :

gnome-screensaver (2.20.0-0ubuntu1) gutsy; urgency=low
 .
   * New upstream release
    * configure.ac: Add AM_PROG_CC_C_O
    * Hide switch button if not enabled. Fixes #442853
    * src/gs-grab-x11.c (gs_grab_get_keyboard): removed
      extra 'if' statement.

Changed in gnome-screensaver:
status: Confirmed → Fix Released
Revision history for this message
Pausanias (pausanias) wrote :

Found a workaround for those still with Feisty.

sudo mv /usr/bin/gdmflexiserver /usr/bin/FOOgdmflexiserver

This will cause the Switch User button to have no effect.

Changed in gnome-screensaver:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.