To quickly provide some info,
Sharing Feature in Ubuntu
Before Ubuntu 22.04,
- Screen sharing feature was using VNC Protocol.
With Ubuntu 22.04,
- Screen sharing feature can use RDP or VNC Protocol
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
sudo apt-get install xrdp
When installation is complete,
- get the hostname or IP Address of your Ubuntu machine.
- Logout from the Ubuntu machine (No user should be logged into Ubuntu)
- Go to another machine (Windows or Linux) and start your favorite RDP Client (mstsc or remmina) and specify the ip address/hostname to connect to
- the xRDP Login page will show up
- Enter the correct credentials
- If everything is working as expected, you will see a gnome Desktop and you will be remotely connect to you Ubuntu machine
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
xrdp
is a server that has been available to install on Ubuntu for many years, long before 22.04 was released; for example, it can be installed on 20.04 (and even earlier) usingapt install xrdp
.xrdp
, so I couldn't comment about earlier versions.