System boots into black screen with auto login for user dietpi

Required Information

  • DietPi version | 9.20
  • Distro version | trixie
  • Kernel version | 6.12.58
  • Architecture | arm64
  • SBC model | Pine A64
  • Power supply used | RPi 5V 1A
  • SD card used | Samsung Evo

Additional Information (if applicable)

  • Software title | X11 & Xfce

Steps to reproduce

  1. Install X11 and Xfce
  2. Set auto login to DE for user dietpi
  3. Reboot

Expected behaviour

  • System boots into Xfce

Actual behaviour

  • System only shows a black screen
  • When auto login is set to DE for user root, the screen shows Xfce

Since booting into Xfce using root works flawlessly, I suspect my dietpi user isn’t allowed to access the xserver. I tried to allow any user to use xinit (stackexchange) but there was no Xwrapper.config. I created that file and put in

allowed_users = anybody

but that didn’t work.

Using CTRL + ALT + F1 i see:

failed to open /dev/dri/renderD128: Permission denied
glx: failed to create dri3 screen
failed to load driver: sun41-drm
(II) AIGLX: Suspending AIGLX clients for VT Switch
(II) AIGLX: Suspending AIGLX clients for VT Switch
(II) AIGLX: Suspending AIGLX clients for VT Switch

Can somebody please help me? Is there any additional info I can provide to fix this?

Did you tried adding user dietpi to group video?