fusa needs to hide shutdown and reboot elements from menu in ltsp sessions

Bug #282613 reported by Oliver Grawert
4
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-switch-applet

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.

Oliver Grawert (ogra)
Changed in fast-user-switch-applet:
importance: Undecided → Medium
milestone: none → ubuntu-8.10
Revision history for this message
Oliver Grawert (ogra) wrote :

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);
-+ gtk_widget_show(adata->shutdown_item);
++ if (!g_getenv ("LTSP_CLIENT")) {
++ gtk_widget_show(adata->reboot_item);
++ gtk_widget_show(adata->shutdown_item);
++ }

Ted Gould (ted)
Changed in fast-user-switch-applet:
assignee: nobody → ted-gould
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fast-user-switch-applet - 2.24.0-0ubuntu3

---------------
fast-user-switch-applet (2.24.0-0ubuntu3) intrepid; urgency=low

  * 84_session_management.patch: Add a check for the lock screen lockdown
    key and ensure that if it is set, there is no lock screen option.
    (LP: #277650)
  * 88_status_icons.patch: Adding the removal of the generated icons so
    that the package can rebuild correctly.
  * 90_status_management.patch: Reducing padding on panel. Not able to get
    rid of all, but it's better. (LP: #272824)
  * 90_status_management.patch: Adding a check for the status manager
    validity in get status. (LP: #262187)
  * 91_ltsp_new_features.patch:
   * Remove guest account with LTSP. (LP: #282610)
    * Make it so that failure to send a command to GDM on logout
      still results in logging out. (LP: #282595)
    * Hide the Reboot and shutdown items when the LTSP_CLIENT environment
      variable is set. (LP: #282613)
  * 92_autotools.patch: Update with other patches

 -- Ted Gould <email address hidden> Wed, 15 Oct 2008 22:03:35 -0500

Changed in fast-user-switch-applet:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.