VNC is an easy to use and a freely available application for remote x-windows sessions. VNC comes in two parts: the server, which is already installed on Stanford's leland computer at /usr/pubsw/bin/vncserver, and the client, which you need to download yourself. Following is a summary of the steps that you will need to follow to start a VNC session.
a) SSH remote login to Stanford unix computers using PuTTy or secureCRT or any other secure client. b) Start a vncserver session on the remote unix computer. c) Note down the vncserver output number e.g. elaine2.stanford.edu:13 c) Set the vnc password on the remote unix computer. This needs to be done one time only. d) Start vnc viewer on the local PC or Mac. e) Enter the destination e.g. elaine2.stanford.edu:13 and enter password. f) The x-session should pop up on your local machine.Details:
Following are the detailed steps required to use VNC.
elaine2> cd
elaine2> mkdir .vnc
vncserver to start the VNC server application. The
server will return a virtual screen number for you. For illustration purposes,
assume it's elaine2.stanford.edu:25.
elaine2.stanford.edu:25. You'll be asked for your password, and
provided you enter it correctly, a large, virtual X Window will appear.
elaine2> setenv DISPLAY elaine2:25 elaine2> mwm& elaine2> xterm&and up will pop an xterm window on the client side. Depending on how your configuration files are setup, you may only need to do the
setenv portion of the above commands. You can then do whatever it
is you do on Unix, with very few exceptions.
vncserver -kill :25or whatever virtual graphics port you were given when you started the server in the first place. For more documentation on vnc, visit the RealVNC website.
|
Jawad Nasrullah / scpdta@ee.stanford.edu Last modified: Thu Apr 1 2004 |
|
|