This configuration file was broken by system-config-keyboard

     

5 posts • Page 1 of 1 





problem with startx

Postby evarie » 2013/02/09 11:45:54 

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 : "/var/log/Xorg.0.log", Time Sat 25 februari 2012 15:37:12 ==
Using config file : "/etc/X11/xorg.conf"
Parse error on line 6 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 :/var/log/Xorg.0.log" for additional
information.
giving up.
xinit: No such file or directory (error no 2): unable to connect to X server
xinit: No such process (error no 3): 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: 2010/11/11 22:47:00
 
Top

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



problem with startx

Postby AlanBartlett » 2013/02/09 21:12:08 

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

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值