I'm a newbie - especially to Ubuntu (running 22.04 on the RP4B with no disk encryption). While the PI OS comes out of the box with full-time SSH capability - I'm running into trouble in trying to log-in remotely after a reboot of the PI4B (as would be necessary as it is a remote "headless" security camera system set-up). I can get SSH to run after log-in as well as get a terminal with
cmd putty.exe
before log-in. But cannot get a desktop after the remote reboot (when the PI is waiting for a log-in).
Summary:
SSH works only in terminal mode (no GUI).
VNC only works if someone is logged into the PI already.
XRDP also works if someone is logged into the PI already but flashes for a second and then reverts back to windows screen if someone is not logged in.