Unable to use Remote Desktop Connection to VM instance using Oracle Linux 8.6 and XRDP
I created a VM instance on Oracle Cloud, using Oracle Linux 8.6. I added TCP 3389 port in VCN on OCI before installing GUI.
I want to install GUI and allow RDP connection to VM instance, so I installed GNome GUI and XRDP with the following commands (#
is I use root user):
# dnf groupinstall "Server with GUI" -y # systemctl set-default graphical # reboot
Then uncomment the following line in the /etc/gdm/custom.conf
file to ensure that VNC uses X.org instead of Wayland:
WaylandEnable=False
After that, I installed TigerVNC Server and XRDP:
# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -y # yum install tigervnc-server xrdp -y # systemctl start xrdp # systemctl enable xrdp # firewall-cmd --permanent --add-port=3389/tcp # firewall-cmd --reload
Tagged:
1