Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 09-07-2007, 08:37 AM   #1
Registered: Jun 2007
Location: India
Distribution: Redhat
Posts: 137

Rep: Reputation: 15
Root Login Problem

Dear all,

In my Linux Pc i can't able to login as root in my x . i can able to login in run level 3. When i am enter username & password in GUI it show like login then comeback to the same login screen. As any other normal user i can able to login. Can someone help me.
Old 09-07-2007, 09:12 AM   #2
Senior Member
Registered: Mar 2004
Location: england
Distribution: Debian, Mint, Puppy, Raspbian
Posts: 3,421

Rep: Reputation: 200Reputation: 200Reputation: 200
what distro?

perhaps it's console root only

what if you open an xterm and
su -

you should really avoid doing this anyway.
just open an xterm and su when you need root access
Old 09-07-2007, 09:14 AM   #3
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Most GUIs are set to disable root logins. (It's a really bad idea to do root work from a GUI, since a GUI runs many "hidden" processes, and -- potentially -- giving root access to those processes coul cause reall harm to your system.)

So, what you're describing is a feature, and should not be considered a problem.

The login-by-root prohibition can be removed. (It's an option on the login settings screen of KDE, for example.) But you should really seriously reconsider logging on as "root" into any GUI.

And, if you do need a GUI as "root," never access the Internet (or any other network) while running as "root."

If I were you, I'd leave the settings as they are now, and -- when I needed a GUI as "root" -- I'd log in at run level 3 and use the startx script to start an X session for me.


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
Problem with root login ! eeeboy Ubuntu 10 05-18-2007 03:39 PM
Problem with root login ibshar Linux - Newbie 2 09-26-2006 05:55 AM
Root Login Problem ... boborano Linux - Security 6 08-16-2006 01:48 AM
login root problem khebs Linux - Security 1 08-30-2005 02:10 PM
Problem Login As Root, Help!!!!! abulafiar Linux - Newbie 4 08-15-2004 02:54 PM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 11:49 PM.

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