Bug #1020: Xorg cannot start without a monitor (headless x11vnc)

Closed assigned to pankso, opened 2026-10-29 10:09 UTC, updated 2026-11-14 22:56 UTC

On a computer without monitor, keyboard and mouse, Xorg server
cannot be startet.
But Xorg server with slim are necessary to connect via x11vnc.
ssh connection with X11 forwarding works.

System:
filature_report=1
date=2026-10-25
release=cooking
flavor=unknown
arch=x86_64
kernel=6.12.89-slitaz
boot=efi
live=no
cpu=Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz
cpu_cores=4
ram_mb=7844
gpu=8086:0152 i915
packages=361
locale=de_DE.UTF-8
network=8086:1502 e1000e
sound=8086:1e20 snd_hda_intel
modules=ipv6 efivarfs snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_hda_scodec_component i915 intel_rapl_msr wmi_bmof intel_gtt drm_buddy ttm agpgart snd_hda_intel snd_intel_dspcfg i2c_algo_bit coretemp snd_intel_sdw_acpi snd_hda_codec drm_display_helper hwmon intel_rapl_common drm_kms_helper snd_hda_core x86_pkg_temp_thermal i2c_i801 snd_hwdep snd_pcm e1000e drm i2c_mux i2c_smbus
modules=snd_timer snd ptp pps_core soundcore lpc_ich mfd_core video wmi button
cmdline=BOOT_IMAGE=/boot/vmlinuz-6.12.89-slitaz root=/dev/sda5
dmesg=ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20240827/utaddress-213)
dmesg=ACPI: OSL: Resource conflict; ACPI support missing from driver?
dmesg=ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20240827/utaddress-213)
dmesg=ACPI: OSL: Resource conflict; ACPI support missing from driver?
dmesg=ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20240827/utaddress-213)
dmesg=ACPI: OSL: Resource conflict; ACPI support missing from driver?
dmesg=ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20240827/utaddress-213)
dmesg=ACPI: OSL: Resource conflict; ACPI support missing from driver?
xorg=(WW) The directory "/usr/share/fonts/X11/TTF/" does not exist.
xorg=(WW) The directory "/usr/share/fonts/X11/OTF/" does not exist.
xorg=(WW) The directory "/usr/share/fonts/X11/Type1/" does not exist.
xorg=(WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
xorg=(WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
xorg=(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
xorg=(WW) Falling back to old probe method for fbdev
xorg=(EE) open /dev/fb0: No such file or directory
xorg=(EE) No devices detected.
boot=dmesg(1) may have more information after failed mount system call.
check.packages=fail
check.xorg=fail
sig.packages=f2830022
sig.packages.text=slitaz-configs-base: N file(s) missing on disk
sig.xorg=8ee4d7a0
sig.xorg.text=Xorg failed: no screens found (last error: No devices detected.)
check.network=ok
check.arch=ok
check.changes=ok
check.libs=ok
check.desktop=ok
check.kernel=ok
check.audio=ok
check.backups=ok
check.commands=ok
check.users=ok
check.packages.info=slitaz-configs-base: 4 file(s) missing on disk
check.xorg.info=Xorg failed: no screens found (last error: No devices detected.)

Questions to the reporter

pankso asked, 2026-11-06 23:54 UTC

Thanks for your report. Xorg cannot start here because it finds no screen, so there is now a package for this case: xorg-xf86-video-dummy, an Xorg driver that needs no monitor. It is reaching the mirror now: if "spk-add" does not find it yet, try again a little later.

As root:

spk-add xorg-xf86-video-dummy

Then put this in /etc/X11/xorg.conf (keep or remove the comments already in this file), and reboot:

Section "Module"
    Load "fb"
EndSection

Section "Device"
    Identifier "Dummy"
    Driver "dummy"
    VideoRam 32768
EndSection

Section "Screen"
    Identifier "Screen0"
    Device "Dummy"
    DefaultDepth 24
    SubSection "Display"
        Depth 24
        Modes "1024x768"
    EndSubSection
EndSection

We tested this in a virtual machine without a video card: Xorg starts at 1024x768 and x11vnc listens on port 5900. It has not been tried on real hardware like yours. To use a monitor again, remove these sections from /etc/X11/xorg.conf.

The bug is closed by this change. If it does not work on your computer, you can still answer here and we will look at it again.

The reporter says it is still broken, 2026-11-08 08:26 UTC.

Changesets

History