My GUI won't start (X11) may be result of power outage
Linux - SoftwareThis 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
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.
My GUI won't start (X11) may be result of power outage
I have had this Slackware 12 system up for a while but have been messing around trying to get a smaller kernel and also think a power outage may have caused this to stop working. I had to switch the startup mode from 4 to 3 so it will finish booting. What happened was I had a power outage and when restarted I ran e2fsck on the root partition by request of the operating system upon booting and when it booted ran it on all other partitions. I did notice it move some things to a lost+found folder. When I try and boot to graphical mode it quits on the X11 desktop manager but if i boot to text display and manually run startx as root I get the following error:
Code:
xauth: creating new authority file /root/.serverauth.3941
xinit: No such file or directory (errno 2): no server "X" in PATH
Use the -- option, or make sure that /usr/bin is in your path and
that "X" is a program or a link to the right type of server
for your display. Possible server names include:
Xorg Common X server for most displays
Xvfb Virtual frame buffer
Xnest X server nested in a window on another X server
Xephyr kdrive-based nested X server
xinit: Server error.
I have verified that /usr/bin is in my path but there is no X in that directory. Would using pkgtool and removing the X11 package and then installing it fix this problem? I am able to log in and get a display from another PC with VNC. What would my best option be to fix this and what else would should I check to see what else I be trying to fix. I would include my Xorg.0.log but it is rather large (2100+ lines) not sure how to do it as a file attachment rather then right in this message. Any help you could shed on this would be greatly appreciated.
It does sounds like something got corrupted in your system when the power went out. The fact that X isn't being found is why I say this. Try reinstalling the X package and see if it works.
I think I have bigger problems. I have run pkgtool remotely and removes the packages fine but when I exit pkgtool I have no prompt (well I have blinking prompt but can't enter commands). Anyone other then me think I should back up important data and do a complete re-install?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.