Accessing a Graphical User Interface (GUI) on Linux via VNC

To access a Linux GUI via VNC:



Install a VNC viewer on your local computer

Use SSH to connect to the compute instance.

Configure a VNC password by typing vncpasswd

When prompted, enter a new password and verify it

Optionally, enter a view only password

After the vncpasswd utility exits, start the VNC server by typing vncserver



On your local computer, connect to your instance and create an ssh

tunnel for port 5901 (for display number 1): $ ssh -L

5901:localhost:5901 –i id_rsa user@<IP Address>* On your local

computer, start a VNC viewer and establish a VNC connection to

localhost:1

Enter the VNC password you set earlier

Comments

Popular posts from this blog

Check MySQL query history from command line