LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 08-31-2006, 01:50 PM   #1
baabakb
LQ Newbie
 
Registered: Aug 2006
Location: DC area
Distribution: Suse 10.2 and loving it
Posts: 20

Rep: Reputation: 0
Display 0 error and Resolution problem


As I am a new user, I have been working around in FC5 to learn but I broke something which I cannot figure out how to fix it. I had set up my resolution to 1600x1200 and next day when I booted up it gave me the following error when I try to run "startx".

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


I cannot find out how to unlock or kill the x server that is running for dispaly 0. I looked at the xorg.conf file and it seems OK based on what I've read.

(The xorg.conf file)
__________________________________________________
# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics" "CorePointer"
InputDevice "Mouse0" "AlwaysCore"
EndSection

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, a font server independent of the X server is
# used to render fonts.
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "synaptics"
Load "dri"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1600x1200"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.5 - 90.0
VertRefresh 60.0 - 60.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "vesa"
VendorName "Videocard vendor"
BoardName "nVidia Corporation NV34M [GeForce FX Go5200]"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x1200" "1400x1050" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection
_________________________________________________

Now, I am stock to 800x600 and I cannot change the resolution. I cannot start another x server in the other virtual consoles either. It gives me the same error.

(ctrl + alt + F7 / F2 to change the VC and then run startx)


What's going on?

Thanks,

Last edited by baabakb; 09-01-2006 at 09:35 AM.
 
Old 08-31-2006, 03:37 PM   #2
baabakb
LQ Newbie
 
Registered: Aug 2006
Location: DC area
Distribution: Suse 10.2 and loving it
Posts: 20

Original Poster
Rep: Reputation: 0
New Issue

I did the following

I edited the inittab file to runlevel 3. I logged into the system and run the "system-config-dislay --reconfig" under root. I changed the runlevel back to 5.

Now the issue is it runs with the 1600x1200 resolution and start up the x server, but only root can log into the x server. All the other users cannot log in. the screen goes black for couple of times and then it brings back the log in screen.

What's going on now?

HELP

Last edited by baabakb; 09-01-2006 at 09:36 AM.
 
  


Reply

Tags
display, error, fatal


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
Problem setting display resolution / desktop size Robhogg Suse/Novell 2 02-23-2006 08:16 PM
Dual head display problem and setting resolution Navyblue Linux - Newbie 4 08-01-2005 10:18 AM
Display Resolution Error HELP!! xiojqwnko Slackware - Installation 3 04-05-2004 03:14 PM
Display resolution error SiliconToad Linux - Newbie 3 07-15-2003 02:36 AM
Problem configuring display resolution kutubjt Linux - Newbie 3 03-19-2001 07:40 AM


All times are GMT -5. The time now is 08:49 AM.

Main Menu
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