Applications ran with elevated privileges don't have their menubar on the Unity panel

Bug #826391 reported by David Gomes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
New
Undecided
Unassigned

Bug Description

Unity Version: unity 3.8.16
Ubuntu 11.04

Steps to reproduce:
1. Open a terminal
2. Open a program with elevated privileges (sudo), like "sudo firefox"
3. Observed result: The menubar is not on the Unity top panel, but instead inside the frame

This happens with all the programs I tried (xchat, gnome-terminal, gparted, etc.)

What I think happens is that sudo clobbers environment required for dbusmenu to work.

One of the suggested fixes is to "add dbus environment variables into sudo's whitelist" because "sudo strips away a lot of environment variables. Among them, the dbus-related things which prevent dbusmenu from working properly".

The attachment is what happens when I run "sudo gnome-terminal".

Revision history for this message
David Gomes (davidgomes) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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