LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 11-26-2022, 12:23 PM   #1
MillerMi84
LQ Newbie
 
Registered: Nov 2022
Posts: 2

Rep: Reputation: 0
RealVNC server installation on Red Hat 9


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.
 
Old 12-30-2022, 04:09 PM   #2
adam999
Member
 
Registered: Sep 2006
Posts: 105

Rep: Reputation: 18
Could be an AWS security group? I would question why you are running a gui on a linux instance in AWS though
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Red Hat powers cloud-scale DevOps with the general availability of Red Hat Cloud Suite and Red Hat OpenStack Platform 8 LXer Syndicated Linux News 0 04-20-2016 04:20 PM
realvnc server installed on fed9 attempting to connect to server from windows desktop nataloi Linux - General 1 04-21-2009 09:31 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 11:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration