Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Unable to use Remote Desktop Connection to VM instance using Oracle Linux 8.6 and XRDP

edited Jul 28, 2022 7:24PM in OCI - General 2 comments

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!