You are not logged in.
Pages: 1
It's log of startx.
[ 10135.004] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
[ 10135.004] _XSERVTransMakeAllCOTSServerListeners: server already running
[ 10135.004] (EE)
Fatal server error:
[ 10135.004] (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
[ 10135.004] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 10135.004] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 10135.004] (EE)
[ 10135.005] (EE) Server terminated with error (1). Closing log file.
Laptop model is asus k501uxm.
I've just installed arch and can't use Xorg. But Wayland server works.
Last edited by Quton (2018-03-08 13:19:54)
Offline
Post your ~/.xinitrc , a Xorg log and details about your hardware and installed drivers. The error message tells us that the server is already running so you might've started it already in some form. Also please use [ code ] tags when pasting to the boards.
Online
Details
Discrete videocard
Nvidia GTX 950m
Driver: nvidia (with bumblebee)
Intel HD 520
Driver: i915
Offline
startx (Previous was mistaken)
[ 56.057]
X.Org X Server 1.19.6
Release Date: 2017-12-20
[ 56.057] X Protocol Version 11, Revision 0
[ 56.057] Build Operating System: Linux 4.14.12-1-ARCH x86_64
[ 56.057] Current Operating System: Linux Quton 4.15.6-1-ARCH #1 SMP PREEMPT Sun Feb 25 12:53:23 UTC 2018 x86_64
[ 56.057] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=4d9c8c05-b240-42dc-9d8c-80c4de00e14d rw quiet
[ 56.057] Build Date: 26 January 2018 10:25:18AM
[ 56.057]
[ 56.057] Current version of pixman: 0.34.0
[ 56.057] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 56.057] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 56.057] (==) Log file: "/home/kokoro/.local/share/xorg/Xorg.0.log", Time: Thu Mar 8 22:17:41 2018
[ 56.074] (==) Using config file: "/etc/X11/xorg.conf"
[ 56.075] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 56.075] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 56.116] (==) ServerLayout "Layout0"
[ 56.116] (**) |-->Screen "Screen0" (0)
[ 56.116] (**) | |-->Monitor "Monitor0"
[ 56.117] (**) | |-->Device "Device0"
[ 56.117] (**) | |-->GPUDevice "Intel Graphics"
[ 56.117] (**) | |-->GPUDevice "Device0"
[ 56.117] (**) | |-->GPUDevice "Device1"
[ 56.117] (**) |-->Input Device "Keyboard0"
[ 56.117] (**) |-->Input Device "Mouse0"
[ 56.117] (==) Automatically adding devices
[ 56.117] (==) Automatically enabling devices
[ 56.117] (==) Automatically adding GPU devices
[ 56.117] (==) Automatically binding GPU devices
[ 56.117] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 56.184] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc/".
[ 56.184] Entry deleted from font path.
[ 56.184] (Run 'mkfontdir' on "/usr/share/fonts/misc/").
[ 56.231] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 56.231] Entry deleted from font path.
[ 56.231] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 56.231] Entry deleted from font path.
[ 56.248] (==) FontPath set to:
/usr/share/fonts/TTF/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 56.248] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 56.248] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 56.248] (WW) Disabling Keyboard0
[ 56.248] (WW) Disabling Mouse0
[ 56.259] (II) Loader magic: 0x563e6d596d60
[ 56.259] (II) Module ABI versions:
[ 56.259] X.Org ANSI C Emulation: 0.4
[ 56.259] X.Org Video Driver: 23.0
[ 56.259] X.Org XInput driver : 24.1
[ 56.259] X.Org Server Extension : 10.0
[ 56.261] (++) using VT number 1
[ 56.261] (--) controlling tty is VT number 1, auto-enabling KeepTty
[ 56.266] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 56.268] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 56.270] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[ 56.276] (--) PCI:*(0:0:2:0) 8086:1916:1043:11e0 rev 7, Mem @ 0xdd000000/16777216, 0xb0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[ 56.277] (--) PCI: (0:1:0:0) 10de:139a:1043:11e0 rev 162, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 56.277] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 56.277] (II) LoadModule: "glx"
[ 56.294] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 56.344] (II) Module glx: vendor="X.Org Foundation"
[ 56.344] compiled for 1.19.6, module version = 1.0.0
[ 56.344] ABI class: X.Org Server Extension, version 10.0
[ 56.344] (II) LoadModule: "xf86-video-intel"
[ 56.344] (WW) Warning, couldn't open module xf86-video-intel
[ 56.345] (II) UnloadModule: "xf86-video-intel"
[ 56.345] (II) Unloading xf86-video-intel
[ 56.345] (EE) Failed to load module "xf86-video-intel" (module does not exist, 0)
[ 56.345] (II) LoadModule: "intel"
[ 56.345] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 56.384] (II) Module intel: vendor="X.Org Foundation"
[ 56.384] compiled for 1.19.6, module version = 2.99.917
[ 56.384] Module class: X.Org Video Driver
[ 56.384] ABI class: X.Org Video Driver, version 23.0
[ 56.384] (II) LoadModule: "nvidia"
[ 56.384] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 56.449] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 56.449] compiled for 4.0.2, module version = 1.0.0
[ 56.449] Module class: X.Org Video Driver
[ 56.461] (II) LoadModule: "i915"
[ 56.462] (WW) Warning, couldn't open module i915
[ 56.462] (II) UnloadModule: "i915"
[ 56.462] (II) Unloading i915
[ 56.462] (EE) Failed to load module "i915" (module does not exist, 0)
[ 56.462] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 56.463] (II) intel: Driver for Intel(R) HD Graphics
[ 56.463] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 56.463] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 56.466] (II) NVIDIA dlloader X Driver 390.25 Wed Jan 24 18:57:05 PST 2018
[ 56.466] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 56.467] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[ 56.469] (II) intel(G0): Using Kernel Mode Setting driver: i915, version 1.6.0 20171023
[ 56.469] (II) intel(G0): SNA compiled from 2.99.917-812-g75795523
[ 56.483] (EE) No devices detected.
[ 56.483] (EE)
Fatal server error:
[ 56.483] (EE) no screens found(EE)
[ 56.483] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 56.484] (EE) Please also check the log file at "/home/kokoro/.local/share/xorg/Xorg.0.log" for additional information.
[ 56.484] (EE)
[ 56.508] (EE) Server terminated with error (1). Closing log file.
xinit
[ 213.840]
X.Org X Server 1.19.6
Release Date: 2017-12-20
[ 213.840] X Protocol Version 11, Revision 0
[ 213.840] Build Operating System: Linux 4.14.12-1-ARCH x86_64
[ 213.840] Current Operating System: Linux Quton 4.15.6-1-ARCH #1 SMP PREEMPT Sun Feb 25 12:53:23 UTC 2018 x86_64
[ 213.840] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=4d9c8c05-b240-42dc-9d8c-80c4de00e14d rw quiet
[ 213.840] Build Date: 26 January 2018 10:25:18AM
[ 213.840]
[ 213.840] Current version of pixman: 0.34.0
[ 213.840] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 213.840] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 213.841] (==) Log file: "/home/kokoro/.local/share/xorg/Xorg.1.log", Time: Thu Mar 8 22:20:18 2018
[ 213.841] (==) Using config file: "/etc/X11/xorg.conf"
[ 213.841] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 213.842] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 213.842] (==) ServerLayout "Layout0"
[ 213.842] (**) |-->Screen "Screen0" (0)
[ 213.842] (**) | |-->Monitor "Monitor0"
[ 213.843] (**) | |-->Device "Device0"
[ 213.843] (**) | |-->GPUDevice "Intel Graphics"
[ 213.843] (**) | |-->GPUDevice "Device0"
[ 213.843] (**) | |-->GPUDevice "Device1"
[ 213.843] (**) |-->Input Device "Keyboard0"
[ 213.843] (**) |-->Input Device "Mouse0"
[ 213.843] (==) Automatically adding devices
[ 213.843] (==) Automatically enabling devices
[ 213.843] (==) Automatically adding GPU devices
[ 213.843] (==) Automatically binding GPU devices
[ 213.843] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 213.843] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc/".
[ 213.843] Entry deleted from font path.
[ 213.843] (Run 'mkfontdir' on "/usr/share/fonts/misc/").
[ 213.843] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 213.843] Entry deleted from font path.
[ 213.843] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 213.843] Entry deleted from font path.
[ 213.843] (==) FontPath set to:
/usr/share/fonts/TTF/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 213.843] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 213.843] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 213.843] (WW) Disabling Keyboard0
[ 213.843] (WW) Disabling Mouse0
[ 213.843] (II) Loader magic: 0x5651efc84d60
[ 213.843] (II) Module ABI versions:
[ 213.843] X.Org ANSI C Emulation: 0.4
[ 213.843] X.Org Video Driver: 23.0
[ 213.843] X.Org XInput driver : 24.1
[ 213.843] X.Org Server Extension : 10.0
[ 213.845] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 213.846] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 213.846] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[ 213.848] (--) PCI:*(0:0:2:0) 8086:1916:1043:11e0 rev 7, Mem @ 0xdd000000/16777216, 0xb0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[ 213.848] (--) PCI: (0:1:0:0) 10de:139a:1043:11e0 rev 162, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[ 213.848] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 213.848] (II) LoadModule: "glx"
[ 213.848] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 213.849] (II) Module glx: vendor="X.Org Foundation"
[ 213.849] compiled for 1.19.6, module version = 1.0.0
[ 213.849] ABI class: X.Org Server Extension, version 10.0
[ 213.849] (II) LoadModule: "xf86-video-intel"
[ 213.849] (WW) Warning, couldn't open module xf86-video-intel
[ 213.849] (II) UnloadModule: "xf86-video-intel"
[ 213.849] (II) Unloading xf86-video-intel
[ 213.849] (EE) Failed to load module "xf86-video-intel" (module does not exist, 0)
[ 213.849] (II) LoadModule: "intel"
[ 213.849] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 213.849] (II) Module intel: vendor="X.Org Foundation"
[ 213.849] compiled for 1.19.6, module version = 2.99.917
[ 213.849] Module class: X.Org Video Driver
[ 213.849] ABI class: X.Org Video Driver, version 23.0
[ 213.849] (II) LoadModule: "nvidia"
[ 213.849] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 213.849] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 213.849] compiled for 4.0.2, module version = 1.0.0
[ 213.849] Module class: X.Org Video Driver
[ 213.849] (II) LoadModule: "i915"
[ 213.849] (WW) Warning, couldn't open module i915
[ 213.849] (II) UnloadModule: "i915"
[ 213.849] (II) Unloading i915
[ 213.849] (EE) Failed to load module "i915" (module does not exist, 0)
[ 213.849] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 213.850] (II) intel: Driver for Intel(R) HD Graphics
[ 213.850] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 213.850] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 213.850] (II) NVIDIA dlloader X Driver 390.25 Wed Jan 24 18:57:05 PST 2018
[ 213.850] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 213.850] (EE)
Fatal server error:
[ 213.850] (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
[ 213.850] (EE)
[ 213.850] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 213.850] (EE) Please also check the log file at "/home/kokoro/.local/share/xorg/Xorg.1.log" for additional information.
[ 213.850] (EE)
[ 213.850] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[ 213.850] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[ 213.907] (EE) Server terminated with error (1). Closing log file.
Offline
What's in your /etc/X11/xorg.conf ? Did you generate that? There's usually no need to do that, bumblebee packages come with correct configuration that works as is.
Online
nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 390.25 (buildmeister@swio-display-x86-rhel47-03) Wed Jan 24 20:46:04 PST 2018
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Device"
Identifier "Device1"
Driver "i915"
VendorName "Intel Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
That was generated with nvidia-xconfig.
Offline
There was strange thing with Xorg :0 -configure. It could not create config.
Offline
Please remove / disable /etc/X11/xorg.conf the try and run bumblebee again.
Offline
It is Xorg :0 -configure log if it can help.
[ 132.508] Current Operating System: Linux Quton 4.15.6-1-ARCH #1 SMP PREEMPT Sun Feb 25 12:53:23 UTC 2018 x86_64
[ 132.508] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=4d9c8c05-b240-42dc-9d8c-80c4de00e14d rw quiet
[ 132.509] Build Date: 26 January 2018 10:25:18AM
[ 132.509]
[ 132.509] Current version of pixman: 0.34.0
[ 132.509] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 132.509] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 132.511] (==) Log file: "/home/kokoro/.local/share/xorg/Xorg.0.log", Time: Sun Mar 11 10:35:44 2018
[ 132.512] (II) Loader magic: 0x55db91acbd60
[ 132.512] (II) Module ABI versions:
[ 132.512] X.Org ANSI C Emulation: 0.4
[ 132.512] X.Org Video Driver: 23.0
[ 132.512] X.Org XInput driver : 24.1
[ 132.512] X.Org Server Extension : 10.0
[ 132.519] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[ 132.520] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 132.520] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[ 132.521] (EE)
[ 132.521] (EE) Backtrace:
[ 132.523] (EE) 0: /usr/lib/xorg-server/Xorg (OsLookupColor+0x139) [0x55db91843e99]
[ 132.523] (EE) 1: /usr/lib/libpthread.so.0 (funlockfile+0x50) [0x7fa3b1954e1f]
[ 132.523] (EE) 2: /usr/lib/xorg-server/Xorg (xf86PlatformMatchDriver+0x2b4) [0x55db9173d674]
[ 132.523] (EE) 3: /usr/lib/xorg-server/Xorg (xf86BusProbe+0x9) [0x55db917154d9]
[ 132.523] (EE) 4: /usr/lib/xorg-server/Xorg (InitOutput+0x7ff) [0x55db9172418f]
[ 132.524] (EE) 5: /usr/lib/xorg-server/Xorg (InitFonts+0x213) [0x55db916e2093]
[ 132.542] (EE) 6: /usr/lib/libc.so.6 (__libc_start_main+0xea) [0x7fa3b15acf4a]
[ 132.543] (EE) 7: /usr/lib/xorg-server/Xorg (_start+0x2a) [0x55db916cbf0a]
[ 132.543] (EE)
[ 132.543] (EE) Segmentation fault at address 0x50
[ 132.543] (EE)
Fatal server error:
[ 132.543] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 132.543] (EE)
[ 132.543] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 132.543] (EE) Please also check the log file at "/home/kokoro/.local/share/xorg/Xorg.0.log" for additional information.
[ 132.543] (EE)
[ 132.608] (EE) Server terminated with error (1). Closing log file.
Offline
If you want to use bumblebee why are you running Xorg :0 -configure?
Offline
Pages: 1