Hi,
I’m trying to set up a persistent remote desktop solution that runs all the time and when you log in to it it is always the same session that remains running even if you log off (so that any running applications aren’t closed on disconnect).
In order to do so I have successfully managed to get EndeavourOS KDE version to auto login on boot. I then successfully connect with x11vnc and get a persistent session, so far so good.
Unfortunately the resolution is extremely low, 800x600 it seems. There is no display according to the plasma display settings page so no way of changing them. This is because there is no physical display and I do not want there to be one, it defeats the purpose of the raspberrys small size to connect monitors and keyboards to it.
In the /boot/config.txt provided by raspbian for RPI4 you can add the following setting to fake a hdmi output:
hdmi_force_hotplug=1
and then combine that with
hdmi_group=2
hdmi_mode=82
to achieve Full HD 1920×1080@60Hz.
However, the /boot/config.txt for Alarm/EndeavourOS looks different and the above settings (which work on raspbian) do not have any effect on my EndeavourOS install.
Does anyone know how to force EndeavourOS to create a “fake” display output with a custom resolution when you autologin and no physical monitor is attached? It is the only only way to get a functioning remote desktop solution that I can think of, although if someone knows a better way I would gladly hear it.