Become superuser or assume the root role.
Start the VNC server.
Enter the VNC server password.
New 'myhost:2 ()' desktop is myhost:2
Creating default startup script /home/user1/.vnc/xstartup
Starting applications specified in /home/user1/.vnc/xstartup
Log file is /home/user1/.vnc/myhost:2.log
From another machine, run the vncviewer command with the address reported by the vncserver command.
# vncviewer hostname:portnumber
# vncviewer myhost:2
Type the password you provided to the vncserver script.
Verify that you see the login screen and can log in to a desktop session.