LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 08-25-2004, 05:07 AM   #1
LinuxRam
Member
 
Registered: Jul 2004
Distribution: Red Hat 9, Mandrake 9.2
Posts: 211

Rep: Reputation: 30
Can't loogin as root in X


I am not able switch from a normal user to root in X.

but i can login to root in Virtual Console(Ctrl+Alt+F1...)

I am using Red Hat 8.0


How can i loging to root in X ???

Last edited by LinuxRam; 08-26-2004 at 02:20 AM.
 
Old 08-25-2004, 05:38 AM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
ctrl-alt-F2/3/4/5/6 etc

Login as root

startx -- :4

you need to specify and unused display to start x on. In that instance, I picked 4 because it looks like there's something hanging out of his nose if you turn your head to the side. That's about it.
 
Old 08-25-2004, 06:25 AM   #3
myriad-zero
Member
 
Registered: Aug 2004
Location: /india/tn/chennai
Distribution: Debian
Posts: 38

Rep: Reputation: 15
The reason for that you are not able to login to X as root is that your 'GDM' doesn't allow you to do so. To change this, run 'gdmconfig' in X (do a 'su' to become root) and change the options to allow root to login. Restart your GDM, you are done.

PS: It is not advisble to work as root under normal circumstances.
 
Old 08-26-2004, 02:33 AM   #4
LinuxRam
Member
 
Registered: Jul 2004
Distribution: Red Hat 9, Mandrake 9.2
Posts: 211

Original Poster
Rep: Reputation: 30
Quote:
ctrl-alt-F2/3/4/5/6 etc

Login as root

startx -- :4

you need to specify and unused display to start x on. In that instance, I picked 4 because it looks like there's something hanging out of his nose if you turn your head to the side. That's about it.
Could you plz expain it more precisely.

Quote:
To change this, run 'gdmconfig' in X (do a 'su' to become root) and change the options to allow root to login. Restart your GDM, you are done.
how can i run "gdmconfig" in x as i am not able to log in as a root.
 
  


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
RHEL3 Mounting USB after reboot and between reboots: root and non-root users Luis Nunes Linux - Hardware 0 07-20-2005 09:32 AM
Boot Error: Root file system /dev/root adtomar Linux - Networking 0 12-27-2004 11:50 AM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 05:14 PM
root files: create as root:root or root:wheel? pcass Linux - Security 1 02-07-2004 05:14 PM
cant resize root thru rescue, auto mounts root dir absolutal Linux - Newbie 0 06-18-2003 04:06 PM


All times are GMT -5. The time now is 02:06 PM.

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