View Full Version : Xf86config help needed...
Budious
11-05-02, 02:36 PM
Im a linux n00b needing some help, I installed the nvidia kernel and GLX files from tar.gz. Made the changes instructed on nvidia site to XF86Config-4 file that "nv" to "nvidia" and load "glx" , when I try and startx i get the following error.
Parse error on line 106 of section ServerLayout in file /etc/X11/XF86Config-4 "screen1" is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error from xf86HandleConfigFile()
Fatal server error:
no screens found
Andy Mecham
11-05-02, 03:17 PM
Please post your file.
--andy
Budious
11-05-02, 03:34 PM
Will do, but could you give me an example of the command to copy the file from dir to the floppy drive? seems it gives me same error now if I try and change it back to "nv" driver so I cant get back to the ease of kde ...
Anthaus
11-05-02, 03:34 PM
Looks like you XF86Config-4 file got somewhat messed up. I assume your XF86Config-4 used to work fine.
Try screen0 instead of screen1 (sometimes it's something that simple).
If that doesn't work, launch the xconfigurator and reestablish the old driver.
Try again.
You have to make sure the following changes are made:
Driver "nv" or Driver "vesa" should read:
Driver "nvidia"
Verify that you have:
Load "glx"
REMOVE:
Load "dri"
Load "GLcore"
Some people forget the last part.
Budious
11-05-02, 03:44 PM
Gave same error about "screen0" not being valid. load "glx" is present, "dri" and "GLcore" were not present to start with. xconfigurator doesn't seem to be present on my system. using mandrake 9.0
Anthaus
11-05-02, 04:09 PM
I'm not familiar with Mandrake.
Another possibility is that your "screen1" statement is in the wrong place, hence not being a valid keyword in the section.
Guess we will have to check out your XF86Config-4 file.
mount /mnt/floppy
cp /etc/X11/XF86Config-4 /mnt/floppy
umount /mnt/floppy
Should get your file there.
Budious
11-06-02, 02:14 PM
Ok, thanx for the command line help: Here is XFConfig-4 followed by XFree86.0.log
# File generated by XFdrake.
# ************************************************** ********************
# Refer to the XF86Config man page for details about the format of
# this file.
# ************************************************** ********************
Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection
Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" ""
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "Korea Data Systems"
ModelName "Korea Data Systems Visual Sensations VS-5/VS-51/VSx-5"
HorizSync 30.0-70.0
VertRefresh 50.0-120.0
# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Device"
Identifier "device1"
VendorName "nVidia Corporation"
BoardName "RIVA TNT2"
Driver "nvidia"
Option "DPMS"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 15
Modes "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
XFree86 Version 4.2.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 3 September 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.18-23mdkenterprise i686 [ELF]
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/XFree86.0.log", Time: Tue Nov 5 16:39:23 2002
(==) Using config file: "/etc/X11/XF86Config-4"
Parse error on line 105 of section ServerLayout in file /etc/X11/XF86Config-4
"screen0" is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error from xf86HandleConfigFile()
Fatal server error:
no screens found
When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.0.log".
Please report problems to xfree86@xfree86.org.
Anthaus
11-06-02, 02:32 PM
Now I remember...
It's the 'XF86Config' program the one which lets you fix your settings.
Budious
11-08-02, 06:52 PM
It was "drakconf" actually but thanx for the help, got X running with nvidia support and having a blast playing RtCW on linux now!
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.