Raspberry Pi zeigt keinen grafischen Desktop mehr
Worum geht es?
Irgendwann im Laufe der Installation von
Homeassistant zeigt mein Raspi keinen grafischen Desktop mehr an. Da ich zu sehr mit dem Installieren von
Homeassistant beschäftigt bin, bekomme ich nicht mit, welcher Schritt zu diesem Problem geführt hat.
Lösungsschritte
Vergleich mit der SD-Karte
Der Desktop hat vor dem Wechsel auf auf die SSD noch funktioniert. Somit habe ich auf der SD-Karte ein funktionsfähiges System. Ich versuche mal Dateien zu vergleichen. Ich mounte also die SD-Karte mit
mount -o rw /dev/mmcblk0p2 /root/sdkarte
-
/etc/xdg/lxsession/LXDE-pi/autostart
ist identisch
-
/boot/cmdline.txt
ist identisch
Was ich bereits weiss
- Beim Booten wird etwas auf dem Bildschirm angezeigt (Text während des Bootens)
- Kabel ist in Ordnung
- Bildschirm wird grundsätzlich erkannt
- Problem passiert vermutlich beim Umschalten auf GUI
- Anschluss eines anderen Monitors HDMI-HDMI bringt keine Verbesserung
- Das GUI wird gestartet (u.a. wird die Maus von Synergy angenommen)
Sonstige Versuche
-
config_hdmi_boost=4
in config.txt
bringt nichts
- Booten von der SD-Karte, denn damals hat es noch funktioniert: Die Karte bootet nicht mehr, keine Ahnung weshalb
Hilfreiche Links
Logs (temporär)
root@raspi:/var/log# grep vc4 messages
Jan 2 10:31:59 raspi kernel: [ 11.520831] fb0: switching to vc4drmfb from simple
Jan 2 10:31:59 raspi kernel: [ 11.535446] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
Jan 2 10:31:59 raspi kernel: [ 11.547639] rc rc0: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0
Jan 2 10:31:59 raspi kernel: [ 11.548001] input: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0/input0
Jan 2 10:31:59 raspi kernel: [ 12.738950] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
Jan 2 10:31:59 raspi kernel: [ 12.749034] rc rc0: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0
Jan 2 10:31:59 raspi kernel: [ 12.749327] input: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0/input1
Jan 2 10:31:59 raspi kernel: [ 12.754721] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops [vc4])
Jan 2 10:31:59 raspi kernel: [ 12.755123] vc4-drm soc:gpu: bound 3f806000.vec (ops vc4_vec_ops [vc4])
Jan 2 10:31:59 raspi kernel: [ 12.755507] vc4-drm soc:gpu: bound 3f004000.txp (ops vc4_txp_ops [vc4])
Jan 2 10:31:59 raspi kernel: [ 12.755852] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops [vc4])
Jan 2 10:31:59 raspi kernel: [ 12.756138] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops [vc4])
Jan 2 10:31:59 raspi kernel: [ 12.756443] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops [vc4])
Jan 2 10:31:59 raspi kernel: [ 12.756686] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops [vc4])
Jan 2 10:31:59 raspi kernel: [ 12.780588] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
Jan 2 10:31:59 raspi kernel: [ 12.823275] vc4-drm soc:gpu: [drm] fb0: vc4drmfb frame buffer device
root@raspi:/var/log/lightdm# more lightdm.log
[+0.02s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.02s] DEBUG: Starting Light Display Manager 1.26.0, UID=0 PID=550
[+0.02s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.02s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/01_debian.conf
[+0.02s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.02s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.02s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.02s] DEBUG: Registered seat module local
[+0.02s] DEBUG: Registered seat module xremote
[+0.03s] DEBUG: Registered seat module unity
[+0.03s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.09s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.14s] DEBUG: Monitoring logind for seats
[+0.14s] DEBUG: New seat added from logind: seat0
[+0.14s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.14s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.14s] DEBUG: Seat seat0: Starting
[+0.14s] DEBUG: Seat seat0: Creating user session
[+0.15s] WARNING: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freede
sktop.Accounts was not provided by any .service files
[+0.15s] DEBUG: Loading user config from /etc/lightdm/users.conf
[+0.16s] DEBUG: User pi added
[+0.21s] DEBUG: Seat seat0: Creating display server of type x
[+0.23s] DEBUG: Seat seat0: Plymouth is running on VT 1, but this is less than the configured minimum of 7 so not replacing it
[+0.23s] DEBUG: Quitting Plymouth
[+0.31s] DEBUG: Using VT 7
[+0.31s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.31s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.31s] DEBUG: XServer 0: Writing X server authority to /var/run/lightdm/root/:0
[+0.31s] DEBUG: XServer 0: Launching X Server
[+0.32s] DEBUG: Launching process 584: /usr/bin/X :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.32s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.32s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.32s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+2.41s] DEBUG: Got signal 10 from process 584
[+2.41s] DEBUG: XServer 0: Got signal from X server :0
[+2.41s] DEBUG: XServer 0: Connecting to XServer :0
[+2.57s] DEBUG: Launching process 657: /usr/share/dispsetup.sh
[+2.63s] DEBUG: Process 657 exited with return value 0
[+2.63s] DEBUG: Seat seat0: Exit status of /usr/share/dispsetup.sh: 0
[+2.64s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+2.64s] DEBUG: Session pid=671: Started with service 'lightdm-autologin', username 'pi'
[+2.83s] DEBUG: Session pid=671: Authentication complete with return value 0: Success
[+2.83s] DEBUG: Seat seat0: Session authenticated, running command
[+2.83s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+2.83s] DEBUG: Session pid=671: Running command /etc/X11/Xsession default
[+2.83s] DEBUG: Creating shared data directory /var/lib/lightdm/data/pi
[+2.84s] DEBUG: Session pid=671: Logging to .xsession-errors
[+4.86s] DEBUG: Activating VT 7
[+4.86s] DEBUG: Activating login1 session 1
[+4.87s] DEBUG: Seat seat0 changes active session to 1
[+4.87s] DEBUG: Session 1 is already active