LINUX.ORG.RU

CentOS не стартует xfce

 


0

1

Установил xfce:

1) yum groupinstall "Xfce" "X Window System" "Fonts"

2) shutdown -r now

При попытке:

3) startxfce4

Вылазит:

_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed

_XSERV
TransMakeAllCOTSServerListeners: server already running
(EE)
Fatal server error:

(EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)

(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)

(EE) Server terminated with error (1). Closing log file.

[root@centos7x64 ~]# XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"

      after 7 requests (7 known processed) with 0 events remaining.

Ладно. Идем дальше:

1) sudo service gdm stop

2) sudo X -configure

Лог:

[root@centos7x64 ~]# service gdm stop
Redirecting to /bin/systemctl stop  gdm.service
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 7 requests (7 known processed) with 0 events remaining.
[root@centos7x64 ~]# x -configure
-bash: x: command not found
[root@centos7x64 ~]# X -configure

X.Org X Server 1.19.3
Release Date: 2017-03-15
X Protocol Version 11, Revision 0
Build Operating System:  3.10.0-693.2.2.el7.x86_64
Current Operating System: Linux centos7x64 3.10.0-514.6.1.el7.x86_64 #1 SMP Wed                                                                                         Jan 18 13:06:36 UTC 2017 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-514.6.1.el7.x86_64 root=/dev/map                                                                                        per/centos_centos-root ro rd.lvm.lv=centos_centos/root vconsole.font=latarcyrheb                                                                                        -sun16 crashkernel=auto vconsole.keymap=us net.ifnames=0 rd.lvm.lv=centos_centos                                                                                        /swap rhgb quiet LANG=en_US.UTF-8
Build Date: 25 January 2018  04:04:44PM
Build ID: xorg-x11-server 1.19.3-11.el7_4.1
Current version of pixman: 0.34.0
        Before reporting problems, check http://wiki.x.org
        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: Mon Jan 29 17:10:56 2018
List of video drivers:
        ati
        dummy
        intel
        nouveau
        qxl
        radeon
        v4l
        vmware
        modesetting
        fbdev
        vesa
(++) Using config file: "/root/xorg.conf.new"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"


Xorg detected your mouse at device /dev/input/mice.
Please check your config if the mouse is still not
operational, as by default Xorg tries to autodetect
the protocol.

Your xorg.conf file is /root/xorg.conf.new

To test the server, run 'X -config /root/xorg.conf.new'

(EE) Server terminated with error (2). Closing log file.

[root@centos7x64 ~]# startxfce4
/usr/bin/startxfce4: Starting X server


X.Org X Server 1.19.3
Release Date: 2017-03-15
X Protocol Version 11, Revision 0
Build Operating System:  3.10.0-693.2.2.el7.x86_64
Current Operating System: Linux centos7x64 3.10.0-514.6.1.el7.x86_64 #1 SMP Wed                                                                                         Jan 18 13:06:36 UTC 2017 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-514.6.1.el7.x86_64 root=/dev/map                                                                                        per/centos_centos-root ro rd.lvm.lv=centos_centos/root vconsole.font=latarcyrheb                                                                                        -sun16 crashkernel=auto vconsole.keymap=us net.ifnames=0 rd.lvm.lv=centos_centos                                                                                        /swap rhgb quiet LANG=en_US.UTF-8
Build Date: 25 January 2018  04:04:44PM
Build ID: xorg-x11-server 1.19.3-11.el7_4.1
Current version of pixman: 0.34.0
        Before reporting problems, check http://wiki.x.org
        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: Mon Jan 29 17:11:10 2018
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) xf86OpenConsole: Switching VT failed
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional info                                                                                        rmation.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error




Последнее исправление: n199a (всего исправлений: 2)

Cannot establish any listening sockets - Make sure an X server isn't already running

Please also check the log file at «/var/log/Xorg.0.log» for additional information.

micronekodesu ★★★
()
Ответ на: комментарий от micronekodesu

[spoiler]

[root@centos7x64 ~]# nano /var/log/Xorg.0.log
  GNU nano 2.3.1                                        File: /var/log/Xorg.0.log

[  1214.460]
X.Org X Server 1.19.3
Release Date: 2017-03-15
[  1214.460] X Protocol Version 11, Revision 0
[  1214.460] Build Operating System:  3.10.0-693.2.2.el7.x86_64
[  1214.460] Current Operating System: Linux centos7x64 3.10.0-514.6.1.el7.x86_64 #1 SMP Wed Jan 18 13:06:36 UTC 2017 x86_64
[  1214.460] Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-514.6.1.el7.x86_64 root=/dev/mapper/centos_centos-root ro rd.lvm.lv=centos_centos/root vconsole.font=latar$
[  1214.460] Build Date: 25 January 2018  04:04:44PM
[  1214.460] Build ID: xorg-x11-server 1.19.3-11.el7_4.1
[  1214.460] Current version of pixman: 0.34.0
[  1214.460]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  1214.460] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1214.460] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan 29 17:11:10 2018
[  1214.460] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  1214.460] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1214.461] (==) No Layout section.  Using the first Screen section.
[  1214.461] (==) No screen section available. Using defaults.
[  1214.461] (**) |-->Screen "Default Screen Section" (0)
[  1214.461] (**) |   |-->Monitor "<default monitor>"
[  1214.461] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[  1214.461] (==) Automatically adding devices
[  1214.461] (==) Automatically enabling devices
[  1214.461] (==) Automatically adding GPU devices
[  1214.461] (==) Automatically binding GPU devices
[  1214.461] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1214.461] (==) FontPath set to:
        catalogue:/etc/X11/fontpath.d,
        built-ins
[  1214.461] (==) ModulePath set to "/usr/lib64/xorg/modules"
[  1214.461] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1214.461] (II) Loader magic: 0x7f3880da8020
[  1214.461] (II) Module ABI versions:
[  1214.461]    X.Org ANSI C Emulation: 0.4
[  1214.461]    X.Org Video Driver: 23.0
[/spoiler]

n199a
() автор топика
Ответ на: комментарий от n199a

Попробуйте сделать sudo mkinitrd и перезагрузиться, иногда помогает, у Вас не крыса не стартует, У Вас иксы не стартуют!

piwww ★★★★
()
Ответ на: комментарий от n199a

Так это не весь лог, да и лучше ошибки из него смотреть чем всю простыню.

grep EE /var/log/Xorg.0.log
micronekodesu ★★★
()

centos 7
sudo service gdm stop

ты как с головой там вообще? какой service? там systemd во все поля. у тебя куда ссылка ведёт с /etc/systemd/system/default.target?

novitchok ★★★★★
()
Последнее исправление: novitchok (всего исправлений: 1)

что то вроде этого

systemctl set-default multi-user.target
systemctl get-default
systemctl isolate graphical.target
systemctl set-default graphical.target
systemctl start graphical.target

zoloz
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.