Questions tagged [gksudo]
GTK+ frontend for sudo
11
questions
2
votes
0
answers
410
views
How to use GVFS to launch an X program with super user permissions?
I'm trying to port a script to Ubuntu 18.04 that uses gksudo to prompt the user for admin password in order to run a GUI program with the admin permissions.
Now, gksudo has been removed from Ubuntu 18....
3
votes
1
answer
1k
views
"sudo" session behavior in graphical environment
I wrote these two scripts and they are in my $PATH:
gsudo:
#! /bin/bash
sudo -n true &> /dev/null
if [ $? -eq 0 ]
then
sudo "$@"
else
upass=$(zenity --password --title "Enter your ...
0
votes
3
answers
4k
views
Run X applications as another user under Linux
Visiting the old topic of running X applications as another user under Linux, as the solution had always been "to use gksu" to me, but today, when I need it and tried it, it doesn't work.
Following ...
0
votes
1
answer
12k
views
error: XDG_RUNTIME_DIR not set in the environment. Gtk-WARNING **: cannot open display:
I used to open text files with sublime, and for Read-only files, I used to do :
sudo sublime. But now just suddenly the sudo sublime command gives the following error :
(sublime:3931): Gtk-WARNING **:...
0
votes
1
answer
407
views
Root user folder permissions changed in ubuntu 14.04
By executing chown command to give access of /root folder contents for 'test1' user.
After that I am unable to login with my .ppk key - Server refused our key. How can I get back my root user access?
0
votes
1
answer
228
views
How do applications like gksu lock focus when launched?
I am curious how applications like gksu lock screen focus when prompting for a password. I see gksu even has an option "-g", that can disable this behavior.
I am interested in doing something ...
0
votes
1
answer
2k
views
Can't start Sublime Text with gksu
Sublime Text 3 is my primary text editor. I run it as a regular user, but once in a while I need to start is as root to edit some system files. I am used to having edit as root in my context menu on ...
0
votes
1
answer
1k
views
"gksu" doesn't prompt for the root password
I use this terminal emulator x-terminal-emulator and when I run this on a normal non-privileged user
~$ gksu /usr/bin/x-terminal-emulator
an app starts and tells me to choose a password for a new ...
-1
votes
1
answer
2k
views
Option to elevate priveleges in Ubuntu GNOME for file copy
I did a fresh install of Ubuntu 10.04 (GNOME) and I'm just copying over certain files from my backup which is on a Windows computer. The backup includes:
A few scripts in /usr/bin
A number of ...
0
votes
0
answers
556
views
How to add an item to the gnome menu that starts gedit as root?
I right clicked the gnome menu and clicked on "Edit menus"
Then I clicked on "New item".
Type: Application
Name: gedit as root
Command: gksudo gedit
Comment: Launch gedit as root.
When I click it, ...
0
votes
2
answers
832
views
Why gksudo does not exit after it started background process?
I'm trying to run conky with gksudo (to get top amongst all process, not just mine) but I have really strange issue. Despite the fact that conky forks itself and exit immediately, gksudo won't exit at ...