unable to login to GUI

Hi all,

I am unable to login to GUI (eventhough run-level is 5) and every time i boot up the system it goes directly to command line (run-level3).
This is used to login to GUI earlier. Not sure now what happend.
I see following messages when system is booting up.


Master Resource Control: Running /etc/init.d/after.local
doneMaster Resource Control: runlevel 5 has been reached
Failed services in runlevel 5: xinetd avahi-dnsconfd
Skipped services in runlevel 5: smbfs xend xendomains

and trying to start x , gives following error message


startx
xauth:  creating new authority file /root/.serverauth.6995

Fatal server error:
Can't read lock file /tmp/.X0-lock

giving up.
xinit:  Connection refused (errno 111):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.

I find following in /var/log/Xorg.0.log


# egrep "EE|WW" /var/log/Xorg.0.log
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/local" does not exist.
(WW) The directory "/usr/share/fonts/PEX" does not exist.
(WW) The directory "/usr/share/fonts/latin2/misc" does not exist.
(WW) The directory "/usr/share/fonts/latin2/75dpi" does not exist.
(WW) The directory "/usr/share/fonts/latin2/100dpi" does not exist.
(WW) The directory "/usr/share/fonts/latin2/Type1" does not exist.
(WW) The directory "/usr/share/fonts/latin7/75dpi" does not exist.
(WW) The directory "/usr/share/fonts/baekmuk" does not exist.
(WW) The directory "/usr/share/fonts/japanese" does not exist.
(WW) The directory "/usr/share/fonts/kwintv" does not exist.
(WW) The directory "/usr/share/fonts/CID" does not exist.
(WW) The directory "/usr/share/fonts/ucs/misc" does not exist.
(WW) The directory "/usr/share/fonts/ucs/75dpi" does not exist.
(WW) The directory "/usr/share/fonts/ucs/100dpi" does not exist.
(WW) The directory "/usr/share/fonts/hellas/misc" does not exist.
(WW) The directory "/usr/share/fonts/hellas/75dpi" does not exist.
(WW) The directory "/usr/share/fonts/hellas/100dpi" does not exist.
(WW) The directory "/usr/share/fonts/hellas/Type1" does not exist.
(WW) The directory "/usr/share/fonts/xtest" does not exist.
(II) Loading extension MIT-SCREEN-SAVER
(WW) Jan 25 13:38:44 NVIDIA(0): TwinView requested, but only 1 display devices found.
(WW) Jan 25 13:38:44 NVIDIA(0): Invalid display device in Mode Description
(WW) Jan 25 13:38:44 NVIDIA(0):     "DFP-0:1920x1080+0+0"
(WW) Jan 25 13:38:44 NVIDIA(0): Not using mode description "DFP-0:1920x1080+0+0"; unable to
(WW) Jan 25 13:38:44 NVIDIA(0):     map to display device
(WW) Jan 25 13:38:44 NVIDIA(0): Invalid display device in Mode Description
(WW) Jan 25 13:38:44 NVIDIA(0):     "DFP-0:1600x1024+0+0"
(WW) Jan 25 13:38:44 NVIDIA(0): Not using mode description "DFP-0:1600x1024+0+0"; unable to
(WW) Jan 25 13:38:44 NVIDIA(0):     map to display device
(WW) Jan 25 13:38:44 NVIDIA(0): Invalid display device in Mode Description
(WW) Jan 25 13:38:44 NVIDIA(0):     "DFP-0:1400x1050+0+0"
(WW) Jan 25 13:38:44 NVIDIA(0): Not using mode description "DFP-0:1400x1050+0+0"; unable to
(WW) Jan 25 13:38:44 NVIDIA(0):     map to display device
(WW) Jan 25 13:38:44 NVIDIA(0): Invalid display device in Mode Description
(WW) Jan 25 13:38:44 NVIDIA(0):     "DFP-0:1280x1024+0+0"
(WW) Jan 25 13:38:44 NVIDIA(0): Not using mode description "DFP-0:1280x1024+0+0"; unable to
(WW) Jan 25 13:38:44 NVIDIA(0):     map to display device
(WW) Jan 25 13:38:44 NVIDIA(0): Invalid display device in Mode Description
(WW) Jan 25 13:38:44 NVIDIA(0):     "DFP-0:1280x960+0+0"
(WW) Jan 25 13:38:44 NVIDIA(0): Not using mode description "DFP-0:1280x960+0+0"; unable to map
(WW) Jan 25 13:38:44 NVIDIA(0):     to display device
(WW) Jan 25 13:38:44 NVIDIA(0): Invalid display device in Mode Description
(WW) Jan 25 13:38:44 NVIDIA(0):     "DFP-0:1152x864+0+0"
(WW) Jan 25 13:38:44 NVIDIA(0): Not using mode description "DFP-0:1152x864+0+0"; unable to map
(WW) Jan 25 13:38:44 NVIDIA(0):     to display device
(WW) Jan 25 13:38:44 NVIDIA(0): Invalid display device in Mode Description
(WW) Jan 25 13:38:44 NVIDIA(0):     "DFP-0:1024x768+0+0"
(WW) Jan 25 13:38:44 NVIDIA(0): Not using mode description "DFP-0:1024x768+0+0"; unable to map
(WW) Jan 25 13:38:44 NVIDIA(0):     to display device
(WW) Jan 25 13:38:44 NVIDIA(0): Invalid display device in Mode Description
(WW) Jan 25 13:38:44 NVIDIA(0):     "DFP-0:800x600+0+0"
(WW) Jan 25 13:38:44 NVIDIA(0): Not using mode description "DFP-0:800x600+0+0"; unable to map
(WW) Jan 25 13:38:44 NVIDIA(0):     to display device
(WW) Jan 25 13:38:44 NVIDIA(0): Invalid display device in Mode Description
(WW) Jan 25 13:38:44 NVIDIA(0):     "DFP-0:640x480+0+0"
(WW) Jan 25 13:38:44 NVIDIA(0): Not using mode description "DFP-0:640x480+0+0"; unable to map
(WW) Jan 25 13:38:44 NVIDIA(0):     to display device

