Remote Desktop Access with xrdp will not work after installing Virtualmin 7

I got it to work with those commands:

sudo firewall-cmd --zone=public --add-port=3389/tcp --permanent
sudo firewall-cmd --reload

Problem:

SYSTEM INFORMATION
OS type and version Ubuntu 22.04.04
Virtualmin version Virtualmin 7.3.4

When I install Virtualmin on Webmin version (2.105), my xrdp version(0.9.17-2ubuntu2) (for Remote desktop connection) won’t work correctly anymore. It does not connect to the server anymore with Windows 11 “Remote Desktop Connection” software.

I also get such errors from xrdp after installing Virtualmin:

[ERROR] xrdp_sec_recv: xrdp_mcs_recv failed
[ERROR] xrdp_rdp_recv: xrdp_sec_recv failed
[ERROR] libxrdp_process_data: xrdp_rdp_recv failed
[ERROR] xrdp_process_data_in: xrdp_process_loop failed
[ERROR] xrdp_iso_send: trans_write_copy_s failed
[ERROR] Sending [ITU T.125] DisconnectProviderUltimatum failed

I installed on Ubuntu with preinstalled Webmin from Contabo… The commands I write after preinstalled Webmin server to get the bug:

sudo apt update
sudo apt install xfce4 xfce4-goodies -y
sudo apt install xrdp -y
wget https://software.virtualmin.com/gpl/scripts/virtualmin-install.sh
sudo sh virtualmin-install.sh --bundle LEMP

What Remote Desktop software are you using with Ubuntu which would work with Virtualmin 7.3.4?

Firewall. You need to allow the necessary ports for whatever you need to do in Firewalld, if it’s something not covered by the default firewall settings in Virtualmin.

Thanks for the idea!

I got it working with those commands:

sudo firewall-cmd --zone=public --add-port=3389/tcp --permanent
sudo firewall-cmd --reload

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.