Welcome to the Linux Foundation Forum!

RealVNC server installation on Red Hat 9 Enterprise EC2

Hello, dear community.
I’m struggling with RealVNC server enterprise installation on a new EC2 instance with Red Hat 9 AMI.
My main goal: Allow multiple domain users to connect to the machine using RealVNC viewer.
Actions that were taken:
1. GNOME GUI was installed following this article:
[https://linuxconfig.org/install-gnome-gui-on-rhel-7-linux-server].
(https://linuxconfig.org/install-gnome-gui-on-rhel-7-linux-server)
yum groupinstall "Server with GUI"     
Installation was successful.

  1. Set GNOME to start every time the system boots up:   
    systemctl set-default graphical.target
    The machine was rebooted.

  2. Installing VNC server (6.11) using this article:
        [https://help.realvnc.com/hc/en-us/articles/360002253818].
    (https://help.realvnc.com/hc/en-us/articles/360002253818) 
    Installation was successful.

  3. VNC server license key was added 
    sudo vnclicense -add XXXXX-XXXXX-XXXXX-XXXXX-XXXXX   
    Successfully applied.

  4. Enable domain users to connect to VNC Server using system credentials:   
    echo -e 'auth include password-auth\naccount include password-auth\nsession
    include password-auth' | sudo tee /etc/pam.d/vncserver.custom

  5. Register the common PAM configuration with VNC Server: 
    echo 'PamApplicationName=vncserver.custom' | sudo tee -a /etc/vnc/config.d/common.custom

  6. Prepare a system for VNC Server in Virtual Mode:   
    Install X11 dummy drive on Redhat-compatible systems:   
    sudo yum install xorg-x11-drv-dummy   
    Configure VNC Server to use X11 dummy driver   
    sudo vncinitconfig --enable-system-xorg

  7. Configure and start VNC Server in Virtual Mode daemon   
    sudo systemctl start vncserver-virtuald.service

  8. Tried to connect to the machine using RealVNC viewer to machineIP:5999   
     Getting time-out error message.

netstat -tunlp output shows that port 5999 is listening.

What am I missing?
I really appreciate any help you can provide.

Thanks!

Thank you.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training