LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-08-2004, 04:19 PM   #1
theGuru
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!
theGuru.
 
Old 09-08-2004, 04:45 PM   #2
fenderman11111
Member
 
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, 08:14 PM   #3
theGuru
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.
theGuru.
 
Old 09-09-2004, 08:49 PM   #4
jojotx0
Member
 
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, 05:26 PM   #5
theGuru
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Original Poster
Rep: Reputation: 0
yes

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
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 07:35 AM.

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