Connect to a Node with VNC
You can use VNC to work with any OS resources that are accessible from the node, including graphical applications.
From a Windows platform, you can use RealVNC or TightVNC. From a Linux platform, you can use the vncviewer
utility that is included with your Linux distribution.
By default, the VNC server on a node in Java Cloud Service uses a port that is not directly available through the Internet. An SSH tunnel enables access to the node’s VNC server port on your local computer. An SSH tunnel also ensures that all VNC communication uses a secure protocol.
After your work with the SSH tunnel is completed, press Ctrl+C on your local computer to close the SSH tunnel.
To terminate the VNC server on the node, run the command vncserver —kill :display_num
. For example, vncserver —kill :1