Running Interactive Jobs on SCC cluster during VNC sessionĪll usage policies remain the same during your work using a VNC connection. To stop the tunnel, log out of the ssh session you started on your local machine.
Use the Desktop number you were given in the script output to terminate the server, using vncserver -kill : desktop_number command, e.g.: % vncserver -kill : 6 Stop SSH tunneling Please terminate your VNC server when you no longer need it. You can reconnect to the same session at a later time. When you quit the VNC viewer, the remote VNC server stays running. You will be prompted to enter your password. In the Connect to Server window that opens, enter the following into the Server Address box, using the port number selected earlier in place of the XXXX: vnc://localhost: XXXX To connect on a Mac, click on the desktop then press the key combo ⌘-K, which will open the Screen Sharing application.
Recent versions of Mac OSX have a VNC client built into the operating system. Where XXXX is the number you selected while configuring SSH tunneling (7070 in the example above). Start the VNC Viewer and when a dialog window appears, enter: VNC server: localhost: XXXX
If you do not have the VNC viewer built into your system, download RealVNC from When you install it, select only the VNC Viewer (you do not need to install VNC server on your local machine). Windows users can execute the same command in their MobaXterm local terminal window. It is important that you keep this connection running while using VNC. In this situation, try another port number, such as one number higher. If the number XXXX you chose for SSH tunneling is not available, you might get an error message that includes the text “ cannot listen to port:” and “ Could not request local forwarding.“. You will be asked to enter your Kerberos/SCC password. This should be entered in your local machine’s terminal window, e.g. Linux and Mac users can execute the ssh command, given in step 1.
It will also give you the detailed information about configuring SSH tunneling and setting up the VNC client. This output will provide you with a VNC desktop and port information. Start your local VNC Client application and enter the following address Where XXXX - some number greater than 1023.Ģ. On your local machine execute the following command: If vncserver started successfully you will see an output similar to the following: Launching VNC server. To start VNC server, run the following script in your SCC Linux terminal window: scc1% vncstart To setup VNC password, execute the following command: scc1% vncpasswd
This VNC password must be different from your Kerberos password and, if you have one, your local SCC Linux password. The first time you use vncserver, you have to establish your VNC password. Login to the SCC cluster using any login node. Running Interactive Jobs on SCC cluster during VNC session.VNC session is persistent, so you can suspend your session,ĭisconnect your computer and resume your session at a later time.Graphics applications at a speed comparable to if the application was running on your local machine. It provides high graphics compression, so you can use GUI-based and.Using VNC on the Shared Computing Cluster (SCC) presents two major benefits: VNC is available on all of the SCC login nodes but requires setup before using It works by transmitting the keyboard and mouse events from your local machine to the remote machine. VNC (Virtual Network Computing) is a graphical desktop sharing system that allows users to remotely work on another computer.
Due to the ease of use and excellent graphics performance of the SCC OnDemand system’s Desktop Session, we recommended its use instead of using VNC as described here.