I’ve followed the Set up a graphical interface instructions, and have xrdp running on a Ubuntu 26.04 image. I’d like to connect to it from my Mac laptop. The connection instructions for MacOS suggest using the Microsoft Remote Desktop app from Apple’s store, but I think that’s been replaced by the ‘Windows App’, which I have installed on my laptop.
Attempting to connect to the xrdp server on the Multipass instance isn’t working – there’s a quick flash of something like a remote desktop, but it disappears very quickly. I’m using the ‘ubuntu’ account with a password I assigned. I also tried creating a separate, non-’ubuntu’ user account, but the connection fails the same way.
journalctl helpfully tells me “[ERROR] Xorg server closed connection”
In /var/log/xrdp-sesman.log on the Ubuntu instance there’s
[WARN ] Window manager (pid 43488, display 10) exited quickly (0 secs). This could indicate a window manager config problem
which is a little more suggestive, but isn’t telling me how to fix the problem. I haven’t tried to set up a ~/.xinitrc or such, though the docs didn’t suggest that was needed and my rusty X memories seem to recall /etc/X11/stuff should do something at least plausible for sessions in lieu of user configuration files. Any ideas?