zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    收藏的博客
    MVC 之 System.Web.Optimization找不到引用
    SQL Server 之 附加数据库出现“ 拒绝访问 ”
    Android Studio 之 环境搭建
    PD 之 连接数据库并导出数据及生成PDM文件
    Windows 之 可以Ping通服务器但无法使用服务器连接的共享打印机
    JQuery 之 在数据加载完成后才自动执行函数
    JavaScript 之 动态加载JS代码或JS文件
    JQuery 之 动态加载JS或JS文件
    JavaScript 之 解码类似eval(function(p,a,c,k,e,d){}))的JavaScript代码
  • 原文地址:https://www.cnblogs.com/timssd/p/4413794.html
Copyright © 2011-2022 走看看