Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Unable to use Remote Desktop Connection to VM instance using Oracle Linux 8.6 and XRDP — Cloud Customer Connect
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

Received Response
689
Views
2
Comments
edited Jul 28, 2022 7:24PM in Oracle Cloud Infrastructure - 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!