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-gnom...7-linux-server
# yum groupinstall "Server with GUI"
Installation was successful.
2.
Set GNOME to start every time the system boots up:
# systemctl set-default graphical.target
3. The machine was rebooted
4.
Installing VNC server (6.11) using this article:
https://help.realvnc.com/hc/en-us/articles/360002253818
Installation was successful
5.
VNC server license key was added
# sudo vnclicense -add XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
Successfully applied.
6.
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
Register the common PAM configuration with VNC Server:
#echo 'PamApplicationName=vncserver.custom' | sudo tee -a /etc/vnc/config.d/common.custom
7.
Prepare a system for VNC Server in Virtual Mode:[/I][/I]
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
8.
Configure and start VNC Server in Virtual Mode daemon
# sudo systemctl start vncserver-virtuald.service
9. 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.
Thank you.