I'm trying to get the Remote Desktop feature working on Ubuntu (Desktop) 22.04, but I can't seem to connect to my Ubuntu desktop from a Windows (10) PC. I'm using these instructions:
- https://help.ubuntu.com/stable/ubuntu-help/sharing-desktop.html.en
- https://linuxconfig.org/ubuntu-22-04-remote-desktop-access-from-windows-10
I've enabled Remote Desktop in the (Ubuntu) Sharing Settings, however when I run the Remote Desktop client (i.e. the standard mstsc.exe client) on Windows and connect to the IP address of the Ubuntu server, I get this login dialog:
Image may be NSFW.
Clik here to view.
The Session dropdown has 4 options:
- Xorg
- Xvnc
- vnc-any
- neutrinordp-any
Selecting Xorg and some login credentials causes the window to close. If I leave the credentials blank I get an Ok dialog with this message:
Connecting to sesman ip 127.0.0.1 port 3350sesman connect oksending login info to session manager, please wait...login failed for display 0
If I click Ok the it takes me back to the login dialog.
If I select Xvnc and some credentials then I get a blank green screen.
I get similar behaviour if I disable Remote Desktop in the Sharing settings.
I tried the same thing with a second Ubuntu 22.04 host and get the same thing.