Tagged Questions
25
votes
4answers
2k views
Why is gksu no longer installed by default in 13.04?
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 ...
26
votes
2answers
500 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
126 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?
6
votes
3answers
115 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
90 views
Change system from asking for root to asking for sudo password
I am using a shared computer in which I have root access via sudo but not the root user's password. For some reason gksudo doesn't do the standard protocol of asking for my password (in the sudo ...
0
votes
1answer
272 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
625 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
...
28
votes
3answers
2k 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
235 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
1answer
926 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 ...
4
votes
6answers
2k 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.
...
1
vote
1answer
464 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
2answers
619 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:
...
0
votes
3answers
4k 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
4k 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
1k 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
302 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
2k 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
204 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 ...
6
votes
1answer
647 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
641 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: ...
5
votes
2answers
2k 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
638 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
181 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:
...
13
votes
4answers
2k 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 ...
30
votes
9answers
11k 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!