Thanks in advance!

DId you have a kernel upgrade? if so, did you reinstall the NVIDIA driver?

There might be another possibility

The above seems to suggest you have a dual monitor setup but only one monitor can be found, are you still using both monitors and are they both switched on, correctly plugged in etc?

With regards to re-installing nvidia drivers after a kernel upgrade I think that only applies when the driver has been installed using the ‘hard way’ method doesn’t it? I’ve been on ati cards for a while now but I seem to remember that if the nvidia drivers were installed via yast then during a kernel upgrade the nvidia stuff got automatically ‘re-compiled’

Not sure if that’s the right terminology there but the point being I seem to remember it being ‘automatic’

Let’s have a look at /etc/X11/xorg.conf.

Hi all,

Thanks for replies.
Here is what i did.

There are two monitors connected earlier and it was working fine.
The only problem was, 3D was not working (some 3D stuff with 3D glasses) so i tried to use the xorg.conf file from a workstation where 3D was working (both are same OPenSUSE 10.3 and same lenovo workstations).
That is when the problem started.
I tried to use the original xorg.conf file but no use.
I did not upgrade or changed anything except xorg.conf and typed “init 3” and then “init 5” to restart X.

Below are xorg.conf files

Original xorg.conf file


Section "ServerLayout"

# Removed Option "Xinerama" "off"
    Identifier     "Layout[all]"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard[0]" "CoreKeyboard"
    InputDevice    "Mouse[1]" "CorePointer"
    Option         "Clone" "off"
    Option         "Xinerama" "0"
EndSection

Section "Files"
    InputDevices      "/dev/gpmdata"
    InputDevices      "/dev/input/mice"
    FontPath        "/usr/share/fonts/misc:unscaled"
    FontPath        "/usr/share/fonts/local"
    FontPath        "/usr/share/fonts/75dpi:unscaled"
    FontPath        "/usr/share/fonts/100dpi:unscaled"
    FontPath        "/usr/share/fonts/Type1"
    FontPath        "/usr/share/fonts/URW"
    FontPath        "/usr/share/fonts/Speedo"
    FontPath        "/usr/share/fonts/PEX"
    FontPath        "/usr/share/fonts/cyrillic"
    FontPath        "/usr/share/fonts/latin2/misc:unscaled"
    FontPath        "/usr/share/fonts/latin2/75dpi:unscaled"
    FontPath        "/usr/share/fonts/latin2/100dpi:unscaled"
    FontPath        "/usr/share/fonts/latin2/Type1"
    FontPath        "/usr/share/fonts/latin7/75dpi:unscaled"
    FontPath        "/usr/share/fonts/baekmuk:unscaled"
    FontPath        "/usr/share/fonts/japanese:unscaled"
    FontPath        "/usr/share/fonts/kwintv"
    FontPath        "/usr/share/fonts/truetype"
    FontPath        "/usr/share/fonts/uni:unscaled"
    FontPath        "/usr/share/fonts/CID"
    FontPath        "/usr/share/fonts/ucs/misc:unscaled"
    FontPath        "/usr/share/fonts/ucs/75dpi:unscaled"
    FontPath        "/usr/share/fonts/ucs/100dpi:unscaled"
    FontPath        "/usr/share/fonts/hellas/misc:unscaled"
    FontPath        "/usr/share/fonts/hellas/75dpi:unscaled"
    FontPath        "/usr/share/fonts/hellas/100dpi:unscaled"
    FontPath        "/usr/share/fonts/hellas/Type1"
    FontPath        "/usr/share/fonts/misc/sgi:unscaled"
    FontPath        "/usr/share/fonts/xtest"
    FontPath        "/opt/kde3/share/fonts"
EndSection

Section "Module"
    Load           "dbe"
    Load           "type1"
    Load           "freetype"
    Load           "extmod"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "AllowMouseOpenFail" "on"
EndSection

