Habe gerade eine Server-Box von einem aktuellen Debian 9 auf Folgendes aktualisiert:
# uname -a
# Linux server 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux
Jetzt zeigt das Grafikterminal nach dem Grub-Menü nur noch einen blinkenden Cursor an. Ich kann mich mit tty1 anmelden und auch per RDP auf die Box zugreifen und einen vollständigen Desktop (LXDE) starten.
Das boot.log sieht in Ordnung aus, aber in dmesg gibt es zwei große Lücken, die mir aufgefallen sind, die ich aber nicht verstehe:
[ 2.829387] intel_rapl: Found RAPL domain dram
[ 64.716171] snd_hda_intel 0000:00:1f.3: couldn't bind with audio component
[ 64.747264] snd_hda_codec_generic hdaudioC0D0: autoconfig for Generic: line_outs=2 (0x14/0x15/0x0/0x0/0x0) type:line
...
[ 81.114779] Initializing XFRM netlink socket
[ 238.774094] fuse init (API version 7.27)
[ 238.900861] traps: light-locker[1097] trap int3 ip:7f8d014dec75 sp:7ffd5b5fdeb0 error:0 in libglib-2.0.so.0.5800.3[7f8d014a6000+7e000]
Irgendeine Idee, wo ich als nächstes nachsehen könnte, um das Problem zu finden?
Antwort1
Danke für den Tipp, Piotr! Das hat mir weitere Ideen gegeben. Für LXDE muss ich nach lighthdm suchen:journalctl -u lightdm -e
Jan 21 18:19:16 server systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 4.
Jan 21 18:19:16 server systemd[1]: Stopped Light Display Manager.
Jan 21 18:19:16 server systemd[1]: Starting Light Display Manager...
Jan 21 18:19:16 server systemd[1]: Started Light Display Manager.
Jan 21 18:19:16 server systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Jan 21 18:19:16 server systemd[1]: lightdm.service: Failed with result 'exit-code'.
Jan 21 18:19:16 server systemd[1]: lightdm.service: Service RestartSec=100ms expired, scheduling restart.
Jan 21 18:19:16 server systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 5.
Jan 21 18:19:16 server systemd[1]: Stopped Light Display Manager.
Jan 21 18:19:16 server systemd[1]: lightdm.service: Start request repeated too quickly.
Jan 21 18:19:16 server systemd[1]: lightdm.service: Failed with result 'exit-code'.
Jan 21 18:19:16 server systemd[1]: Failed to start Light Display Manager.
Jan 21 18:19:16 server systemd[1]: lightdm.service: Triggering OnFailure= dependencies.
Das /var/log/lightdm/lightdm.log
lässt mich auf ein Xserver-Problem hinweisen in/var/log/lightdm/x-0.log
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan 21 18:19:16 2020
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
(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.
und ausführlicher in/var/log/Xorg.0.log
[ 3.799] (II) LoadModule: "fbdev"
[ 3.799] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 3.800] (II) Module fbdev: vendor="X.Org Foundation"
[ 3.800] compiled for 1.20.0, module version = 0.5.0
[ 3.800] Module class: X.Org Video Driver
[ 3.800] ABI class: X.Org Video Driver, version 24.0
[ 3.800] (II) LoadModule: "vesa"
[ 3.800] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 3.800] (II) Module vesa: vendor="X.Org Foundation"
[ 3.800] compiled for 1.20.1, module version = 2.4.0
[ 3.800] Module class: X.Org Video Driver
[ 3.800] ABI class: X.Org Video Driver, version 24.0
[ 3.800] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 3.800] (II) FBDEV: driver for framebuffer: fbdev
[ 3.800] (II) VESA: driver for VESA chipsets: vesa
[ 3.800] (EE) open /dev/dri/card0: No such file or directory
[ 3.800] (WW) Falling back to old probe method for modesetting
[ 3.800] (EE) open /dev/dri/card0: No such file or directory
[ 3.800] (II) Loading sub module "fbdevhw"
[ 3.800] (II) LoadModule: "fbdevhw"
[ 3.800] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 3.800] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 3.800] compiled for 1.20.4, module version = 0.0.2
[ 3.800] ABI class: X.Org Video Driver, version 24.0
[ 3.801] (EE) Unable to find a valid framebuffer device
[ 3.801] (WW) Falling back to old probe method for fbdev
[ 3.801] (II) Loading sub module "fbdevhw"
[ 3.801] (II) LoadModule: "fbdevhw"
[ 3.801] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 3.801] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 3.801] compiled for 1.20.4, module version = 0.0.2
[ 3.801] ABI class: X.Org Video Driver, version 24.0
[ 3.801] (II) FBDEV(2): using default device
[ 3.801] (EE) Screen 0 deleted because of no matching config section.
[ 3.801] (II) UnloadModule: "modesetting"
[ 3.801] (EE) Screen 0 deleted because of no matching config section.
[ 3.801] (II) UnloadModule: "fbdev"
[ 3.801] (II) UnloadSubModule: "fbdevhw"
[ 3.801] (EE)
Fatal server error:
[ 3.801] (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
[ 3.801] (EE)
[ 3.801] (EE)
Ich habe die Bus-ID wie folgt gefunden lspci
:
00:02.0 VGA compatible controller: Intel Corporation Device 3e98
Dann habe ich Folgendes erstellt, /etc/X11/xorg.conf
um die Bus-ID anzugeben. Jetzt funktioniert alles.
Section "Device"
Identifier "dev0"
BusID "pci0:0:2:0:"
EndSection
Ich lasse die akzeptierte Antwort offen, falls jemand weiß, warum die Bus-ID vom System nicht erkannt wurde. Bei Bedarf gebe ich gerne weitere Hinweise.