[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X11 error at login: "no screens found"



On Lu, 28 iun 10, 07:07:44, Charles Blair wrote:
>    I recently upgraded from etch to lenny, and most features
> of the system seemed to be working.
> 
>    After a day or two with the new system, I am getting a
> character-based screen to log in, instead of the X display.
> 
>    Below, I give the output from typing "startx", and the
> xorg.conf file.
> 
> *****************  Output from startx  ******************
> 
> Script started on Mon 28 Jun 2010 06:30:15 AM CDT
> localhost:/home/ceblair# startx
> 
> X Window System Version 7.1.1
> Release Date: 12 May 2006
> X Protocol Version 11, Revision 0, Release 7.1.1
> Build Operating System: UNKNOWN 
> Current Operating System: Linux localhost 2.6.26-2-486 #1 Sat Dec 26 08:37:39 UTC 2009 i686
> Build Date: 29 May 2008
> Module Loader present
> Markers: (--) probed, (**) from config file, (==) default setting,
>         (++) from command line, (!!) notice, (II) informational,
>         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 28 06:30:21 2010
> (==) Using config file: "/etc/X11/xorg.conf"
> 
> (EE) Failed to load module "nv" (module does not exist, 0)
> (EE) No drivers available.
 
X can't find the driver. Please post the output of

dpkg -l xserver-xorg-video-nv

> Fatal server error:
> no screens found
> 
> waiting for X server to begin accepting connections 
> giving up.

Probably not related, but your xorg.conf still contains a lot of 
obsolete stuff

> ********************   The file /etc/X11/xorg.conf **************
> 
> Section "Files"
>         FontPath        "/usr/share/fonts/X11/misc"
>         FontPath        "/usr/X11R6/lib/X11/fonts/misc"
>         FontPath        "/usr/share/fonts/X11/cyrillic"
>         FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
>         FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
>         FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
>         FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
>         FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
>         FontPath        "/usr/share/fonts/X11/Type1"
>         FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
>         FontPath        "/usr/share/fonts/X11/100dpi"
>         FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
>         FontPath        "/usr/share/fonts/X11/75dpi"
>         FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
>         # path to defoma fonts
>         FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
> EndSection

You can delete the entire "Files" section

> Section "Module"
>         Load    "i2c"
>         Load    "bitmap"
>         Load    "ddc"
>         Load    "dri"
>         Load    "extmod"
>         Load    "freetype"
>         Load    "glx"
>         Load    "int10"
>         Load    "vbe"
> EndSection

same with the "Module"

> Section "InputDevice"
>         Identifier      "Generic Keyboard"
>         Driver          "kbd"
>         Option          "CoreKeyboard"
>         Option          "XkbRules"      "xorg"
>         Option          "XkbModel"      "pc104"
>         Option          "XkbLayout"     "us"
> EndSection
> 
> Section "InputDevice"
>         Identifier      "Configured Mouse"
>         Driver          "mouse"
>         Option          "CorePointer"
>         Option          "Device"                "/dev/input/mice"
>         Option          "Protocol"              "ImPS/2"
>         Option          "Emulate3Buttons"       "true"
> EndSection
> 
> Section "Device"
>         Identifier      "nVidia Corporation C51 [GeForce 6150 LE]"
>         Driver          "nv"
>         BusID           "PCI:0:5:0"
> EndSection
> 
> Section "Monitor"
>         Identifier      "NXM76LCD"
>         Option          "DPMS"
> EndSection
> 
> Section "Screen"
>         Identifier      "Default Screen"
>         Device          "nVidia Corporation C51 [GeForce 6150 LE]"
>         Monitor         "NXM76LCD"
>         DefaultDepth    24
>         SubSection "Display"
>                 Depth           1
>                 Modes           "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
>         EndSubSection
>         SubSection "Display"
>                 Depth           4
>                 Modes           "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
>         EndSubSection
>         SubSection "Display"
>                 Depth           8
>                 Modes           "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
>         EndSubSection
>         SubSection "Display"
>                 Depth           15
>                 Modes           "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
>         EndSubSection
>         SubSection "Display"
>                 Depth           16
>                 Modes           "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
>         EndSubSection
>         SubSection "Display"
>                 Depth           24
>                 Modes           "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
>         EndSubSection
> EndSection

This can be trimmed to:

Section "Screen"
        Identifier      "Default Screen"
        Device          "nVidia Corporation C51 [GeForce 6150 LE]"
        Monitor         "NXM76LCD"
EndSection

> Section "ServerLayout"
>         Identifier      "Default Layout"
>         Screen          "Default Screen"
>         InputDevice     "Generic Keyboard"
>         InputDevice     "Configured Mouse"
> EndSection
 
This can go away too

> Section "DRI"
>         Mode    0666
> EndSection

The "DRI" section can also go away

(I'm basing this on an actual xorg.conf from a system that started its 
life as lenny. It might even be possible to remove xorg.conf completely)

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic

Attachment: signature.asc
Description: Digital signature


Reply to: