Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have newly intall a linux , but when I run startx , it pop up the below message.
Parse error on line 242 of section InputDevice in file /etc/X11/XF86Config
"Device" is not a vaild keyword in this section.
(EE) Problem parsing the config file
(EE) Error from xf86HandleConfigFile()
Fatal server error:
no screens found
fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
X is not properly configured. what distro are you using? RH 7.3 and later uses XFree86 4.2.0 and the file in questions should be /etc/X11/XF86Config-4.
After you run Xconfigurator as root, than you should be able to just type startx to start one of your desktops. If it doesn't work than enter different information during Xconfigurator or else your hardware isn't compatible with Linux. I hear that NVidia is troublesome, yet my Dad has an older NVidia card and XWindows works fine. At any rate Xconfigurator utility should do the job.
If it fails than I'd check the integrety of the iso file with MD5SUM.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771
Rep:
I run RH 7.3 and use an NVidia card. Haven't had problems yet. The problem we have here seems to be that the config file prepared by Xconfigurator writes an XF86Config. From what I know, this file is not used by XFree86 versions newer than 3.3. The version of X you seem to be running is the latest(4.2) and that uses XF86Config-4. This file is of a different format than XF86Config, so simply renaming the file wont work.
I'm sending you my XF86Config-4. You need to back up your XF86Config-4, and come up with a new XF86Config-4 from the card and driver sections of your XF86Config using the format of my config file. See man XF86Config to learn about the sections. Once you have a simple ( low bits per pix - low resolution ) X server running, change one thing at a time ( so you know what caused the problem ) and tune it to you needs. You can use xvidtune to fine-tune x.
-----------------------------------------------------------------
# XFree86 4.2.0 configuration generated by Xconfigurator 4.10.7
# Red Hat Linux 6.0 and later use the xfs font server for improved
# interactive performance
Section "Files"
FontPath "unix/:7100"
EndSection
# Module loading section
Section "Module"
Load "dbe" # Double-buffering
Load "GLcore" # OpenGL support
Load "dri" # Direct rendering infrastructure
Load "glx" # OpenGL X protocol interface
Load "extmod" # Misc. required extensions
Load "v4l" # Video4Linux
# Load "record" # X event recorder
# You only need the following two modules if you do not use xfs.
# Load "freetype" # TrueType font handler
# Load "type1" # Adobe Type 1 font handler
EndSection
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.