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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
09-27-2009, 12:52 PM
|
#1
|
|
Member
Registered: Nov 2007
Posts: 148
Rep:
|
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...
|
|
|
|
09-27-2009, 12:57 PM
|
#2
|
|
Senior Member
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Rep: 
|
Dunno if this will work try this.
|
|
|
|
09-27-2009, 01:35 PM
|
#3
|
|
Bash Guru
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,704
|
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.
|
|
|
|
09-27-2009, 01:41 PM
|
#4
|
|
Member
Registered: Aug 2009
Distribution: Fedora
Posts: 126
Rep:
|
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
|
|
|
|
09-27-2009, 01:50 PM
|
#5
|
|
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,356
Rep: 
|
Quote:
Originally Posted by David the H.
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
|
|
|
|
09-27-2009, 04:21 PM
|
#6
|
|
Guru
Registered: Aug 2005
Posts: 9,693
|
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.
|
|
|
|
09-27-2009, 08:45 PM
|
#7
|
|
Bash Guru
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,704
|
Quote:
Originally Posted by ronlau9
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.
|
|
|
|
09-27-2009, 10:16 PM
|
#8
|
|
LQ Newbie
Registered: Sep 2009
Posts: 2
Rep:
|
Quote:
Originally Posted by av.dubey
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 =]
|
|
|
|
09-27-2009, 11:55 PM
|
#9
|
|
Guru
Registered: Aug 2005
Posts: 9,693
|
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
|
|
|
|
10-01-2009, 03:57 PM
|
#10
|
|
Member
Registered: Nov 2007
Posts: 148
Original Poster
Rep:
|
thanx a lot to all of you for your support..
i have finally succeded in loggin as root in GUI mode..
thanx again
|
|
|
|
10-01-2009, 06:49 PM
|
#11
|
|
Guru
Registered: Aug 2005
Posts: 9,693
|
that IS your choice , to log in to X as root .
We warned you .
|
|
|
|
10-12-2009, 01:34 AM
|
#12
|
|
Member
Registered: Feb 2007
Location: Washington state, USA
Distribution: Fedora 13, SUSE 11, Ubuntu 10.04, Mandriva 2010, Mint 8
Posts: 333
Rep:
|
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 ?
|
|
|
|
10-12-2009, 02:21 AM
|
#13
|
|
Senior Member
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,115
Rep: 
|
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.
|
|
|
|
10-12-2009, 03:06 AM
|
#14
|
|
Guru
Registered: Aug 2005
Posts: 9,693
|
if you need to run something as root use
" su - " or " su "
Code:
su -
( your root password when asked )
gedit
|
|
|
|
10-12-2009, 03:31 AM
|
#15
|
|
Member
Registered: Feb 2007
Location: Washington state, USA
Distribution: Fedora 13, SUSE 11, Ubuntu 10.04, Mandriva 2010, Mint 8
Posts: 333
Rep:
|
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
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:25 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|