Section "InputDevice"
    Identifier     "Keyboard[0]"
    Driver         "kbd"
    Option         "Protocol" "Standard"
    Option         "XkbLayout" "us"
    Option         "XkbModel" "macintosh"
    Option         "XkbRules" "xfree86"
EndSection

Section "InputDevice"
    Identifier     "Mouse[1]"
    Driver         "mouse"
    Option         "Device" "/dev/input/mice"
    Option         "Name" "MouseManPlusPS/2"
    Option         "Protocol" "ExplorerPS/2"
    Option         "Vendor" "PS/2-Mouse"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Modes"

# 1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz
    Identifier         "Modes[0]"
    ModeLine     "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
# 1680x1050 119.89 Hz (CVT) hsync: 135.24 kHz; pclk: 313.75 MHz
    ModeLine     "1680x1050_120.00" 313.75 1680 1816 2000 2320 1050 1053 1059 1128 -hsync +vsync
EndSection
Section "Monitor"

#    UseModes       "Modes[0]"
    Identifier     "Monitor[0]"
    VendorName     "ASUS"
    ModelName      "VG236"
    DisplaySize     340    270
    HorizSync       24.0 - 83.0
    VertRefresh     50.0 - 85.0
    Option         "CalcAlgorithm" "XServerPool"
    Option         "AllowDFPStereo" "True"
    Option         "NoEDID"
    Option         "Stereo" "10"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Ancor Communications Inc ASUS VG236"
    HorizSync       24.0 - 140.0
    VertRefresh     50.0 - 122.0
EndSection

Section "Device"

#  Option       "ForceEmulatedOverlay"
#  Option       "Stereo" "3"
    Identifier     "Device[0]"
    Driver         "nvidia"
    VendorName     "VESA"
    BoardName      "Framebuffer Graphics"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro 4000"
EndSection

Section "Screen"

#  Option       "ForceStereoFlipping" "1"
    Identifier     "Screen[0]"
    Device         "Device[0]"
    Monitor        "Monitor[0]"
    DefaultDepth    24
    SubSection     "Display"
        Depth       15
        Modes      "1680x1050" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600"
 "800x600" "768x576" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1680x1050" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600"
 "800x600" "768x576" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1920x1080" "1680x1050" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600
" "1024x600" "800x600" "768x576" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1680x1050" "1600x1024" "1600x1000" "1400x1050" "1280x1024" "1440x900" "1280x960" "1366x768" "1280x800" "1152x864" "1280x768" "1024x768" "1280x600" "1024x600"
 "800x600" "768x576" "640x480"
    EndSubSection
EndSection

Section "Screen"

# Removed Option "metamodes" "DFP-0: 1920x1080 +0+0, DFP-2: nvidia-auto-select +1920+0; DFP-0: 1600x1024 +0+0, DFP-2: nvidia-auto-select +1600+0; DFP-0: 1400x1050 +0+0, DFP-2: n
vidia-auto-select +1400+0; DFP-0: 1280x1024 +0+0, DFP-2: nvidia-auto-select +1280+0; DFP-0: 1280x960 +0+0, DFP-2: nvidia-auto-select +1280+0; DFP-0: 1152x864 +0+0, DFP-2: nvidia
-auto-select +1152+0; DFP-0: 1024x768 +0+0, DFP-2: nvidia-auto-select +1024+0; DFP-0: 800x600 +0+0, DFP-2: nvidia-auto-select +800+0; DFP-0: 640x480 +0+0, DFP-2: nvidia-auto-sel
ect +640+0"
# Removed Option "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-2: nvidia-auto-select +1920+0"
# Removed Option "TwinViewXineramaInfoOrder" "DFP-0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "DFP-2"
    Option         "metamodes" "DFP-0: nvidia-auto-select +1920+0, DFP-2: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

The one i tried to use


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Ancor Communications Inc ASUS VG236"
    HorizSync       24.0 - 140.0
    VertRefresh     50.0 - 122.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "Quadro 4000"
    Option         "Stereo" "10"
EndSection

Section "Screen"

# Removed Option "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-1: nvidia-auto-select +1920+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "10"
    Option         "TwinView" "1"
    Option         "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-4: nvidia-auto-select +1920+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


Thanks in advance!

A couple of things that I see:

1- You’re running “startx” with root permissions. Don’t. Never ever start a desktop environment as root. Info on this is all over the forums
2- You have an xorg.conf. Should not be necessary, might cause trouble. Rename it, then reboot
3- X complains about Twinview being enabled, whilst only one display device is connected.
4- The xorg.conf is messy, f.e. there’s 2 Device sections, where there should only be one.

I suggest you rename/remove the xorg.conf and see what the system does using autoconfiguration.

Don’t try such tricks!

But it was working before? Are you still on openSUSE 10.3?

Hi Knurpht,

I tried renaming xorg.conf and reboot but endup being taken to command line but not the GUI ?

But it was working before? Are you still on openSUSE 10.3?

yes it was working fine earlier…yes i am still using OpenSuse 10.3