Back at your own local computer, type
> vncviewer -via (myusername)@remote.naic.edu dataview:4
(replace "dataview:4" by whatever computer and vnc server
number you're using)
This assumes you're using a regular version of linux.
For Mac, Windows and some Linux versions, the -via option is not available.
On a Mac, run
> ssh -f -L 590N:dataview:590N (myusername)@remote.naic.edu sleep
14400
in a terminal window. Then open Vncviewer (just use the icon) and
select
display > open -- localhost:N
in both lines, N is the vnc server number from above.
For some versions of Linux, use the same first line; then run
> vncviewer localhost:N
For Windows, download tight vnc
and Putty. Running Putty, set
Session
Host name = remote.naic.edu
Protocol = ssh
Connection > data
Auto-login username = (myusername)
Connection > SSH > Tunnels
Source port = 590N
Destination = dataview:590N
Then press 'ADD'. Open the putty remote window by introducing your
username and password, otherwise you can't make the vnc connect. In
VNCViewer, type, exactly
localhost:N
(not the name of the computer you're logging into).
Again, N is the vnc server number described above.
In any case, you'll be asked for 2 passwords; the first is your regular AO
password; the second is the one you made in "dataview" when running
vncserver, and that you'll be comfortable sharing with others.
Now you should have a big window on which you can open xterms,
etc, and soon you'll start CIMA and do the observing from here.
Very usefully, anyone else can hook into your vnc server (if you
give them your vnc password) and see all that you're doing (or do it
for you!) and offer advice, by doing the following from their
computer (linux examples):
> vncviewer -geometry 1200x900 -via (theirusername)@remote.naic.edu dataview:4
Another nice advantage is that, if there is a temporary disruption
in the link to AO, your vncserver will still be running safely at
AO. When communications are re-established, you can always call the
vnc viewer in your local computer,
> vncviewer -via (myusername)@remote.naic.edu dataview:4
And re-start viewing the same vncserver at AO. On that server,
everything will be as you left it before the disruption. This is a
major improvement over running
CIMA directly from an ssh
shell, where even a temporary disruption might kill
CIMA and
force you to start telescope setup all over again.