gksu is a GTK+ frontend to su and sudo

learn more… | top users | synonyms

0
votes
2answers
26 views

How to access root-folder with Thunar? [duplicate]

I would like to access root-folder with Thunar but the system won't let me, even if I have setup a root in a terminal window. What's the way to access the root-folder (with write access) in Thunar ...
0
votes
0answers
5 views

Password Request gone after installing gksu

After installing gksu many programs don't ask for password anymore and thus don't work as intendet. (Ubuntu 14.04 LTS) Examples: usb-creator-gtk starts up and writes image but unable to modify ...
0
votes
1answer
37 views

I tried installing gksu but getting the following error.Someone help me to fix this [duplicate]

sudo apt-get install gksu Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package gksu
0
votes
0answers
50 views

Error message runnin gksu software-center “Failed to load module canberra-gtk-module”

When I run gksu software-center, my terminal spits out this mess: Gtk-Message: Failed to load module "canberra-gtk-module" 2015-11-28 17:36:36,919 - root - WARNING - failed to init network state ...
1
vote
2answers
77 views

How to run a python script as sudo by double-clicking it?

Simply put, how can I do this, providing a graphical prompt? I tried creating a separate bash script that when opened, ran the Python script with super-user permissions - I used gksu -u root ...
0
votes
0answers
23 views

When do I use gksu? [duplicate]

In general, I thought that I was suppose to use gksu when starting a graphical (or GUI) application in the terminal that required admin (or root) privileges. But after reading a large number of ...
0
votes
1answer
246 views

`sudo`, `gksu` and `gksudo` without password

In Fedora, I am surprised that if my administrator account does not have a password, sudo, gksu and gksudo won't prompt me for one! (it is not caused by /etc/sudoers). In Ubuntu, they will ask me for ...
0
votes
1answer
2k views

(nautilus:13581): Gtk-WARNING **: cannot open display:

Just installed gksu to use gksu nautilus. When running this command the output after entering password is (nautilus:13581): Gtk-WARNING **: cannot open display: Not sure what caused this but i ...
0
votes
1answer
744 views

Can't install gksu. Says it can't find it

Can't install gksu every time I put in the command to install I get the same thing unable to locate package gksu any ideas
1
vote
0answers
33 views

gksudo nautilus isn't exiting after closing the window

As for graphical things with high privileges, gksudo and gksu are much more convenient than sudo and su gksudo nautilus But when i use this command and after closing the opened window the terminal ...
1
vote
1answer
44 views

Is it bad practice to use gksu when writing code in development?

I am writing a C++ application that needs to access the serial port and use the mount command, both needing root to be performed. In the end the application will be run as root on a device, but I am ...
1
vote
2answers
2k views

Cant install UpWork Team app on Ubuntu 15.04

