LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Sudo works, gksu doesn't (https://www.linuxquestions.org/questions/linux-newbie-8/sudo-works-gksu-doesnt-891002/)

schachwizard 07-10-2011 09:42 PM

Sudo works, gksu doesn't
 
I've just installed Lubuntu through an Ubuntu minimal install. It works great (with a few problems, such as restarts not working, but not a huge problem) until I tried to access Synaptic. I had been installing stuff through the terminal, and therefore using sudo, but when I tried to use Synaptic, it said my password was wrong. I can still access Synaptic by doing "sudo bash", then launching synaptic, but I'd much rather be able to do it through a GUI. Any ideas why this is happening?

andrewthomas 07-10-2011 09:50 PM

Try installing it:

Code:

sudo apt-get install gksu
You probably will find that it is not yet installed.

schachwizard 07-10-2011 09:56 PM

No, it says that gksu is already installed. And it still doesn't work, even after a restart (I tried a lot of stuff).

Well, "gksudo", but not "gksu" works. Is there a benefit to keep on trying to use gksu as opposed to gksudo?

MTK358 07-11-2011 05:36 AM

With gksu, you use the root password (not the user passowrd). By default, the root password is set to something random to prevent newbies from logging into the GUI as root. If you know better, just run this to set root's password:

Code:

sudo passwd

schachwizard 07-11-2011 09:42 PM

Thank you, that worked perfectly!


All times are GMT -5. The time now is 01:52 PM.