gksudo is a frontend to sudo

learn more… | top users | synonyms

1
vote
2answers
937 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 ...
0
votes
2answers
108 views

GTK apps not respecting Kubuntu's oxygen-gtk theme when executed as sudo

I am using Kubuntu 14.10 and it's working quite well so far, but my problem is pretty much what it's stated in the title, when executing a GTK app that requires sudo privileges, such as Synaptic ...
0
votes
1answer
198 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
610 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
9 views

Can i use “gksu” to became root for CLI operation?

I don't care if this is unsafe, because i'm only doing it as a programming exercise, but that's what i want to do: I want to create a C program that, with the "system" command, will call dpkg and ...
0
votes
0answers
32 views

Problems launching LightTable with gksudo in Unity Launcher

Following the instructions found in this question: How to launch application as root from Unity Launcher? I was able to launch LightTable from the Unity Launcher. Problems: 1) Once the program is ...
0
votes
0answers
29 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
79 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
23 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, ...