Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

This document contains instructions for setting up a connection from a Windows PC to a VNC session on a public linux Linux host at SLAC.  

IMPORTANT, PLEASE NOTE:

  • Due to timeouts associated with things like afs tokens, kerberos tickets, vpn, and ssh tunnelling, vncserver sessions left running can become inaccessible to VNC Viewers, and need will to be restarted. Troubleshooting section below has some possibilities for getting around the problem, but they are not always successful. In any case, please do not leave unsaved work in an inactive your session.
  • The iris group of SCCS machines are equipped with fonts necessary for running edm displays like lclshome. Other machines like noric or yakut do not have these fonts.

Set up your PC (one time)

Configure your vncserver (one time)

...

  • Using putty (or XWin-32 if you prefer) log into iris01.slac.stanford.edu, providing your unix username and password
  • Create your vnc password:
    • > vncpasswd
      Provide a password following the usual SLAC password guidelines.
      The password will be stored in ~/.vnc/passwd
      To reset the password, you can run vncpasswd again.

...

  • Start vncserver to create your xstartup file:
    • > vncserver -localhost -nolisten tcp -geometry 1440x900
    • Make note of the display number that is returned, for example:
      jrock@iris01> vncserver -localhost -nolisten tcp -geometry 1440x900
      New 'iris01:3 (jrock)' desktop is iris01:3
      Starting applications specified in /u/cd/jrock/.vnc/xstartup
      Log file is /u/cd/jrock/.vnc/iris01:3.log
      In this case, 3 is the display number, which is a unique ID for your particular vncserver session.
      In the following instructions, the display number is indicated by * * displaynum
  • Kill the server:
    vncserver -kill :displaynum
    for example
    vncserver -kill :3

...

Every time you need a new session.

...

  • 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

...

  • "The connection closed unexpectedly" (at VNC Viewer startup)
    • You're logged into the wrong displaynum port corresponding to your vncserver.
  • edm displays (e.g. lclshome) come up without text
    • Not all SCCS machines have the fontset for edm. Please use the iris machines.

References 

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

contacts:

  • Judy Rock (x3639)
  • Mike Zelazny (x3673)
  • Jingchen Zhou (x4661)

...