LinuxQuestions.org
Register a domain and help support LQ
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 09-27-2009, 12:52 PM   #1
av.dubey
Member
 
Registered: Nov 2007
Posts: 148

Rep: Reputation: 15
gui root login in fedora 11


i have installed fedora 11 on my system....i had fedora 8 earlier but since i have shifted to this newer version iam not able to do GUI login as root user...
i googled the solution and got many results telling me to comment this line in /etc/pam.d/gdm

# auth required pam_succeed_if.so user != root quiet

but still iam not able to login as root...
 
Old 09-27-2009, 12:57 PM   #2
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Dunno if this will work try this.
 
Old 09-27-2009, 01:35 PM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946
I know this has been said many times before, but there is really NO reason to run a gui session as root, and good reasons not to. There's nothing you can do in one that can't be done in other, safer ways. Distributions don't disable root gui's just to annoy people, you know.

If you need to run a gui program, you can use gksu or kdesu to launch it, or you can configure your running user's x-server so that root can access it when needed.

If you have any specific needs that these options can't cover, then you should ask about it. I'm sure someone can find a way to do it that doesn't require a root x-session.
 
Old 09-27-2009, 01:41 PM   #4
lhorace
Member
 
Registered: Aug 2009
Distribution: Fedora
Posts: 126

Rep: Reputation: 21
I know this is off-topic, on my old desktop PC at home. When I logged in as ROOT, performance improved, sound enhance in quality. Now we are force to use non-root accounts for good reasons but how come the same performance improvements I enjoyed in a root account aren't ported to a non-root user especially if you are the only one who is using the computer
 
Old 09-27-2009, 01:50 PM   #5
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Quote:
Originally Posted by David the H. View Post
I know this has been said many times before, but there is really NO reason to run a gui session as root, and good reasons not to. There's nothing you can do in one that can't be done in other, safer ways. Distributions don't disable root gui's just to annoy people, you know.

If you need to run a gui program, you can use gksu or kdesu to launch it, or you can configure your running user's x-server so that root can access it when needed.

If you have any specific needs that these options can't cover, then you should ask about it. I'm sure someone can find a way to do it that doesn't require a root x-session.
It only works when you use GNOME
 
Old 09-27-2009, 04:21 PM   #6
John VV
Guru
 
Registered: Aug 2005
Posts: 12,669

Rep: Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683
av.dubey
the root login was disabled in fedora 10 ,11, on up
in fedora 9 there was a WARNING

If you MUST login as root install KDE and use KDM to boot .

but then again there is no real good reason to login as root

one can ( even in Gnome ) run gedit,nautlias, and the rest AS ROOT from the terminal.
 
Old 09-27-2009, 08:45 PM   #7
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946Reputation: 1946
Quote:
Originally Posted by ronlau9 View Post
It only works when you use GNOME
What only works when you use gnome?

Nothing I mentioned is desktop-specific. Sure, gksu is part of gnome and kdesu is part of kde, but neither one requires you to be actually running that desktop when you use it. There are probably also other, similar programs you could use instead. And configuring your x-server to allow root to connect has nothing to do with your DE at all.
 
Old 09-27-2009, 10:16 PM   #8
illushunnz
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Rep: Reputation: 0
Quote:
Originally Posted by av.dubey View Post
i have installed fedora 11 on my system....i had fedora 8 earlier but since i have shifted to this newer version iam not able to do GUI login as root user...
i googled the solution and got many results telling me to comment this line in /etc/pam.d/gdm

# auth required pam_succeed_if.so user != root quiet

but still iam not able to login as root...
Same thing for me... So I Googled more and found that you need to comment out the same line in the file '/etc/pam.d/gdm-password'.

Hope this helps =]
 
Old 09-27-2009, 11:55 PM   #9
John VV
Guru
 
Registered: Aug 2005
Posts: 12,669

Rep: Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683
one can use the fedora "gdm " hack BUT BE WARNED not everything in the root gui WILL WORK , somethings WILL say that " they can NOT be launched as ROOT for those ( like software installation ) you WILL need to logout and log back in AS A NORMAL USER and use " su -" in the terminal .This is Gnome only and dose not apply to KDE
 
Old 10-01-2009, 03:57 PM   #10
av.dubey
Member
 
Registered: Nov 2007
Posts: 148

Original Poster
Rep: Reputation: 15
thanx a lot to all of you for your support..
i have finally succeded in loggin as root in GUI mode..
thanx again
 
Old 10-01-2009, 06:49 PM   #11
John VV
Guru
 
Registered: Aug 2005
Posts: 12,669

Rep: Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683
that IS your choice , to log in to X as root .
We warned you .
 
Old 10-12-2009, 01:34 AM   #12
james2b
Member
 
Registered: Feb 2007
Location: Washington state, USA
Distribution: Fedora 13, SUSE 11, Ubuntu 10.04, Mandriva 2010, Mint 8
Posts: 336

Rep: Reputation: 34
Smile

The gksu does not seem to be included with Fedora 11 gnome desktop, but I found a copy cat called; beesu, which is now available. Is it not needed to enable the root user login to be able to install and use gksu ?
 
Old 10-12-2009, 02:21 AM   #13
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
gksu is in rpmforge repository. You will also need libgksu package (I hope I wrote it correctly).

Yes, you need root access to install gksu, like any other package.
 
Old 10-12-2009, 03:06 AM   #14
John VV
Guru
 
Registered: Aug 2005
Posts: 12,669

Rep: Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683
if you need to run something as root use
" su - " or " su "

Code:
su -
( your root password when asked )
gedit
 
Old 10-12-2009, 03:31 AM   #15
james2b
Member
 
Registered: Feb 2007
Location: Washington state, USA
Distribution: Fedora 13, SUSE 11, Ubuntu 10.04, Mandriva 2010, Mint 8
Posts: 336

Rep: Reputation: 34
Question

But what about to run programs such as the NTFS configuration tool or other such tools, to open them and run as a normal user, so that a person does not need to become root in a terminal just to open these type of applications.? In Fedora 11 gnome, the ntfs cofig tool command is shown as this; "/usr/sbin/ntfs-config-root", and gives a error box when I try to open it up which says; "can't find a graphical authentication program" and to install gksu or to run it as root in a terminal. So for a normal user the command for that ntfs program may be; "gksu ntfs-config" with the directory path included.

Last edited by james2b; 10-12-2009 at 03:36 AM. Reason: add more
 
  


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
Root login for GUI ashwini.naidu Linux - Newbie 5 12-22-2008 04:55 AM
root login to GUI Red Barchetta Linux - Newbie 1 03-19-2007 04:58 AM
Can't login as root in GUI ashutosh mehra Linux - Desktop 3 08-28-2006 06:07 PM
GUI root login? LinuxSeeker Linux - General 6 02-15-2004 09:02 AM
Mandy 9.1 and gui root login??????????? bsm2003 Linux - Distributions 17 05-30-2003 12:23 PM


All times are GMT -5. The time now is 10:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration