LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-10-2011, 10:42 PM   #1
schachwizard
Member
 
Registered: Sep 2010
Location: Philly
Distribution: OpenSuse
Posts: 67

Rep: Reputation: 3
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?
 
Old 07-10-2011, 10:50 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
Try installing it:

Code:
sudo apt-get install gksu
You probably will find that it is not yet installed.
 
Old 07-10-2011, 10:56 PM   #3
schachwizard
Member
 
Registered: Sep 2010
Location: Philly
Distribution: OpenSuse
Posts: 67

Original Poster
Rep: Reputation: 3
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?

Last edited by schachwizard; 07-10-2011 at 11:06 PM. Reason: Possible workaround
 
Old 07-11-2011, 06:36 AM   #4
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
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
 
Old 07-11-2011, 10:42 PM   #5
schachwizard
Member
 
Registered: Sep 2010
Location: Philly
Distribution: OpenSuse
Posts: 67

Original Poster
Rep: Reputation: 3
Thank you, that worked perfectly!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
su works but sudo doesn't work. magnum81 Ubuntu 2 04-22-2006 11:52 PM
su to root works sudo doesn't magnum81 Linux - Security 4 04-22-2006 09:29 PM
Permissions in Debian - sudo works, su doesn't (etch/64Studio) greennick Linux - Software 0 09-12-2005 04:04 PM
Recent upgrade requires me to use sudo for gksu joffa Debian 5 07-15-2005 05:33 AM


All times are GMT -5. The time now is 04:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration