Linux - NewbieThis 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!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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?
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.