This configuration file was broken by system-config-keyboard


 posts • Page  of  

problem with startx

Postby evarie » // :: 

Normally i can get started with the x window system. But i get in troubles.

 This is my screen output:
Code: Select allmarkers:
-- probed
** from config file
== default setting
++ from command line
!! notice
II informational
WW warning
EE error
NI not implemented
?? unknown
== Log file :  februari  :: ==
Using config file : "/etc/X11/xorg.conf"
Parse error on line  of section ServerLayout in file /etc/X11/xorg.conf
This section must have an Identifier line.
EE problem/error parsing the config line
Fatal server error: no screens found
Please consult the redhat, inc support at
https://www.redhat.com/apps/support
for help
please also check the log file at :/.log" for additional
information.
giving up.
xinit: No such file or directory (error no ): unable to connect to X server
xinit: No such process (error no ): server error.
[root@www]#

And this is my xorg.conf

Code: Select all# This configuration file was broken by system-config-keyboard
Section "ServerLayout"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
# Keyboard added by system-config-keyboard
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option        "XkbModel" "pc105+inet"
    Option        "XkbLayout" "us"
EndSection
Section "Device"
    Identifier  "Videocard0"
    Driver      "vesa"
EndSection
evarie  Posts: 29Joined: // ::

Top

--------------------------------------------------------------------------------

problem with startx

Postby AlanBartlett » // :: 

My suggestion is to try the following as your xorg.conf file -- 

Code: Select allSection "ServerLayout"
    Identifier    "system-config-keyboard Configured"
    InputDevice   "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
    Identifier    "Keyboard0"
    Driver        "kbd"
    Option        "XkbModel" "pc105+inet"
    Option        "XkbLayout" "us"
EndSection

Section "Device"
    Identifier    "Videocard0"
    Driver        "vesa"
EndSection

From: https://www.centos.org/forums/viewtopic.php?t=6234

上一篇:行列转换小结 Pivot ,Unpivot (转,改)


下一篇:查看系统分区df,查看、设置、修改、删除ACL权限