Home‎ > ‎unix/linux‎ > ‎Centos Systems‎ > ‎VNC‎ > ‎

VNC Mac Client


Install a VNC Client

There are many out there, VNC Viewer from RealVNC seems to be a good choice.  See

Enable Server for your user

Connect to the server via ssh, and enable vncserver
$ ssh chuck@jump01
chuck@jump01's password:
Last login: Fri Mar 23 21:23:01 2018 from 10.33.32.108
[jump01 ~]$
[jump01 ~]$ vncserver

Warning: jump01:1 is taken because of /tmp/.X1-lock
Remove this file if there is no X server jump01:1

You will require a password to access your desktops.

Password:
Verify:
Would you like to enter a view-only password (y/n)? y
Password:
Verify:
xauth:  file /home/chuck/.Xauthority does not exist


New 'jump01:2 (chuck)' desktop is jump01:2

Creating default startup script /home/chuck/.vnc/xstartup
Creating default config /home/chuck/.vnc/config
Starting applications specified in /home/chuck/.vnc/xstartup
Log file is /home/chuck/.vnc/jump01:2.log

[jump01 ~]$

Once you run the command, you will see the address that you need to connect to (in highlighted). 

Connect via vnc client

In the VNC connect window enter in what you were told from the above section.  In my example, I would enter either jump01:02, or without a DNS lookup 10.33.36.64:2 as show in the image below. 

Then enter in the password that you set in the section above (when you sshed into the server). 

Then login to the Gnome login like if you were in front of the computer


When your done, make sure you log out (3) or lock the screen (4)





Comments