Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Create a connection to SLAC using vpn (see vpn link above)
  • Invoke a command window on your PC:
    • click the Start Button in the lower lefthand corner of your screen
    • enter Command in the search box
    • select "Command line tools" from the list
  • In the command window, use putty to create a secure scp tunnel to the vncserver host, and your vncserver port:
    • putty -ssh -L pcport:localhost:59displaynum vncserverhost.slac.stanford.edu
      • pcport = port on your pc, 590anything, e.g. 5901
      • displaynum = 2-digit vncserver session i, as noted when you started the vncserver, with leading 0 if needed, see above
      • vncserverhost = host where vncserver is running
    • for example
      putty -ssh -L 59015902:localhost:5903 iris01.slac.stanford.edu
      or
      putty -ssh -L 5902:localhost:5912 iris02.slac.stanford.edu
  • Enter your unix username and password.
  • Now run the vnc client.
  • In the Server box, enter localhost:pcport
    for example localhost:59012
  • click OK
  • The vnc viewer authentication popup will appear; this could take some time, perhaps up to 30 seconds or a minute.
  • Enter your vnc server password (you don't need to enter username in the popup).
  • Your linux desktop should appear.

Troubleshooting

  • no vnc ps configured – get exact message here
  • this means that your session has lost the ability to read the vnc password file, or can't find the pw file. Here are some things to try:
    • Verify you are still connected to SLAC via vpn
    • Verify you're putty-ed into the right host and port for your vncserver.
    • log into the vncserver host, with normal ports, and verify your vncserver session:
      putty -ssh iris01
      ps -ef | grep vnc | grep yourusername
    • If the process is not running, then restart it, and make sure to note the displaynum.
    • You can try to reset the vnc password (use vncpasswd command, as detailed above)
    • Close your putty ssh sessions
    • Re-establish the tunnel to the vncserver port.

References 

SLAC Linux VNC page: http://www.slac.stanford.edu/comp/unix/vnc.html

...