LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 02-05-2003, 05:13 PM   #1
kpurvis
LQ Newbie
 
Registered: Feb 2003
Posts: 3

Rep: Reputation: 0
Question startx


My startx wont work.
This is the error msg that I get:

Fatal Server error:
Server is already active for display 0

If this server is no longer running, remove /tmp/.X0-lock and start again.

Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
giving up
xinit: unable to connect to X server
xinit: No such process (errno 3): Server error.
 
Old 02-05-2003, 05:31 PM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
read it:
"If this server is no longer running, remove /tmp/.X0-lock and start again."
and do it!
 
Old 02-05-2003, 07:46 PM   #3
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
or maybe the...
"Server is already active for display 0"
try ALT-F7 if that's the case.
 
Old 02-06-2003, 07:41 AM   #4
kpurvis
LQ Newbie
 
Registered: Feb 2003
Posts: 3

Original Poster
Rep: Reputation: 0
I have already re-started the server a couple of times.
 
Old 02-06-2003, 07:44 AM   #5
kpurvis
LQ Newbie
 
Registered: Feb 2003
Posts: 3

Original Poster
Rep: Reputation: 0
I don't know where to find /tmp/.X0-lock is. I have looked in the /tmp directory under root, but there is not anything in there to remove.
 
Old 02-06-2003, 01:41 PM   #6
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
rather impossible, try 'ls -a /tmp/'
 
Old 02-06-2003, 06:48 PM   #7
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Do ALT+F7 first to verify you have no X running already. If not, then

su -
password:

cd /tmp
ls -a


This should list all files including the hidden ones (the ones that start with a "."). If it shows too many files and you can't view the top files, then hold down SHIFT and press your PAGE UP key to scroll (use SHIFT+PAGE DOWN to scroll down). If you see the file named ".X0-lock" then issue the following command:

rm -rf .X0-lock

This will not confirm that it has been deleted but it will be deleted. If you want to make sure that it's gone, you can do another "ls -a" or you can issue the option for rm that will ask you before you delete it (man rm for more info). Let us know how it works.
 
  


Reply


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
WHY should I type startx twice to startx? hiux Debian 6 09-09-2005 10:12 AM
startx doesn't startx for user vdemuth Mandriva 10 11-08-2004 08:41 PM
Bug / Xwindows / startx : xinit works but startx crash www.rzr.free.fr Linux - Software 4 10-17-2004 09:06 AM
startx vs startx -- :2 (font dimension is different!!) moly82 Linux - General 7 09-15-2003 01:11 PM
Can not startx ol' digital Linux - Newbie 3 02-06-2003 05:47 PM


All times are GMT -5. The time now is 12:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration