VNC Usage
Last updated
Last updated
This is useful for setting up/debugging when they don't have ssh.
You'll first want to install a VNC client on your computer—we recommend TigerVNC. To install TigerVNC on Ubuntu, run the following command:
If you are running Arch Linux, you can install it through Pacman by running the following command:
Then, ssh into the machine running the virtual machine and run the following command as root:
You will get an output similar to 127.0.0.1:1
add 5900 to the last number to get the port the VNC server is listening on. In this case, the port would be 5901.
Then, use ssh tunneling to forward that port to your local computer. If you are not on the CSL network, you will need to use or tunnel twice through one of the es. For example, if the virtual machine was on :
Finally, open up your VNC client and connect to 127.0.0.1:<PORT>
(in this example 5901
). That's it!
Look at your VNC's manual to learn how to use it better. Mostly, though, keyboard and mouse input should pass right through as long as the VNC window is focused.
If you press Ctrl+Alt+Delete while connected via tty, you will reboot the machine, so exercise caution.