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

Notices


Reply
  Search this Thread
Old 04-23-2007, 04:16 PM   #1
Frank Soranno
Member
 
Registered: Jun 2005
Location: Scranton, Pa. USA
Distribution: Debian
Posts: 230

Rep: Reputation: 30
How to remove /tmp/.X0-lock?


debian:/home/frank# X -configure

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

How do I remove /temp/.XD-lock?
 
Old 04-23-2007, 04:20 PM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
You are not running this under X by any chance?
If you want to configure an X server, it has to not be running!

So either you go to console (ctrl alt f1) and then
/etc/init.d/kdm stop (replace with gdm or xdm depending on what you use)
then X -configure. If it keeps on telling you that this file exist, just rm it:
rm /tmp/.X0-lock

Or

If you want you can start a second X server
X -configure :1
This will launch a second X server on display 1
 
Old 04-23-2007, 04:35 PM   #3
Frank Soranno
Member
 
Registered: Jun 2005
Location: Scranton, Pa. USA
Distribution: Debian
Posts: 230

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by nx5000
You are not running this under X by any chance?
If you want to configure an X server, it has to not be running!

So either you go to console (ctrl alt f1) and then
/etc/init.d/kdm stop (replace with gdm or xdm depending on what you use)
then X -configure. If it keeps on telling you that this file exist, just rm it:
rm /tmp/.X0-lock

Or

If you want you can start a second X server
X -configure :1
This will launch a second X server on display 1
I tried to change resolution from 1280x1024 to 1024x786 in the Configure-KDEesktop but it keeps reverting to 1280x1024, so tried X -configure, now i get this error?
 
Old 04-23-2007, 05:00 PM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Quote:
Originally Posted by Frank Soranno
I tried to change resolution from 1280x1024 to 1024x786 in the Configure-KDEesktop but it keeps reverting to 1280x1024
Never used Configure-KDEesktop. I might try. I usually set once my resolution in xorg configuration and don't change it.
Quote:
so tried X -configure, now i get this error?
Maybe because of what i said 2 post before?
 
  


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
Sarge /tmp/.X0-lock suguru Debian 0 10-11-2004 04:10 PM
Can't read lock file /tmp/.X0-lock squinn Linux - Newbie 3 07-13-2004 03:42 PM
removal of /tmp/.X0-lock nifflerX Linux - Security 2 04-09-2004 11:04 AM
How do you view which mailboxes are locked in sendmail and how do you remove the lock mikeyr Linux - Newbie 7 01-22-2004 03:43 PM
remove /tmp/.X0-lock ??? ragates Linux - Newbie 1 09-22-2003 06:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:44 AM.

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