Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-19-2003, 04:20 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
X problems logging in as root

I recently changed window managers from metacity to sawfish (and I'm very happy I did). I'm running Red Hat 9, and for some reason RH likes metacity over sawfish.

Anyways, I'm something of a linux newbie, and I had a random linux guru from around the dorm (I'm a college student) help me kill metacity. We finally figured out how to kill metacity and start sawfish - for those interested parties, metacity was set to automatically re-start in the session panel, so we stopped the auto-restart feature, set sawfish to start after 15 seconds, and then killed metacity.

The problem I'm having is that we edited/created about four or five files trying to fix the issue, and now when I log in as root the login sorta-freezes when Sawfish starts up. In other words, I get the screen with "Red Hat" after typing in the user name and password, and the little window manager icon and the text "Sawfish Window Manager" stay on the screen for a long time. I can ctrl+alt+backspace back to the login, and login as a normal user just fine, but I can't login as root. I can also su to root, so I'm not too concerned about fixing the issue, but it would be nice if I could login as root.

Thank you much!

Matt Fishburn
Old 09-19-2003, 04:28 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 245Reputation: 245Reputation: 245
Personally, I wouldn't recommend logging in as root into X. When root is needed, just keep su 'ing to root.

Logging into X is broadcasted on port 6000, logging in as root just a bad idea all round, even just at a console. Sometimes its even good security to setup sudo to perform certain tasks. If this is a desktop machine, not a server and mainly you just use it, you should be able to set it up so you never need to be root.

man sudo for more details.

Sorry didn't have an answer specifically for your problem. You could try removing any files associated with X in your /root directory, maybe its freezing cause its trying to load up with metacity.



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
Logging in as root + other problems! Enfer Singe Linux - Newbie 8 07-31-2004 03:39 PM
Problems logging in as root user mdk 9.1 czechknight93 Mandriva 2 03-20-2004 12:53 AM
Logging on as Root Iain Wilson Linux - Newbie 7 09-16-2003 02:23 AM
logging in as root and configuration problems tcastle Linux - General 3 06-22-2003 03:37 AM
using red-carpet without logging out and logging as root. packman Linux - Software 1 12-09-2002 02:55 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:55 AM.

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