You are not logged in.
Since a few weeks ago, X refuses to start on my headless server (I occasionally need to run one or two GUI-only apps).
X is being horribly vague as to why this has happened. This is the XOrg log:
[ 8.757]
X.Org X Server 1.14.1
Release Date: 2013-04-17
[ 8.757] X Protocol Version 11, Revision 0
[ 8.757] Build Operating System: Linux 3.8.7-1-ARCH x86_64
[ 8.757] Current Operating System: Linux emerald.xnode.org 3.8.7-1-ARCH #1 SMP PREEMPT Sat Apr 13 09:01:47 CEST 2013 x86_64
[ 8.757] Kernel command line: root=/dev/disk/by-label/NAS-Root ro initrd=../initramfs-linux.img BOOT_IMAGE=../vmlinuz-linux
[ 8.757] Build Date: 17 April 2013 02:37:06PM
[ 8.757]
[ 8.757] Current version of pixman: 0.28.2
[ 8.757] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 8.757] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 8.757] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Apr 21 13:26:33 2013
[ 8.763] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 8.766] (==) No Layout section. Using the first Screen section.
[ 8.766] (==) No screen section available. Using defaults.
[ 8.766] (**) |-->Screen "Default Screen Section" (0)
[ 8.766] (**) | |-->Monitor "<default monitor>"
[ 8.766] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 8.766] (==) Automatically adding devices
[ 8.766] (==) Automatically enabling devices
[ 8.766] (==) Automatically adding GPU devices
[ 8.773] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 8.773] Entry deleted from font path.
[ 8.778] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/100dpi/,
/usr/share/fonts/75dpi/
[ 8.778] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 8.778] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 8.779] (II) Loader magic: 0x7fcc20
[ 8.779] (II) Module ABI versions:
[ 8.779] X.Org ANSI C Emulation: 0.4
[ 8.779] X.Org Video Driver: 14.1
[ 8.779] X.Org XInput driver : 19.1
[ 8.779] X.Org Server Extension : 7.0
[ 8.779] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 8.780] (--) PCI:*(0:0:2:0) 8086:0152:1458:d000 rev 9, Mem @ 0xf6000000/4194304, 0xe0000000/268435456, I/O @ 0x0000f000/64
[ 8.782] Initializing built-in extension Generic Event Extension
[ 8.782] Initializing built-in extension SHAPE
[ 8.782] Initializing built-in extension MIT-SHM
[ 8.782] Initializing built-in extension XInputExtension
[ 8.782] Initializing built-in extension XTEST
[ 8.782] Initializing built-in extension BIG-REQUESTS
[ 8.782] Initializing built-in extension SYNC
[ 8.782] Initializing built-in extension XKEYBOARD
[ 8.782] Initializing built-in extension XC-MISC
[ 8.782] Initializing built-in extension SECURITY
[ 8.782] Initializing built-in extension XINERAMA
[ 8.782] Initializing built-in extension XFIXES
[ 8.782] Initializing built-in extension RENDER
[ 8.782] Initializing built-in extension RANDR
[ 8.782] Initializing built-in extension COMPOSITE
[ 8.782] Initializing built-in extension DAMAGE
[ 8.782] Initializing built-in extension MIT-SCREEN-SAVER
[ 8.782] Initializing built-in extension DOUBLE-BUFFER
[ 8.782] Initializing built-in extension RECORD
[ 8.782] Initializing built-in extension DPMS
[ 8.782] Initializing built-in extension X-Resource
[ 8.782] Initializing built-in extension XVideo
[ 8.782] Initializing built-in extension XVideo-MotionCompensation
[ 8.782] Initializing built-in extension XFree86-VidModeExtension
[ 8.782] Initializing built-in extension XFree86-DGA
[ 8.782] Initializing built-in extension XFree86-DRI
[ 8.782] Initializing built-in extension DRI2
[ 8.782] (II) LoadModule: "glx"
[ 8.786] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 8.788] (II) Module glx: vendor="X.Org Foundation"
[ 8.788] compiled for 1.14.1, module version = 1.0.0
[ 8.788] ABI class: X.Org Server Extension, version 7.0
[ 8.788] (==) AIGLX enabled
[ 8.789] Loading extension GLX
[ 8.789] (==) Matched intel as autoconfigured driver 0
[ 8.789] (==) Matched intel as autoconfigured driver 1
[ 8.789] (==) Matched vesa as autoconfigured driver 2
[ 8.789] (==) Matched modesetting as autoconfigured driver 3
[ 8.789] (==) Matched fbdev as autoconfigured driver 4
[ 8.789] (==) Assigned the driver to the xf86ConfigLayout
[ 8.789] (II) LoadModule: "intel"
[ 8.792] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 8.796] (II) Module intel: vendor="X.Org Foundation"
[ 8.796] compiled for 1.14.0, module version = 2.21.6
[ 8.796] Module class: X.Org Video Driver
[ 8.796] ABI class: X.Org Video Driver, version 14.1
[ 8.796] (II) LoadModule: "vesa"
[ 8.798] (WW) Warning, couldn't open module vesa
[ 8.798] (II) UnloadModule: "vesa"
[ 8.798] (II) Unloading vesa
[ 8.798] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 8.798] (II) LoadModule: "modesetting"
[ 8.799] (WW) Warning, couldn't open module modesetting
[ 8.799] (II) UnloadModule: "modesetting"
[ 8.799] (II) Unloading modesetting
[ 8.799] (EE) Failed to load module "modesetting" (module does not exist, 0)
[ 8.799] (II) LoadModule: "fbdev"
[ 8.799] (WW) Warning, couldn't open module fbdev
[ 8.799] (II) UnloadModule: "fbdev"
[ 8.799] (II) Unloading fbdev
[ 8.799] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 8.799] (II) intel: Driver for Intel 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, B43, Clarkdale, Arrandale,
Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server,
Ivybridge Server (GT2), Haswell Desktop (GT1), Haswell Desktop (GT2),
Haswell Desktop (GT2+), Haswell Mobile (GT1), Haswell Mobile (GT2),
Haswell Mobile (GT2+), Haswell Server (GT1), Haswell Server (GT2),
Haswell Server (GT2+), Haswell SDV Desktop (GT1),
Haswell SDV Desktop (GT2), Haswell SDV Desktop (GT2+),
Haswell SDV Mobile (GT1), Haswell SDV Mobile (GT2),
Haswell SDV Mobile (GT2+), Haswell SDV Server (GT1),
Haswell SDV Server (GT2), Haswell SDV Server (GT2+),
Haswell ULT Desktop (GT1), Haswell ULT Desktop (GT2),
Haswell ULT Desktop (GT2+), Haswell ULT Mobile (GT1),
Haswell ULT Mobile (GT2), Haswell ULT Mobile (GT2+),
Haswell ULT Server (GT1), Haswell ULT Server (GT2),
Haswell ULT Server (GT2+), Haswell CRW Desktop (GT1),
Haswell CRW Desktop (GT2), Haswell CRW Desktop (GT2+),
Haswell CRW Mobile (GT1), Haswell CRW Mobile (GT2),
Haswell CRW Mobile (GT2+), Haswell CRW Server (GT1),
Haswell CRW Server (GT2), Haswell CRW Server (GT2+),
ValleyView PO board
[ 8.799] (++) using VT number 7
[ 8.802] (II) intel(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 8.802] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 8.802] (==) intel(0): RGB weight 888
[ 8.802] (==) intel(0): Default visual is TrueColor
[ 8.802] (--) intel(0): Integrated Graphics Chipset: Intel(R) Ivybridge Desktop (GT1)
[ 8.802] (**) intel(0): Relaxed fencing enabled
[ 8.802] (**) intel(0): Wait on SwapBuffers? enabled
[ 8.802] (**) intel(0): Triple buffering? enabled
[ 8.802] (**) intel(0): Framebuffer tiled
[ 8.802] (**) intel(0): Pixmaps tiled
[ 8.802] (**) intel(0): 3D buffers tiled
[ 8.803] (**) intel(0): SwapBuffers wait enabled
[ 8.803] (==) intel(0): video overlay key set to 0x101fe
[ 8.813] (II) intel(0): Output VGA1 has no monitor section
[ 8.826] (II) intel(0): Output HDMI1 has no monitor section
[ 8.866] (II) intel(0): Output DP1 has no monitor section
[ 8.883] (II) intel(0): Output HDMI2 has no monitor section
[ 8.923] (II) intel(0): Output DP2 has no monitor section
[ 8.942] (II) intel(0): EDID for output VGA1
[ 8.953] (II) intel(0): EDID for output HDMI1
[ 8.993] (II) intel(0): EDID for output DP1
[ 9.006] (II) intel(0): EDID for output HDMI2
[ 9.053] (II) intel(0): EDID for output DP2
[ 9.053] (II) intel(0): Output VGA1 disconnected
[ 9.053] (II) intel(0): Output HDMI1 disconnected
[ 9.053] (II) intel(0): Output DP1 disconnected
[ 9.053] (II) intel(0): Output HDMI2 disconnected
[ 9.053] (II) intel(0): Output DP2 disconnected
[ 9.053] (WW) intel(0): No outputs definitely connected, trying again...
[ 9.053] (II) intel(0): Output VGA1 disconnected
[ 9.053] (II) intel(0): Output HDMI1 disconnected
[ 9.053] (II) intel(0): Output DP1 disconnected
[ 9.053] (II) intel(0): Output HDMI2 disconnected
[ 9.053] (II) intel(0): Output DP2 disconnected
[ 9.053] (WW) intel(0): Unable to find connected outputs - setting 1024x768 initial framebuffer
[ 9.053] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 9.053] (II) intel(0): Kernel page flipping support detected, enabling
[ 9.053] (==) intel(0): DPI set to (96, 96)
[ 9.053] (II) Loading sub module "fb"
[ 9.053] (II) LoadModule: "fb"
[ 9.053] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 9.055] (II) Module fb: vendor="X.Org Foundation"
[ 9.055] compiled for 1.14.1, module version = 1.0.0
[ 9.055] ABI class: X.Org ANSI C Emulation, version 0.4
[ 9.055] (II) Loading sub module "dri2"
[ 9.055] (II) LoadModule: "dri2"
[ 9.055] (II) Module "dri2" already built-in
[ 9.055] (==) Depth 24 pixmap format is 32 bpp
[ 9.062] (II) intel(0): [DRI2] Setup complete
[ 9.062] (II) intel(0): [DRI2] DRI driver: i965
[ 9.063] (II) intel(0): Allocated new frame buffer 1024x768 stride 4096, tiled
[ 9.073] (II) UXA(0): Driver registered support for the following operations:
[ 9.073] (II) solid
[ 9.073] (II) copy
[ 9.073] (II) composite (RENDER acceleration)
[ 9.073] (II) put_image
[ 9.073] (II) get_image
[ 9.073] (==) intel(0): Backing store disabled
[ 9.073] (==) intel(0): Silken mouse enabled
[ 9.082] (II) intel(0): Initializing HW Cursor
[ 9.083] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 9.083] (==) intel(0): DPMS enabled
[ 9.083] (==) intel(0): Intel XvMC decoder enabled
[ 9.083] (II) intel(0): Set up textured video
[ 9.083] (II) intel(0): [XvMC] xvmc_vld driver initialized.
[ 9.083] (II) intel(0): direct rendering: DRI2 Enabled
[ 9.083] (==) intel(0): hotplug detection: "enabled"
[ 9.084]
Fatal server error:
[ 9.084] AddScreen/ScreenInit failed for driver 0
[ 9.084]
[ 9.084] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 9.084] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 9.084] (EE)The card is an Intel 2500 and the drivers are installed, as you can see. As far as I can tell it's an update that broke this as I haven't configured anything for X myself (no specific xorg config files, only the default ones in xorg.conf.d, none of which relate to the display).
Last edited by Enverex (2013-05-08 08:09:54)
Offline
check journalctl as well. Seems your machine cannot find any outputs connected. Check the connections to make sure as well. Maybe faulty cables?
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
check journalctl as well. Seems your machine cannot find any outputs connected. Check the connections to make sure as well. Maybe faulty cables?
Since a few weeks ago, X refuses to start on my headless server
![]()
Offline
Hmm... I actually thought you were connecting a monitor or something to run the GUI app that you mentioned. Still check the journalctl.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Unfortunately it just gives me a cut down version of what the XOrg log gives:
slim.service - SLiM Simple Login Manager
Loaded: loaded (/usr/lib/systemd/system/slim.service; enabled)
Active: failed (Result: exit-code) since Sun 2013-04-21 13:26:33 BST; 1 day 3h ago
Process: 340 ExecStart=/usr/bin/slim -nodaemon (code=exited, status=1/FAILURE)
Apr 21 13:26:33 systemd[1]: Unit slim.service entered failed state
Apr 21 13:26:34 slim[340]: Fatal server error:
Apr 21 13:26:34 slim[340]: AddScreen/ScreenInit failed for driver 0
Apr 21 13:26:34 slim[340]: (EE)
Apr 21 13:26:34 slim[340]: Please consult the The X.Org Foundation support
Apr 21 13:26:34 slim[340]: at http://wiki.x.org
Apr 21 13:26:34 slim[340]: for help.
Apr 21 13:26:34 slim[340]: (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
Apr 21 13:26:34 slim[340]: (EE)
Apr 21 13:26:34 slim[340]: X: xf86Helper.c:1897: xf86ScrnToScreen: Assertion `pScrn->scrnIndex < screenInfo.numScreens' failed.Offline
Anyone? I've still not managed to find a way around this.
Offline
Figured it out.
The Intel X driver doesn't seem to support headless startup but the VESA driver does. The VESA driver used to be used (I assume as a fallback) but that no-longer happens by default now. If I force X to use the VESA driver over the Intel one then everything works as it used to.
Offline