Using Remmina, to remote from Ubuntu PC to another Ubuntu PC (home network), can I use RDP; or RDP is a Windows Protocol (Remote from Ubuntu to Windows) ?
I am getting "Cannot Connect to the 192.126.1.69 RDP Server" error.
Do I need to configure Remmina to connect from Ubuntu PC to Ubuntu PC via VNC instead? And if so; do I need to install what 'VNC' and on both PCs, or target PC only ?
Thanx
2 Answers
I did figure it out.
- I can remote from Ubuntu PC to Ubuntu PC by installing Xrdp Server on Traget Ubuntu PC. I assumed Remmina will install the necessary servers. It is not the case; after installing Remmina, install RDP Server, and configure ufw Firewall on Target PC.
Instructions are from How to Install Xrdp Server (Remote Desktop) on Ubuntu 20.04 | Linuxize.
Update first
Xrdp is incuded in the default Ubuntu repositories; to install, run:
$ sudo apt install xrdpWhen installation is complete, the Xrdp service will automatically start. You can verify by typing:
$ sudo systemctl status xrdpBy default Xrdp uses the
/etc/ssl/private/ssl-cert-snakeoil.keyfile that is readable only by members of thessl-certgroup. Run the following command to add the xrdp user to the group :$ sudo adduser xrdp ssl-certRestart the Xrdp service for changes to take effect:
$ sudo systemctl restart xrdp
Firewall:
To allow access to the Xrdp server from a specific IP address or IP range, for example, 192.168.33.0/24, you would run the following command:
$ sudo ufw allow # from 192.168.33.0/24 to any port 3389If you want to allow access from anywhere (which is highly discouraged for security reasons), run:
$ sudo ufw allow 3389 You can also connect via VNC, which is more "natural" for Linux than RDP which is a Windows protocol.
To connect via VNC, you have to install "vino" server on the target PC. I described the procedure here: what is the easy/minimal way to remotely(over the Internet) connect a Ubuntu 20.04 system from another Ubuntu 20.04 system?
1