I am coding an gui to create a vpn.
I am using now "AppIndicator" after using "GtkStatusIcon" but the icon works with the normal user but it's not displayed with sudo or gksudo.
How to fix it?
|
I am coding an gui to create a vpn. I am using now "AppIndicator" after using "GtkStatusIcon" but the icon works with the normal user but it's not displayed with How to fix it? |
||||
|
|
|
The AppIndicator instance should be initiated from an unprivileged user, such as the current logged into desktop. This is is required so D-Bus communication used between the appindicator and the panel to work. You should probably run your program as a normal user, and use gksudo only on the portions requiring root access. |
|||||
|