← Back to team overview

desktop-packages team mailing list archive

[Bug 376206] Re: 85_disable_shutdown_on_ltsp.patch should check org.gnome.SessionManager.CanShutdown

 

** Changed in: gnome-panel (Ubuntu)
       Status: Triaged => Invalid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-panel in Ubuntu.
https://bugs.launchpad.net/bugs/376206

Title:
  85_disable_shutdown_on_ltsp.patch should check
  org.gnome.SessionManager.CanShutdown

Status in gnome-panel package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: gnome-panel

  debian/patches/85_disable_shutdown_on_ltsp.patch currently hides the
  shutdown option from the system menu on LTSP clients. As long as my
  understanding of the patch and LTSP is correct then I assume this is
  because users logged in on remote consoles cannot shutdown the machine
  anyway.

  However, the administrator has the choice to adjust the system policy
  to allow users logged in remotely to shutdown the machine. This patch
  currently hides the shutdown option for all LTSP users regardless of
  the system policy though.

  gnome-session provides a convenience method
  (org.gnome.SessionManager.CanShutdown) for checking if you can perform
  any of the shutdown actions in the session dialog from the current
  session (shutdown, restart, suspend, hibernate). For shutdown and
  restart, it just checks if the user is permitted to perform the
  action. For suspend and hibernate, it asks gnome-power-manager if
  these are possible and if the user is permitted to perform the action.

  I think that rather than checking for LTSP_CLIENT in the environment
  that this patch should ask the session manager instead.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-panel/+bug/376206/+subscriptions