Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 09-08-2004, 03:19 PM   #1
LQ Newbie
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
Unhappy XServer problems for ROOT !!

Hello everyone,

Newbie to Linux here. I have Redhat 9.1 installed on my computer. It was working fine till I installed " keychain-2.3.5", a software to enable me ssh to other machines using my system public key rather than asking for my password.

The problem is, when I login as root and try to start the XServer, it gives me

"XIO: Fatal IO error 104 Connection reset by peer on X Server ":0.0" after 0 requests (0 known processed) with 0 events remaining"

startx seems to work for all others users to that computer. Does any one have any idea ! I am puzzled cuz the all powerful root cannot get in whereas others can !

Thank you!
Old 09-08-2004, 03:45 PM   #2
Registered: Jun 2004
Location: Denton
Distribution: debian, freebsd
Posts: 121

Rep: Reputation: 15
solution: don't run xfree as root... number one unix nono is to use root as your normal system account. (trust me I learned it the hard way when I accidentally did rm -rf /home/* back in my n00b days)

You should make yourself a normal user account and only use root when you need to change something (via sudo or su, etc).
Old 09-09-2004, 07:14 PM   #3
LQ Newbie
Registered: Sep 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Wouldn't do that...still

Hey ...

Thank you for the word of caution. I won't do it... but still would like to know what
could be done to get my X Server up and running in the root account. I don't login as root
for daily usage but I am a n00b and makes life a lot simpler with the GUI when I wanna
install something or so.

Thank you guys.
Old 09-09-2004, 07:49 PM   #4
Registered: Mar 2004
Distribution: Debian Lenny
Posts: 181

Rep: Reputation: 30
have you tried going into init 3 (text mode) and logging in as root, and then starting XServer?
Old 09-11-2004, 04:26 PM   #5
LQ Newbie
Registered: Sep 2004
Posts: 3

Original Poster
Rep: Reputation: 0

yes... my initlevel is set to 3 so everytime I bootup, I don't start X Server directly. Still doesn't work
Works for other users though


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
xserver problems quentusrex Debian 29 08-13-2004 09:19 PM
Remote login with root from XServer(SUSE 9.0) Hasegagwa Linux - Networking 11 06-25-2004 01:04 AM
XServer only works for ROOT... klatu Slackware 7 06-23-2004 11:26 PM
Xserver under root velan Debian 1 04-19-2004 03:39 AM
problems with xserver CMDR_PAIN Linux - Newbie 4 08-25-2003 07:18 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:45 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
Open Source Consulting | Domain Registration