LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 01-09-2006, 01:10 AM   #1
kklim
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Rep: Reputation: 0
error message after editing config file


Dear all,
I'm totally new to Linux and have a pc in my office installed with Linux and we just changed the old monitor with a new LCD one.

After the startx command, the monitor screen goes blank and the adjustment buttons(brightness,contrats,etc)started to flicker.

That is when i came across this site and someone has posted a similar problem. The recommended solution was to edit the configuration file to match the monitor setting.I did that and now when i startx from the shell, the following error message is shown: -

'server already active in display 0'

It seems that the server now cannot be started.

Unfortunately i didn't make a backup copy of the original config file (stupid of me, i know), but is there a solution for this? Do i have to re-install Linux again with the new monitor plugged in?

Thank you very much for your help.
 
Old 01-09-2006, 01:35 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Hi, and welcome to LQ!

You shouldn't have to re-install, that's for sure.

Depending on which distribution you have installed there
may be several varied solutions to your problem.

As for the "already running": you'll have to manually kill
the X-server (potentially also kdm,gdm or whichever login
manager your distro uses).


Cheers,
Tink
 
Old 01-09-2006, 02:46 AM   #3
kklim
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Hi Trickster,
Thanks for your reply.

I have Linux Suse 10 installed in the pc.

Ok, i have tried removing the .X0-lock file and the server starts ok, but still with the blank screen problem.

So, i re-boot the pc and startx again. But again, this time the 'server already active in display 0' error came up again.

Does this mean i have to manually kill the .X0-lock file everytime i startx now? Because prior to editing the config file, the 'server already active...' error was not there.

on the issue of blank screen, i have tried what was recommended, i.e. looking at the XFree86.0.log and editing the config file based on it.still it didn't work. any other way to go round it?

so, it seems i now have 2 issues at hand. the manual kill and the blank screen. sigh.

thanks again, much appreciated.
 
Old 01-09-2006, 02:47 AM   #4
kklim
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Original Poster
Rep: Reputation: 0
sorry, it's tinkster. not trickster.

my bad.
 
Old 01-09-2006, 12:26 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Quote:
Originally Posted by kklim
Hi Trickster,
Thanks for your reply.

I have Linux Suse 10 installed in the pc.

Ok, i have tried removing the .X0-lock file and the server starts ok, but still with the blank screen problem.

So, i re-boot the pc and startx again. But again, this time the 'server already active in display 0' error came up again.

Does this mean i have to manually kill the .X0-lock file everytime i startx now? Because prior to editing the config file, the 'server already active...' error was not there.

on the issue of blank screen, i have tried what was recommended, i.e. looking at the XFree86.0.log and editing the config file based on it.still it didn't work. any other way to go round it?

so, it seems i now have 2 issues at hand. the manual kill and the blank screen. sigh.

thanks again, much appreciated.
Removal of the lock is not quite what I meant; I was
thinking along the lines of
skill -9 X kdm kdm_greet
(or gdm or xdm) ... the blank screen means that X is actually
running but that the frequency it's using isn't suitable for the
LCD monitor.

Since you're running SuSE I'd suggest you become root, type
init 1 and once you're in that run-level start sax2 (SuSEs X
configuration tool).


Cheers,
Tink
 
Old 01-10-2006, 07:34 PM   #6
kklim
LQ Newbie
 
Registered: Jan 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Hey Tinkster,
I followed your suggestion and it's working fine now!

Thanks a million.

cheers!
 
Old 01-10-2006, 08:09 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
:}

Most welcome!
 
  


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
editing the kernel config file slzckboy Linux - General 4 09-24-2005 02:48 PM
manually editing firewall config file student04 Linux - Networking 3 09-03-2004 01:03 PM
redhat8, changed hostname by editing config file, X no longer recognizes it infamous41md Linux - Newbie 2 03-31-2004 01:20 AM
Booting to VGA or text mode without editing config file mattman1081 Linux - Newbie 6 02-10-2004 09:36 PM
editing wine config file.... Shantesh Linux - Software 1 09-14-2003 07:59 AM


All times are GMT -5. The time now is 04:41 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration