gksudo is a frontend to sudo

learn more… | top users | synonyms

1
vote
2answers
873 views

gksudo keeps asking for my password when using a custom Unity launcher

I wrote a custom .desktop file that contains an Exec line #!/usr/bin/env xdg-open [Desktop Entry] (...) Exec=gksudo /my/path/to/bash_script.sh (...) This script launches some zenity calls. Then I ...
1
vote
1answer
78 views

Preserving GTK theme with gksudo

I have a computer with two (non simultaneous) users who are both in the sudo group. Is there a way to preserve the user's GTK theme with gksudo, for instance when running the update manager? By ...
0
votes
1answer
180 views

How can I run an autorun file as root with no gui

I set up a server using ubuntu with no gui. I need root for some tasks that I want to autorun on this server. Normally I would just use gksudo because autorun programs never seem to work with su or ...
0
votes
1answer
576 views

Why can I not use gksudo/sudo with any GUI program?

In my Ubuntu 12.04.2 with GNOME-Shell I'm not able anymore to run any graphical programs with gksudo or sudo. I always get an error like cannot open display I don't remember any particular changes ...
0
votes
0answers
25 views

Configuration changes disappear after kernel updates

I recently upgraded to Ubuntu 14.04 and have had to make a few configuration changes. Specifically, I fixed the ro/rw issue in grub.cfg and added more swap space, both times making edits using gksudo. ...
0
votes
0answers
65 views

How to make gksudo or gksu sessions last longer in ubuntu

Every time I want to open a GUI program that needs root permissions, I have to put my password. For example, I open synaptic and put my password then close it and a second later decide to reopen it it ...
0
votes
0answers
20 views

Elevated gui programs all open blank windows

Using XFCE 4.9 on Ubuntu 12.04. I have some shortcuts that I've been using for ages to open things as root. For example, 'gksudo konsole'. These have been working just fine, but all of a sudden, ...