[ LUGOS ] napaka "no screens found"

Igor Kolar Ike na email.si
Čet Feb 8 12:13:39 CET 2001


Re,

From: Grega Fajdiga <gregor.fajdiga na telemach.net>
> Uporabljam Xfree86 4.01 in kartico Ati 3D Chatger (čip Mach64). Ko pozenem
> X-e dobim napako "no screens found" kah naj naredim?

Upam si staviti, da napaka ni v kartici, ampak v konfiguracijski datoteki
XF86Conf. Ker imaš 4.x rod XFree, jo najdeš pod:

/etc/X11/XFConf

Med zadnjimi sekcijami datoteke so definirani zasloni (screeni). Napaka je
verjetno eno od dvojega:
1. Sploh nimaš definiranih zaslonskih načinov (Section "Screen")
2. Manjka ti vrstica Screen "Screen 1", ki XFree pove, katerega od
definiranih screenov naj uporabi (v tem primeru "Screen1").

Pri meni vse skupaj izgleda takole (to je le izrez iz /etc/X11/XF86Conf).
Pomembni mesti (kritična točka 1 in 2) sta posebej označeni:

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1" # <-- KRITIČNA TOČKA 1
    Device      "nVidia"
    Monitor     "Hyundai"
    DefaultDepth 16

    Subsection "Display"
        Depth       8
        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "1280x1024"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        ViewPort    0 0
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

    Screen "Screen 1" # <-- KRITIČNA TOČKA 2

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection
----KONEC IZREZA

Preveri torej, če imaš vrstico 'Screen "Screen 1"' vstavljeno in če ni morda
komentirana (pred njo je potem #). Poskusil sem doma, in če ne obstaja,
XFree zares vrže napako "no screens found".

Screen1 se sicer nanaša na istoimenski zaslon, ki je konfiguriran čisto na
začetku izseka iz datoteke (glej Identifier). Morda tam nimaš kaj primerno
nastavljeno.

V vsakem primeru še poglej loge (/var/log/XFree*), morda bo tam kaj. Če pa
še to ne pomaga, preprosto znova skonfiguriraj X-e. Poženi xf86config, pa
bo.

Če pa še vedno ne gre, mi na mail pošlji svoj /etc/X11/XF86Conf in pa log
datoteke, da vidiva, kaj bi se še dalo storiti.

lp, Igor





Dodatne informacije o seznamu Starilist