Virtual Network Computing (VNC)

You can use the vncviewer command to access any computer (Windows or Linux) that is running a VNC server (RealVNC, TightVNC, Ultr@VNC, etc.).

All VNC packages must be installed first via your software manager.

vnc directory

You may need to create the hidden .vnc directory.

ls -a ~/

If you do NOT see a .vnc folder, type this:

md ~/.vnc

vncviewer

This would ask for an IP address, and eventually, a password.

vncviewer 192.168.1.2:2

This would connect to the specified computer:port, but would still ask for a password.

vncviewer 192.168.1.2:2 -passwd ~/.vnc/wtf

This would automatically connect to the specified computer:port and provde the required password.

Minor problem...  you have to manually create the password file first.

Example:  vncpasswd ~/.vnc/wtf

Then type your password twice and hit N when asked to create a view only password.

Once you get everything working you can make a shortcut with this command:

vncviewer 192.168.1.2:2 -passwd ~/.vnc/wtf