gksudo is a frontend to sudo

learn more… | top users | synonyms

1
vote
2answers
992 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
242 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
37 views

Sublime Text does not launch under gksudo

Sublime Text does not launch under gksudo. If I start it directly sudo subl it works, but gksudo subl fails. Also, how can I get a list of programs that can run from terminal straight away ...
0
votes
1answer
210 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
624 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
15 views

gksudo equivalent for Ubuntu Touch

Is there a gksudo equivalent (or Cpp / Qml api call) that lets you ask for a password in a graphical way on Ubuntu Touch? Thanks
0
votes
0answers
82 views

GUI apps needing root access won't open

I am currently using Ubuntu 14.10. Here is the terminal output of three apps I tried : Gparted: $ gksudo gparted Too few arguments. Invalid MIT-MAGIC-COOKIE-1 key (gpartedbin:4427): Gtk-WARNING **: ...
0
votes
0answers
21 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
65 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
33 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
86 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 ...