I tried to install the UpWork Team app on Ubuntu 15.04 (64-bit) but have problem with dependencies. This deb package ask me to install: gksu, libgcrypt11 (>= 1.4.5) and libgnutls26 (>= ...
0
votes
1answer
120 views

Can't open file to disable splash screen

I'm on Xubuntu 15.04 32 bit if that means anything. It's a fresh install. I'm trying to disable the splash screen. (There actually doesn't seem to be any. It's a black screen from boot until I get to ...
4
votes
1answer
15k views

gksu: Gtk-WARNING **: cannot open display: :0

All of the sudden gksu stopped working for me: ~$ gksu gparted (gpartedbin:24252): Gtk-WARNING **: cannot open display: :0 The same happens with gparted-pkexec: ~$ gparted-pkexec No protocol ...
1
vote
1answer
133 views

Gparted, Gedit doesn't open with the gksu command [Xubuntu]

I'm not able to start software as GParted, GEdit with the gksu command (neither the sudo). I see commands in the task manager start, but disappear before to have a result. So, have you any clue to ...
3
votes
0answers
16 views

How to run applications as root using gksu alternative [duplicate]

When I run applications like Synaptic or Gparted, I'm prompted by the lovely screen on the left, to enter my admin password. I think this has something to do with pkexec. But when I run applications ...
0
votes
1answer
101 views

Make gksu ask for password in terminal

If I needed to run a graphical command as root, I would use: username@HENRY-PC:~$ sudo gedit [sudo] password for username: But this is apparently discouraged, because any files created for the ...
1
vote
1answer
96 views

gksu firefox & password

I have a launcher with gksu -u someuser firefox Why does this launcher require root password instead of the password of the currently logged-in user. The password window has the following message: ...
2
votes
1answer
72 views

Gedit launches with Save & Save As disabled unless launched as root

Whether I launch gedit from a terminal or from the GUI, the Save and Save As menu items are ghosted as soon as gedit opens. I can't even start with a blank editor, type something, and then Save As ...
0
votes
1answer
285 views

gedit and gksu a file

I tried to edit a php file using gedit and sudo gksu I got following error message using gedit mytext.php. gedit mytext.php (gedit:2644): Gtk-WARNING **: GtkScrolledWindow 0x17d4880 is mapped but ...
2
votes
1answer
4k views

How can I make Sublime Text 3 run as root from Unity?

I know I am not root because I cannot browse packages. First, I am aware of this page, but it is not working for me. After following those instruction, I get the prompt when I open Sublime from ...
0
votes
1answer
2k views

Can't get nautilus to go sudo with gksu [duplicate]

I was recently reading some linux articles and stumbled on a faster way to do sudo tasks the gui way by installing a package called gksu-nautilus which allows me perform tasks with root permissions ...
6
votes
1answer
218 views

How do I safely run a graphical application as a normal user while root?

We often talk about using gksu, sudo -i and pkexec to run things as root while a normal user but I'm facing the opposite problem today. The script I'm using is running as root. I need it to start a ...
3
votes
1answer
916 views

What is .gksu.lock file

I have been searching for knowing what exactly is /home/user/.gksu.lock. But I didn't find any exact answer. So what I want to know is What does the file do? If I remove or edited the file,does it ...
1
vote
1answer
197 views

How to access root folder?

I just did a data recovery of a very important file, and it is saved in root folder automatically, and I can't access root folder even from gksu nautilus it gives this dialog: You do not have ...
0
votes
1answer
87 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 ...
0
votes
2answers
155 views

Gksu Naulitus is not working [closed]

I am using ubuntu 12.04. I wanted to change permissions of a file so i typed gksu naulitus. it asked my password andstl i entered it and nothing happened. What should I do?
0
votes
1answer
1k views

Sudo or gksu for launching Sublime text 2?

I am new to using Ubuntu 12.04 and noticed two different ways of launching Sublime Text 2 via Terminal window, first being sudo and the other being gksu. Upon using both I noticed it's launching ...
0
votes
1answer
1k views

gksu is not availabe in ubuntu 13.10

I have recently downloaded Ubuntu 13.10 from its site and updated it. I was going to install peperflash in chromium browser but it asks for gksu. I have run sudo apt-get install gksu but it says ...
2
votes
2answers
301 views

gksu -w doesn't work the way I am used to?

I have used gksu -w shutdown -hP now as a system-wide menu command in icewm, so that when a non-admin user clicked the shutdown from the menu, a password dialogue box will appear asking for the admin ...
1
vote
1answer
497 views

Unable to Mount anything; USB, internal drives; do not have permissions; HELP!

I am using Ubuntu 12.04 LTS on a USB on an HP Pavillion. I posted a problem about removing Thunderbird. I was advised to use GKSU Nautilus to become root, or as I understand it, SUPERUSER. I could ...
6
votes
2answers
1k views

Can I use pkexec in a python script or a .desktop file?

From the following questions Why is gksu no longer installed by default in 13.04? When to use pkexec vs. gksu/gksudo? we see that gksu will no longer be supported in the long term, and it will not ...
0
votes
0answers
41 views

Why isn't gksu in 13.04? [duplicate]

I don't know if this is a bug or it's their decision? but why isn't it installed by default?
67
votes
3answers
56k 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 ...
54
votes
2answers
9k views

Why user should never use normal sudo to start graphical application?

I've read the comunity "RootSudo" documentation and am interested in this line: You should never use normal sudo to start graphical applications as Root. Why? What is the difference? Please ...
2
votes
3answers
953 views

Ways to run Nautilus with elevated privileges [duplicate]

What are the differences between the following ways to run Nautilus with elevated privileges: a) sudo nautilus b) gksu nautilus c) gksudo nautilus Which should I use?
0
votes
1answer
614 views

