gksu is a GTK+ frontend to su and sudo

learn more… | top users | synonyms

2
votes
1answer
50 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
0answers
12 views

When running program with gksu, stdin does not work

If I make a bash file named inputtooutput: #!/bin/bash while true do read var echo $var done And then I execute it with bash inputtooutput, I can type anything I want and hit enter and it will be ...
0
votes
1answer
51 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 ...
0
votes
0answers
59 views

Unable to run custom Launcher entry which should run app as root

I'm trying to add an option to my Launcher which would open the application as root. My /usr/share/applications/sublime-text.desktop entry looks like this: [Desktop Entry] Version=1.0 ...
1
vote
1answer
378 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 ...
10
votes
7answers
15k 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 ...
38
votes
2answers
4k 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 ...
41
votes
3answers
11k views

What is the difference between gksudo and gksu?

Is there any difference between the behavior of gksu foo and gksudo foo? Can they be used interchangeably?
0
votes
1answer
254 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
193 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 ...
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 ...
2
votes
1answer
303 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 ...
8
votes
1answer
3k views

getting Gtk-WARNING while using gksu

while using gksu i get Gtk warning, for example: $ gksu gedit /etc/fstab (gksu:2792): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap", (gksu:2792): Gtk-WARNING **: Unable to ...
1
vote
1answer
101 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
0answers
142 views

gksu nautilus closing when opened properties of a folder

I did gksu nautilus, went to /var/lib/tomcat7/webapps. When I open properties to see it crashes with this error. deepen@deepen91:~$ gksudo nautilus Nautilus-Share-Message: Called "net usershare ...
0
votes
1answer
72 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
117 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?
53
votes
8answers
25k views

What is the difference between “gksudo nautilus” and “sudo nautilus”?

I've been using gksudo nautilus and sudo nautilus through Alt+F2. What's the difference? They look very similar!
1
vote
3answers
13k views

Cannot authenticate without a password

The problem can be reproduced as follows: When I remove the password of an administrator account, "Log In without Password", I cannot use that account to authenticate. When I do something that ...
0
votes
1answer
703 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
781 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
892 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 ...
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 ...
0
votes
2answers
3k 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
3answers
2k views

I cannot start graphical apps as root

I used to be able to do so, but something as simple as this fails now: gksudo gedit and this also fails: sudo gedit I receive the error: Cannot open display. I haved checked this: ...
36
votes
3answers
5k views

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

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

Many process named “su-to-root” appeared on my system monitor, is my computer owned?

Two process named gksu and two process named su-to-root appeared on my system monitor, is my computer owned? How can I be sure, and if this true, how can I rip out the intruder without full system ...
2
votes
2answers
236 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 ...
5
votes
2answers
897 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 ...
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 ...
6
votes
2answers
5k views

Password not working in Graphical Applications (gksu)? Works with sudo

I am having a problem where when I try to run say GParted, when I am prompted for a password, it says "Incorrect Password" But when I enter the same password using terminal sudo gparted for example, ...
1
vote
1answer
412 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 ...
10
votes
3answers
458 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 ...
0
votes
0answers
40 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?
2
votes
3answers
9k views

'sudo' not working after changing the permissions of '/usr' directory

Recently I had to change the folder permissions of /usr folder. Now the whole sudo is not working. If I try to update my system using this command: sudo apt-get update I get the following message: ...
6
votes
3answers
3k views

gksudo with cool GNOME Shell integration

What's the command for executing this "gksudo" (or whatever it is) window from Alt+F2?
0
votes
1answer
504 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
3answers
651 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?
2
votes
2answers
678 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 ...
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
365 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
1k 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 ...
2
votes
1answer
311 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
453 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
236 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 ...
3
votes
2answers
1k views

How to change desktop settings back after using gksudo nautilus?

When I use gksudo nautilus to browse folders that are owned by root, my Ubuntu desktop returns to some kind of default setting - changing my wallpaper and displaying desktop icons (which I don't ...
1
vote
2answers
3k views

How do I edit a 'read only' file in 12.04 Desktop?

I want to edit a file in 12.04 desktop. Previously (in Lucid) I could right click, select 'open with', and type in 'gksudo gedit' - which was then added to the list of available 'open with' programs. ...
8
votes
1answer
17k views

difference between gksudo and sudo? [duplicate]

Possible Duplicate: What is the difference between “gksudo nautilus” and “sudo nautilus”? I have tiny script that I want it to run on start-up, but it needs sudo ...
1
vote
1answer
964 views

How to run a command with no-tty access, to run in admin privileges?

I would like to execute a command with administrative privileges, but do not have an access to the tty. I tried to execute it with the -A option of the sudo command and setting the environment ...
0
votes
1answer
101 views

About root privilages for my application

Hello I am going to make certain application which requires root privileges to run. I am using quickly for that application. How to use sudo , gksudo or anything else for that application to run?