1

Ставлю минималку Centos с fluxbox'ом (как здесь http://minimallinux.blogspot.com/2012/0 … tall.html)

при startx получаю:

startx
hostname: Unknown host
xauth:  creating new authority file /root/.serverauth.21973


X.Org X Server 1.10.6
Release Date: 2012-02-10
X Protocol Version 11, Revision 0
Build Operating System: c6b9 2.6.32-220.el6.x86_64 
Current Operating System: Linux virtual-centos 2.6.32-279.el6.i686 #1 SMP Fri Jun 22 10:59:55 UTC 2012 i686
Kernel command line: ro root=/dev/mapper/vg_virtualcentos-lv_root nomodeset rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=vg_virtualcentos/lv_root SYSFONT=latarcyrheb-sun16 rd_LVM_LV=vg_virtualcentos/lv_swap crashkernel=129M@0M  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
Build Date: 22 June 2012  07:56:45PM
Build ID: xorg-x11-server 1.10.6-1.el6.centos 
Current version of pixman: 0.18.4
    Before reporting problems, check https://www.redhat.com/apps/support/
    to make sure that you have the latest version.
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/Xorg.0.log", Time: Sat Oct 27 10:21:38 2012
(==) Using config file: "/etc/X11/xorg.conf"
Parse error on line 5 of section ServerLayout in file /etc/X11/xorg.conf
    This section must have an Identifier line.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found

Please consult the CentOS 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 (errno 2):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.

/etc/X11/xorg.conf

# 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

/var/log/Xorg.0.log

[  6544.746]
X.Org X Server 1.10.6
Release Date: 2012-02-10
[  6544.746] X Protocol Version 11, Revision 0
[  6544.746] Build Operating System: c6b9 2.6.32-220.el6.x86_64
[  6544.748] Current Operating System: Linux virtual-centos 2.6.32-279.el6.i686 #1 SMP Fri Jun 22 10:59:55 UTC 2012 i686
[  6544.748] Kernel command line: ro root=/dev/mapper/vg_virtualcentos-lv_root nomodeset rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=vg_virtualcentos/lv_root SYSFONT=latarcyrheb-sun16 rd_LVM_LV=vg_virtualcentos/lv_swap crashkernel=129M@0M  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet
[  6544.750] Build Date: 22 June 2012  07:56:45PM
[  6544.750] Build ID: xorg-x11-server 1.10.6-1.el6.centos
[  6544.750] Current version of pixman: 0.18.4
[  6544.750]    Before reporting problems, check https://www.redhat.com/apps/support/
        to make sure that you have the latest version.
[  6544.752] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  6544.755] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Oct 27 10:21:38 2012
[  6544.758] (==) Using config file: "/etc/X11/xorg.conf"
[  6544.758] Parse error on line 5 of section ServerLayout in file /etc/X11/xorg.conf
"/var/log/Xorg.0.log" 30L, 1721C                                             1,1           Top

Объясните неграмотному.

2

mgramin пишет:

Parse error on line 5 of section ServerLayout in file /etc/X11/xorg.conf
This section must have an Identifier line.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Ваш конфигурационный файл содержит ошибки. В настоящее время использование конфигурационного файла для «иксов» не является обязательным, попробуйте удалить его или переместить куда-нибудь.

Был, был и весь вышел...

3

Спасибо, работает.
Откуда в таком случае берутся настройки? На 17-й Федоре из коробки файла /etc/X11/xorg.conf  нет вообще.

4

mgramin пишет:

Откуда в таком случае берутся настройки?

Проанализируйте лог «иксов», в самом его начале это видно. Будет что-то вроде /usr/share/X11/xorg.conf.d

Был, был и весь вышел...

5

И плюс часть настроек иксы умеют определять самостоятельно.

Истинный hotplug - это обычная электрическая розетка: воткнул - работает, и никаких драйверов.
Arch Linux/Xfce/Xiaomi Mi Notebook Pro 15.6 | Slackware64-current/Xfce/Lenovo G580