VNC to RHEL 7.2 Server

For what ever reason, you may want to have the gui installed on a RHEL 7.2 server, in my case I do.  And for what ever reason you might want to vnc to that server so you don’t need to stand in front of the physical box.  Here’s how I set it up.

First you need to install tiger-vnc-server and some fonts.

1

Then you’ll need to cp and edit the vnc service file

2

Replace the <user> in the white boxes with your username

6

if firewall is enabled on your server

firewall-cmd –permanent –zone=public –add-port=5903/tcp
success
firewall-cmd –reload
success

Next stage is to set the password for the vnc user so you can login

4

This should be enough for the setup, you’ll need to restart and enable services now

5

Now is time to connect to the server from your pc using VNCViewer or Remote Desktop

7.png

BOOM We’re in 🙂

8.png

Quite easy when you know how eh 😀

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s