I want to connect via RDP from an Ubuntu 20.04 laptop to an Ubuntu 22.04 desktop.
I've read in the release notes that the 22.04 release support RDP connections. I enabled Remote Desktop sharing in GNOME Settings. However, when I try to connect from my laptop, the Remmina client gets stuck on "Reconnection attempt 1 of 20" (flicking between attempt 0 and 1).
When I look at tutorials on the web for making RDP connections to 22.04, they say we should install xrdp. Is this right? The 22.04 release notes say "RDP is now available for sharing your desktop remotely." If we really have to install an RDP server, what does it mean that "RDP is now available"? How is 22.04 different from previous versions with xrdp installed?
To quickly provide some info,
Sharing Feature in Ubuntu
Before Ubuntu 22.04,
With Ubuntu 22.04,
Screen sharing feature allow you to give access remotely to a user in read mode or the user can access it in full control. You can secure the connection via a Password.
As far as we know, the Sharing features works when a user is logged in on the local machine. If no-one is logged on, Sharing the screen will not work
xRDP Package
xRDP is a MS Remote Desktop Services alternative or fork. which will support RDP Protocol
To be able to use this software, you will need to install it first on your ubuntu machine by executing the following command
When installation is complete,
Important Points
To have exactly the same look'n feel between local desktop and remote desktop, you need to perform some more post-configuration actions
xRDP can be used when no user is logged on locally.
xRDP and Sharing using RDP Protocol cannot be used at the same time as they will use both same port (i.e. 3389)
Hope this help in answering your question about RDP Support in Ubuntu 22.04
Short answer: Remmina version is too old on 20.04:
Upgrade your laptop to 22.04
or
uninstall apt remmina and install the flathub version on 20.04
Try connecting with a local RDP client on your 22.04 machine first.
Enter your IP-address and credentials.
Confirmed working here: default app
remmina
andgnome-connections
(apt install gnome-connections
)You should get a connection and an interesting showcase of the Droste-effect
And I had no troubles connecting from another 22.04 machine.
But getting a connection with the same settings from the default 20.04 client is also not working here either, nor from a aFreeRDP Android client
Try the newer flathub remmina version, that is working on 20.04.