gksudo is a frontend to sudo

learn more… | top users | synonyms

0
votes
1answer
19 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
2answers
80 views

How to properly detach a command?

I have this little script I use to launch a root Nautilus window (yeah, dangerous, but sometimes necessary): #!/bin/bash gksudo --description "Launch a root Nautilus" -- sh -c "xdg-open / &" ...
1
vote
1answer
80 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
74 views

Is there a better command to use than Sudo? [duplicate]

I used to hear you are supposed to use gksudo, but that is no longer installed by default. What should be used in its stead?
4
votes
1answer
141 views

How do I provide arguments to a command run from gksudo?

I want to add a shortcut for gnome-system-monitor that runs with root access and has very high priority. My command for the shortcut is: gksudo -k -u root nice --20 gnome-system-monitor But this ...
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
23 views

Can't start sublime with gksu [duplicate]

After typing gksu subl or gksudo subl, it asked for my password. But after that, nothing happened. Do note that, with sudo. It works. Why is that and how to fix this?
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
1answer
275 views

Possible to run gksudo without a password require?

So i have xampp installed on my desktop and since it can use alot of ram if it stays active for a long time i followed tutorial to put together some kind of python script to start and stop services ...
0
votes
1answer
767 views

Cannot start nautilus or any other app via gksu anymore

I am running Ubuntu 14.04 64bit on my Dell XPS 13 laptop, and up until now I was able to start nautilus via terminal or by using ALT+F2 and typing gksu nautilus through Dash. Only now, supposedly ...
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, ...
2
votes
1answer
3k views

gksudo nautilus error - Ubuntu 14.04

I installed gksudo on Ubuntu 14.04 LTS and when i run nautilus with gksudo gksudo nautilus it asks for password, then gives error and then crashes (nautilus:19688): GLib-GObject-WARNING **: invalid ...
0
votes
1answer
73 views

gksudo from a non sudoer?

I want to run gui applications that require admin privileges from gksudo/gksu on a non-sudoer account. Currently, I can just run sudo guiapplication from a sudoer tty, and will be able to display/use ...
1
vote
1answer
1k views

sudo, gksudo, kdesudo and their differences?

What is the difference between sudo, kdesudo and gksudo, and when should I use each? I know that sudo allows me to run both cli and gui functions, but I've seen other people on websites using kdesudo ...
0
votes
1answer
216 views

Is gksudo still in use, if not what is the replacment? [duplicate]

Is gksudo still in use or is it officially removed? It is still available in the Ubuntu tutorial: (https://help.ubuntu.com/community/Beginners/BashScripting) and what would be the replacement for it? ...
0
votes
1answer
2k views

When I try to save any file, it gives me “Permission Denied”

It doesn't matter where, it just won't save any files. I have tried running gksudo gedit /etc/default/grub, because I am trying to change the quiet splash to elevator=deadline but when I try to save ...
0
votes
1answer
474 views

Need hdd access from live cd

Something went wrong with the kernels of my current installed Ubuntu, and because of this i can't access my Ubuntu installation, so I'm trying to make a back-up using a LiveCD and copying everything ...
6
votes
2answers
15k views

How to add gksudo or what to use instead in Ubuntu 13.04? [duplicate]

I used to use gksudo gedit /etc/something.conf to edit system configuration files but this doesn't seem to work any more. Looks like there is no gksudo in 13.04. How can I add it back or what am I ...
49
votes
3answers
31k views

Why is gksu no longer installed by default?

I have always recommended pressing ALT+F2 and typing for example gksu nautilus or gksudo nautilus both are equivalent; to run graphical programs with root privileges. However, I have just installed ...
1
vote
1answer
103 views

Sharing Audio Streams In Firefox when using Gksudo

My admin user has proprietary information, banking info and internet password database on it's account. In order to use apps while online, prevent apps from contacting the internet silently, bring up ...
0
votes
1answer
853 views

sudo works, but gksudo doesn't, why?

sudo lshw -html>1.html works perfectly.I get system information in 1.html. But, gksudo lshw -html>1.html doesn't work.I get gksudo usage options in 1.html Information: I am developing ...
0
votes
1answer
181 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
578 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 ...
4
votes
1answer
114 views

How can I get the authentification dialog programatically?

Instead of using gksudo in a bash script, I want to invoke the authenticate dialog ( as in screenshot) instead. Is it possible? If yes, how? Thanks.
1
vote
2answers
876 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 ...