Problems running Deja Dup with elevated priveleges

As advised by this answer, I'm using gksu deja-dup-preferences and gksu "deja-dup --backup" to backup my data, including files that have root-only permissions on them. Both of the two ways lead ...
2
votes
2answers
1k views

gksu not working in menu mode but works in cli mode

I'm running 12.04, latest updates. when I use gksu in the menu to start a application the prompt for password doesn't appear and the application starts with user priviledges. If I use gksu from ...
10
votes
3answers
817 views

Is there a desktop-neutral gksudo?

There are various tools for various desktops that aim to run a graphical application as root. gksudo, kdesudo, empower, etc... But what if I'm writing a script that could be used on any Linux ...
1
vote
2answers
2k views

sudo apt-get update error ubuntu 12.04

Hi I'm new in Linux and I need your help :) Every time when i type sudo apt-get update it shows: alphaog@alphaog-HP-Pavilion-DV7:~$ sudo apt-get update E: Type 'ain' is not known on line 3 in source ...
0
votes
1answer
833 views

Can't edit with gksudo (Duplicate entry in source.list)

I'm trying to follow this tutorial. And i have followed all the previous tutorials on this site to get where i am now. However now when i tried to install virtualbox i get some errors. First and i ...
0
votes
1answer
383 views

I can't run graphical programs with sudo (Ubuntu 12.10)

If I try to run a program with GUI (e.g. Nautilus) as root, I'm just getting the following output: gksu nautilus Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations ...
0
votes
1answer
2k views

gksu not working

gksu nautilius Running the above or trying to run the nautlius script -'browse as root' gives the following error /home/borax12/.gtkrc-2.0:6: error: scanner: unterminated string constant ...
40
votes
3answers
7k views

What are the differences between sudo, su, visudo, chroot, and gksu?

What are the differences between sudo, su, visudo, chroot, and gksu ?
2
votes
1answer
327 views

/ folder permissions

I've changed / folder owner from root to administrator account. Now no sudo commands are working. It used to show sudoers are in mode 04666 it should b in the mode 04000 Then i did something and it ...
2
votes
1answer
725 views

gksudo 2 commands with one PW entry?

Before upgrading to 12.04 (from 10.04) I used this little launcher script: #!/bin/bash gksudo nautilus /var/www/DFDII & sleep 5; gksudo gedit /var/www/DFDII/iindex.php This script opened ...
3
votes
1answer
383 views

Terminal stops every time a yes/no question appears

I have encountered a problem when using the terminal to install programs. Whenever a yes/no option like the one below appears, not just with this program, but with any I try, the terminal stops after ...
0
votes
2answers
4k views

Ubuntu Dash not showing software results and Software Center freezing / not bringing up gksu prompt

I posted a video to Youtube, and I think the youtube description and/or video (a short desktop recording with me speaking) pretty much sum it up. http://youtu.be/EAnzrE1rqRs [description on video] ...
1
vote
2answers
3k views

How to fix gksu / kdesudo? kdesudo(2831) KDESu::KDESuPrivate::KCookie::getXCookie: No X authentication info set for display “:0”

Command (in terminal): leafpad Result: Leafpad without root rights working fine. What did I do to cause the error? Maybe I accidentally run sudo leafpad Now I am having problems... Neither ...
13
votes
7answers
31k views

How can I run an application with a GUI as admin from a non-admin user session?

I defined 2 user accounts: one with admin privilege (with sudo right) => lets call it adminuser. a 2nd one without any privilege => lets call it normaluser and I configure the autologin on this 2nd ...