I use my Raspberry Pi4 as a home media server with Plex using Ubuntu Desktop. I use a large flash drive for content that needs me to login every time the machine reboots. I started running into a consistent issue where every login would be met with distortion that looked something like:
I had a difficult time searching for just what this could be and took a few different approaches that worked with mixed results:
Installed a different window manager like xfce4 or kde-plasma
Created a new user.
jeremy
was the only one on the system.The approaches outlined in https://devicetests.com/fixing-xrdp-black-screen-issue-ubuntu including the installation script.
xrdp
on a whim.The solution I ended up going with was outlined in https://forums.raspberrypi.com/viewtopic.php?t=358088 as it works flawlessly for my current user, just as it was before whatever recent update broke it.
sudo nano /etc/X11/xrdp/xorg.conf
Find the line Option DRMDevice line and change it to
Option "DRMDevice" ""
reboot raspberry pi
This is one of the reasons I am not a fan of Linux on the desktop, even in 2024 nor do I think it passes the "grandma test." It was damn near impossible to search for this reliably and took me multiple days of searching over a few weeks. Grandma may have that kinda time because she's retired but I'm not, I need the shit to just work(tm). The Linux desktop experience has come a really long way from when I started working with it though.