Portál AbcLinuxu, 7. prosince 2025 18:25


Dotaz: Konfigurace Xorg nefunguje

20.10.2004 18:30 Käyttäjä 11133 | skóre: 58 | blog: Ajattelee menneisyyttä
Konfigurace Xorg nefunguje
Přečteno: 340×
Odpovědět | Admin
Dobrý den nainstaloval sem si Linux Gentoo ze stage1
podařilo se mi jej rozchodit i s xorg ovšem jenom pokud
nepoužiju vlastní konfigurační soubor poté mi to napíše chybu viz. Můj log.
-------------------
X Protocol Version 11, Revision 0, Release 6.7
Build Operating System: Linux 2.4.27 i686 [ELF]
Current Operating System: Linux gentoo 2.6.8-gentoo-r8 #1
Build Date: 09 October 2004
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
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: Wed Oct 20 20:03:59 2004
(==) Using config file: "/etc/X11/xorg.conf"
Parse error on line 6 of section ServerLayout in file
/etc/X11/xorg.conf
"Screen1" is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
------------------------
A zde je můj konfigurák:
-------------------------
Section "ServerLayout"
Identifier "Default Layout"
Screen1 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
# Load "fbdevhw"
Load "glx"
# Load "record"
Load "freetype"
# Load "type1"
# 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 "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Generic"
DisplaySize 320 240
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
Option "TargetRefresh" "75.0"
EndSection Section "Device"
Identifier "Videocard0"
Driver "nv"
VendorName "Videocard vendor"
BoardName "TNT_2"
EndSection
Section "Screen"
Identifier "Screen1"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection

----------------------------------------------------------
Předem díky za vaši pomoc Linux je nejlepší
-----------------------------------------------------------
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

20.10.2004 19:18 jm
Rozbalit Rozbalit vše Re: Konfigurace Xorg nefunguje
Odpovědět | | Sbalit | Link | Blokovat | Admin
Jasnejsi snad uz to chybova hlaseni byt nemuze!
Parse error on line 6 of section ServerLayout in file /etc/X11/xorg.conf. "Screen1" is not a valid keyword in this section.
Upravte to takhle:
Section "ServerLayout"
	Identifier "Default Layout"
	Screen "Screen1"
	InputDevice "Mouse0" "CorePointer"
	InputDevice "Keyboard0" "CoreKeyboard"
EndSection
P.S. Vidim ze ten tag <pre> je tady asi fakt povolen zbytecne. :-(
Ondroid avatar 20.10.2004 22:59 Ondroid | skóre: 32 | blog: Hombre
Rozbalit Rozbalit vše Re: Konfigurace Xorg nefunguje
Odpovědět | | Sbalit | Link | Blokovat | Admin
Parse error on line 6 of section ServerLayout in file /etc/X11/xorg.conf ;-)

Mimochodem dobrej trik jak nastavit snadno a rychle X při instalaci Gentoo je nainstalovat a spustit mkxf86config. Je to rc-skript určený pro liveCD na automatickou konfiguraci X.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.