LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-11-2003, 10:48 PM   #1
k4zau
Member
 
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99

Rep: Reputation: 15
x refuses to start for root


I haven't loaded X as root in about 2 months. Today I tried to do so, and it seemed to start up as usual, but when the screen went blank, and the "X" cursor appeared, the computer stops. The pointer moves with the mouse, but there is nothing to click on, none of the buttons do anything, and ^C / ^Z don't do anything. I've tried to load it about ten times, and it never finishes loading. One time I was able to hit ^Z just as it started, and got it to stop. There didn't seem to be any unusual messages on the screen. Note that X loads just fine under my normal login.
 
Old 10-12-2003, 02:03 AM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
have you tried looking at the /var/log/XFree86.0.log logfile to see if there maybe any clues as to why this happens?
 
Old 10-12-2003, 02:08 AM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
maybe there's something in root's .xinitrc that can't load.
maybe the window manager has been moved or something.
 
Old 10-12-2003, 01:22 PM   #4
k4zau
Member
 
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99

Original Poster
Rep: Reputation: 15
is root's .xinitrc supposed to be in the root directory? because it's not. is that the "root" of the problem?

I looked at /var/log/XFree86.0.log and there doesn't seem to be anything odd in it.

the thing i don't understand is, that i haven't done anything with root in a long time... nothing should've changed.
 
Old 10-12-2003, 11:10 PM   #5
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
it would be /root/.xinitrc
it may not it exist. it's not necessary.
if there isn't one, then i think /etc/X11/xinit gets used instead.
i can't remember for sure which file gets used if there isn't
a .xinitrc in the users home dir.
copy the .xinitrc from your users home dir to root's dir, and
then try it.
 
Old 10-16-2003, 03:28 PM   #6
k4zau
Member
 
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99

Original Poster
Rep: Reputation: 15
thank you for the help, but the problem mysteriously solved itself. i tried to load it on four or five consecutive boots, with no luck. Then I tried a couple days later, and it worked just fine. ???

thanks again
 
Old 10-16-2003, 09:03 PM   #7
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
i hacked into your machine and fixed it.
 
Old 10-16-2003, 11:06 PM   #8
k4zau
Member
 
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99

Original Poster
Rep: Reputation: 15
so you did, eh?
thanks
 
Old 10-16-2003, 11:31 PM   #9
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
the only kind of computer i could hack into would be one made of wood
 
  


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
cups refuses to start Yalla-One Slackware 2 11-13-2005 03:22 AM
I followed everything correctly but startx refuses to start x, among other problems.. Mr. Hill Debian 10 04-01-2005 10:53 AM
X refuses to work ... [start GUI?] ketchup Linux - Software 3 10-17-2004 10:53 PM
apache refuses to start after hostname change Mux Linux - Software 3 02-01-2004 01:13 AM
telnet refuses logging in as root Racso Linux - Networking 6 07-08-2002 06:47 PM


All times are GMT -5. The time now is 05:16 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration