0
votes
1answer
39 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
1answer
201 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
0answers
220 views

Root commands don't work for matlab ./install (gksu, gksudo, dkesudo)

somehow I can’t launch ./install with root. I mounted matlab2013 with Furius. If I execute ./install, when installer fails to install in /usr/local/matlab folder. I tried sudo ,gksudo, gksu and ...
0
votes
0answers
70 views

How to make the graphical sudo offer a username option?

When logged in as an unprivileged user, without sudo permissions, choosing an option like "System -> Software Sources" produces a dialogue that asks the user for their password. Since the user is not ...
30
votes
2answers
2k 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
473 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?
8
votes
3answers
291 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
1answer
334 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 ...
35
votes
3answers
4k 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
290 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 ...
1
vote
2answers
2k 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 ...
7
votes
6answers
8k views

How can I run an application with a GUI as super user from a normal user session?

I defined 2 users: one with admin privilege (lets call it admin) with sudo right. a 2nd one without any privilege (lets call it normaluser) and I configure the autologin on this 2nd user normaluser. ...
5
votes
1answer
7k 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
3answers
1k 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: ...
1
vote
3answers
9k 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 ...
2
votes
3answers
7k 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: ...
0
votes
2answers
2k views

Allow “root” program to run without privileges

I've changed my ctrl-alt-l shortcut so instead of just locking the screen, the system goes into suspend. (for reference, the command is gksudo pm-suspend-hybrid) as you can see, the program needs to ...
1
vote
1answer
385 views

I can't do “sudo”

Let's describe it from the beginning: I was planning to re-enable the password requirement in LightDM for security reasons. But, since my PC's been sluggish these times, it FC'd the password setup ...
3
votes
2answers
4k views

How to copy a directory from your home to a system wide one

I want to use the file manager to copy a directory from my Desktop to the /opt directory. When I run gksudo nautilus, I do not see anything in the Desktop directory. If I open Nautilus normally from ...
0
votes
2answers
221 views

How do I switch default root authorization app?

Somehow I've messed everything up and when I open a program like time-admin and click "Click to make changes", it uses a Qt / KDE style interface rather than the Gtk style. Running gksudo ...
7
votes
1answer
1k views

Why should I use gksudo for Gtk apps instead of sudo?

I read somewhere that people should use gksudo for applications that use the Gtk GUI instead of sudo? What's the reasoning for this?
4
votes
2answers
817 views

Unable to launch nautilus with sudo [closed]

When I run Nautilus with sudo, gksudo or Alt+F2, I get this error message: Initializing nautilus-gdu extension ** (nautilus:2352): WARNING **: Failed to get the current CK session: ...
6
votes
2answers
4k 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
829 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 ...
2
votes
0answers
185 views

What's the difference between sudo and gksudo when launching graphical applications? [duplicate]

Possible Duplicate: What is the difference between “gksudo nautilus” and “sudo nautilus”? It is common to see in instructions, the terminal command to edit a file: ...
16
votes
4answers
5k views

Is the difference between sudo and gksu the same as the difference between sudo -i and sudo -s?

Is the difference between sudo cmd and gksu cmd, the same as the difference between starting a shell with sudo -i and sudo -s? ... or put another way, Is sudo cmd the same as sudo -i cmd and gksu ...
44
votes
9answers
19k 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!