Colleague of mine just figured out a workaround for this in Ubuntu 16.04 LTS, by appending the following to /etc/bash.bashrc
gsettings set com.canonical.indicator.session user-show-menu false This way when any user login occurs the switch user menu does not appear. -- You received this bug notification because you are a member of AIMS, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1325353 Title: Lock/Switch stay in session menu even if disabled Status in Session Menu: In Progress Status in indicator-session package in Ubuntu: Fix Released Status in indicator-session source package in Trusty: In Progress Bug description: [Impact] Session indicator no longer honours the lockdown settings that worked in 12.04 LTS. There are no alternative settings to perform the same behaviour. This functionality is required in large installations where users are not allowed to perfom these actions (e.g. corporate installations / labs / public terminals). [Test Case] 1. Create the file /usr/share/glib-2.0/schemas/lockdown.gschema.override: [org.gnome.desktop.lockdown] disable-lock-screen=true disable-user-switching=true 2. Reboot 3. Log into a session Expected result: Opening the session indicator should not show any options to lock the screen or switch the user. Observed result: "Lock/Switch Account" and user list shown for installations with more than one user. "Lock" shown for installations with one user. [Regression Potential] Potential for modified options to be shown/hidden incorrectly. Risk reduced by using existing regression tests, adding new test for lockdown and manually testing each case. To manage notifications about this bug go to: https://bugs.launchpad.net/indicator-session/+bug/1325353/+subscriptions -- Mailing list: https://launchpad.net/~aims Post to : aims@lists.launchpad.net Unsubscribe : https://launchpad.net/~aims More help : https://help.launchpad.net/ListHelp