LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   startx (https://www.linuxquestions.org/questions/linux-newbie-8/startx-623184/)

FowlProgrammer 02-22-2008 08:27 PM

startx
 
I typed startx and this is what i got

xauth: creating new authority file /root/.serverauth.3040


Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.

Invalid MIT-MAGIC-COOKIE-1 keygiving up.
xinit: Resource temporarily unavailable (errno 11): unable to connect to X server
xinit: No such process (errno 3): Server error.

slakmagik 02-22-2008 08:34 PM

If a display is running, hit 'ctrl-alt-f[number]' to find and exit from it. If not, and the file exists, do what it says: remove /tmp/.X0-lock. If not that, report back.

When asking for help, always say what you've actually done to attempt to solve the problem yourself and what the results were.

FowlProgrammer 02-22-2008 09:28 PM

/tmp/.X0-lock
 
what does " /tmp/.X0-lock " do?

slakmagik 02-22-2008 09:36 PM

Searching the web will provide you with most of your answers before you even need to ask here.


.X0-lock


You shouldn't really start a new thread for this, since it's a direct followup to your other thread.

bmarx 02-22-2008 11:24 PM

Is X already running? Try executing "ps aux|grep X" This should show you the processes that are running and grep the output for X.


All times are GMT -5. The time now is 06:59 PM.