FarmVNC

From FarmShare

(Difference between revisions)
Jump to: navigation, search
Line 59: Line 59:
run this command in another window to setup the SSH tunnel
run this command in another window to setup the SSH tunnel
-
ssh -L 5901:localhost:5901 bishopj@scorn.stanford.edu
+
ssh -L 5901:localhost:5901 bishopj@corn01.stanford.edu
Line 65: Line 65:
PORT=5901
PORT=5901
 +
</source>
 +
 +
At this point, we need to setup an SSH tunnel so that the vncclient that we need to run on your desktop/laptop can connect to the vncserver that is now listening.
 +
 +
If you are running linux or macos on your laptop/desktop I would suggest cutting and pasting the ssh command that is displayed in the output of farmvnc into a new terminal window.  For example I would run this command.  Keep in mind that the username and port numbers will change from what is written here.
 +
 +
<source lang="sh">
 +
ssh -L 5901:localhost:5901 bishopj@corn01.stanford.edu
</source>
</source>

Revision as of 16:20, 7 October 2013

FarmVNC

This page documents a new script - farmvnc - which has been introduced with the upgrade to Ubuntu 13.04. The steps involved in setting up VNC on Farmshare are largely the same with just the change of substituting farmvnc script instead of vncserver.

running farmvnc

First, run farmvnc to see what resolution's are supported:

$ module load farmvnc
$ farmvnc
please give desired resolution on command line:
for example: farmvnc 1440x900

you can choose any of the following
1024x768
1280x1024
1440x900
1920x1080

I am using a macbook air so I will choose 1440x900 so that full screen vnc will match with native mac resolution.

$ module load farmvnc
$ farmvnc 1440x900
using display 1
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX

run this command in another window to setup the SSH tunnel

ssh -L 5901:localhost:5901 bishopj@corn01.stanford.edu


The VNC desktop is:      localhost:1
PORT=5901

At this point, we need to setup an SSH tunnel so that the vncclient that we need to run on your desktop/laptop can connect to the vncserver that is now listening.

If you are running linux or macos on your laptop/desktop I would suggest cutting and pasting the ssh command that is displayed in the output of farmvnc into a new terminal window. For example I would run this command. Keep in mind that the username and port numbers will change from what is written here.

ssh -L 5901:localhost:5901 bishopj@corn01.stanford.edu
Personal tools
Toolbox
LANGUAGES