Help answer threads with 0 replies.
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 02-25-2009, 07:26 PM   #1
Senior Member
Registered: May 2008
Distribution: Slackware
Posts: 1,033

Rep: Reputation: 69
I cannot get into x server...

I have a toshiba laptop with an amd turion dual core zm80. I have Slackware 12.0 on it. It has an ati graphics card. I setup /etc/inittab to boot to init 4 by default. It's been working great. The computer boots up to the desktop as a normal user, not root. However, sometimes, when the desktop barely boots, I move the mouse cursor and it freezes. I simply do a hard power off by holding the power button, then retry. I noticed that if I don't move the mouse cursor at all until the desktop boots and makes the welcome tune, it works fine. However, the other day, I had to hard power off and then when it restarted slackware got stuck at "starting x11 session manager".

So at LILO I hit TAB and appended init 3. So I log in as root. Then I try startx and I get

Fatal server error:
Cannot open log file "/var/log/Xorg.0.log"

giving up.
xinit: Input/output error (errno 5): unable to connect to X server
xinit: No such process (errno 3): Server error

I tried moving Xorg.0.log.old to Xorg.0.log but I get

mv: accessing 'Xorg.0.log' : Input/output error

Anybody know what's going on? I've tried running

aticonfig -v --initial --output=/etc/X11/xorg.conf

and it runs successfully but makes no change. Any ideas?

Is this a hard drive error? I can still create files on this partition.

Last edited by trist007; 02-25-2009 at 07:36 PM.
Old 02-25-2009, 07:52 PM   #2
Senior Member
Registered: May 2008
Distribution: Slackware
Posts: 1,033

Original Poster
Rep: Reputation: 69
Fixed. I checked out /var/log/dmesg and found that the kernel recommended running e2fsck so I booted up a live distro, made sure the partition was not mounted and ran e2fsck on the partition and fixed all the errors. Works great now. I guess hard powering off can create errors in the partition.

What else can I do when the desktop freezes and nothing else works? How can I reboot?
Old 02-25-2009, 08:11 PM   #3
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,225

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
if a desktop freezes, first try hitting ctl-alt-backspace (not to be confused with ctl-alt-delete) to restart the x server
if not try hitting ctl-alt-f1 to switch to a text mode login and hitting ctl-alt delete to reboot
alternatively if you have openssh server running and another computer you can try sshing into the machine and issuing the reboot command remotely

Last edited by frieza; 02-25-2009 at 08:13 PM.
Old 02-25-2009, 08:21 PM   #4
Senior Member
Registered: May 2008
Distribution: Slackware
Posts: 1,033

Original Poster
Rep: Reputation: 69
Awesome, thanks tons.


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
How to monitor web server, FTP server, Mail server and database server vodka33us Programming 1 06-16-2008 04:20 AM
best distrubition for nas server and p2p download server and web server geosko Linux - Distributions 8 10-13-2006 09:20 AM
How the DNS-server is connected to work of a web-server and a mail-server? ukrainet Linux - Newbie 2 01-10-2005 09:18 PM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration