
- #Connect to vnc server software
- #Connect to vnc server password
- #Connect to vnc server mac
- #Connect to vnc server windows
The following is an example configuration using Putty client on Windows.
#Connect to vnc server software
Windows users need to establish the connection using whatever SSH software they commonly use. # ssh -L :: ssh -L 5924:localhost:5924 command will forward connections on local port 5924 to a remote system's (same as SSH server host Cheaha - hence localhost) port 5924. Set up SSH port forwarding using the native SSH command.
#Connect to vnc server mac
Port-forwarding from Linux or Mac Systems In other words, your desktop remains active across your connections to it. You can disconnect and reconnect to your desktop by establishing this SSH session whenever you need to access your desktop. This SSH session provides the connection to your VNC desktop and must remain active while you use the desktop. Hence, we need to use SSH local port forwarding to connect to this server. This port isn't directly accessible from the internet. Terminating the VNC desktop can now be done via:Įstablish a Network Connection to your VNC ServerĪs indicated in the output from the vncserver command, the VNC desktop is listening for connections on a higher numbered port. In the above example, the VNC display port is :4. The VNC server display port can be found using the following command (display port format is a : followed by 1 or more digits): The command takes a single argument, the display port. Stopping the VNC process is done using the vncserver -kill command. For example, if you want a wide screen geometry popular with laptops, you might start the VNC server with: If you want to start your desktop with an alternate geometry to match your application, personal desktop environment, or other preferences, simply add a "-geometry hieghtxwidth" argument to your vncserver command. The default size of your cluster desktop is 1024x768 pixels. When you no longer need your desktop, simply log out of your desktop using the desktop's log out menu option or by explicitly ending the vncserver command with the 'vncserver -kill ' command. This allows you to reconnect to the same desktop session without having to first start the vncserver, leaving all your desktop applications active. Please note that the vncserver will continue to run in the backgound on the head node until it is explicitly stopped. The GNOME2 desktop provides a familiar desktop experience and can be selected by creating the following vncserver startup script (~/.vnc/xstartup).Ĭat > $HOME/.vnc/xstartup ' option and the vncserver will try to use it if it's available. The vncserver command relies on a configuration script to start your virtual desktop environment.
#Connect to vnc server password
By default, the command stores an obfuscated version of the password in the file $HOME/.vnc/passwd. Remember this password as you will be prompted for it when you access your cluster desktop. The password is validated each time a connection comes in, so it can be changed on the fly using vncpasswd command anytime later. You must maintain a password for your VNC server sessions using the vncpasswd command. (Alternatively, you can run the vncserver command without this configure and and start a very basic (but harder to use) desktop environment.) To get started log in to cheaha via ssh. These instructions will configure the VNC server to use the Gnome desktop environment, the default desktop environment on the cluster. VNC use on Cheaha requires a one-time-setup to configure settings to starting the virtual desktop.
#Connect to vnc server windows
4.2 Port-forwarding from Windows Systems.4.1 Port-forwarding from Linux or Mac Systems.4 Establish a Network Connection to your VNC Server.
