Public bug reported:

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.

** Affects: gnome-panel (Ubuntu)
     Importance: Low
         Status: New

** Changed in: gnome-panel (Ubuntu)
   Importance: Undecided => Low

-- 
85_disable_shutdown_on_ltsp.patch should check 
org.gnome.SessionManager.CanShutdown
https://bugs.launchpad.net/bugs/376206
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-panel in ubuntu.

-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to