LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   My GUI won't start (X11) may be result of power outage (https://www.linuxquestions.org/questions/linux-software-2/my-gui-wont-start-x11-may-be-result-of-power-outage-629456/)

KrazyKanuk 03-20-2008 09:25 AM

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.

forrestt 03-20-2008 09:43 AM

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.

Forrest

KrazyKanuk 03-20-2008 11:14 AM

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?

forrestt 03-20-2008 11:25 AM

I think you should back up important data and do a complete re-install.

Forrest


All times are GMT -5. The time now is 02:23 AM.