← Back to team overview

dx-packages team mailing list archive

[Bug 1325353] Re: Lock/Switch stay in session menu even if disabled

 

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 DX
Packages, which is subscribed to indicator-session in Ubuntu.
Matching subscriptions: dx-packages
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


References