fusa needs to hide shutdown and reboot elements from menu in ltsp sessions
Bug #282613 reported by
Oliver Grawert
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fast-user-switch-applet (Ubuntu) |
Fix Released
|
Medium
|
Ted Gould | ||
Intrepid |
Fix Released
|
Medium
|
Ted Gould |
Bug Description
Binary package hint: fast-user-
with the switch to fusa as default logout action users are offered shutdown and reboot elements in the new logout menu. since these elements refer to the ltsp server and luckily result in a no-op for remote users they should not be shown if the LTSP_CLIENT environemnt variable is set. ltsp clients can only be shut down at the ldm screen after logout.
Changed in fast-user-switch-applet: | |
importance: | Undecided → Medium |
milestone: | none → ubuntu-8.10 |
Changed in fast-user-switch-applet: | |
assignee: | nobody → ted-gould |
To post a comment you must log in.
the following change in the 84_session_ management. patch fixes the issue (it only hides the shutdown and reboot items, screen locking persists and works fine)
-+ gtk_widget_ show(adata- >reboot_ item); show(adata- >shutdown_ item); show(adata- >reboot_ item); show(adata- >shutdown_ item);
-+ gtk_widget_
++ if (!g_getenv ("LTSP_CLIENT")) {
++ gtk_widget_
++ gtk_widget_
++ }