LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices


Reply
  Search this Thread
Old 08-12-2007, 05:04 PM   #1
donbabe
LQ Newbie
 
Registered: Nov 2006
Posts: 9

Rep: Reputation: 0
X won't start in FC6


The X window is not starting in FC6 and it comes up with an error that there is a lock file (/tmp/.X0-lock) that needs to be removed before startx will work. I can remove the file and startx then works but then I can not shut the computer down from X and the shutdown command does not work from the system prompt.
Why does the lock file exist if X is not running?
Any help greatly appreciated.
 
Old 08-14-2007, 02:42 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
I believe the lock file is created once X starts, so that you can't start two X servers on top of each othre (hence the zero in the lock filename I think). That lock is there as long as X is running, and should be removed when X is shut down. This is how lockfiles are usually used. If you brutally force X to close so that it doesn't have an opportunity to remove the lockfile, the file is not removed. I'm not sure why it doesn't get deleted during reboot. Anyway, you should inspect what's wrong with the shutdown command; if you have X running, press CTRL+ALT+F1 (for example) to get into a console, log in (as root for a test) and issue shutdown from /sbin/, what does it do?

Maybe Xorg's logfile in /var/log/ has more information about what's wrong..
 
Old 08-14-2007, 03:14 PM   #3
donbabe
LQ Newbie
 
Registered: Nov 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Found the answer

Thanks for your help, I found the answer. It is a bug and X starts but not on the screen that is visible. Pressing Alt+Ctrl+F7 gets me to the screen that has X running. I will get the updates that fix the bug and all should be sweet.
 
  


Reply



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 does my FC6 start-up so slowly? tzpyyd Linux - Newbie 2 05-29-2007 08:16 PM
Cannot start GUI in FC6 S.V. Fedora 16 04-20-2007 02:25 PM
FC6 start slowly? navy319510 Fedora 4 04-14-2007 02:47 AM
mysqld does not start (FC6) prabhatsoni Linux - Software 2 01-10-2007 03:14 AM
X does not start on FC6 prabhatsoni Linux - Software 6 12-20-2006 12:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation

All times are GMT -5. The time now is 10:25 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
Open Source Consulting | Domain Registration