Using VNC to connect to Virtual Machines
From Nuclear Physics Group Documentation Pages
Jump to navigationJump to searchSetting up VMs for VNC
First add these three lines to the bottom of the .vmx file for that virtual machine:
RemoteDisplay.vnc.enabled = "TRUE" RemoteDisplay.vnc.password = "vncpassword" RemoteDisplay.vnc.port = "5900"
Make sure to restart the virtual machine.
Using VNC with SSH to connect to guest VM
Then ssh to the host machine using this command:
ssh -L 8080:localhost:5900 hostmachine.unh.edu
Then use any vnc client to connect to localhost:8080 using the password set above.