Versions Compared

Key

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

...

  1. ssh onto the pi
  2. run the server code as root

Start the viewer on a facet control computer (e.g., trailer)

You are already logged onto the control computer, but you need to establish a port forwarding (or use x-forwarding):

  1. ssh back to mcclogin: ssh smeuren@mcclogin -Y
  2. make sure you have bash (on mcclogin): bash
  3. source /afs/slac/g/lcls/package/anaconda/envs/python3.8env/bin/activate
  4. git clone /afs/slac/g/cd/swe/git/repos/slac/FACET/facet-E320.git/
  5. cd facet-E320/tunnelpi/cameraserver
  6. python3 camviewer.py

Start the viewer: on mcclogin

  • Log onto the FACET control server with a proper ssh port tunnel and X-window forwarding:
    1. get onto the SLAC network:   ssh smeuren@rhel6-64.slac.stanford.edu -Y
    2. get onto mcclogin:                    ssh smeuren@mcclogin -Y
    3. make sure you have bash:       bash
    4. get a python3 env:                    source /afs/slac/g/lcls/package/anaconda/envs/python3.8env/bin/activate
    5. clone into git if needed:         git clone /afs/slac/g/cd/swe/git/repos/slac/FACET/facet-E320.git/
    6. get to the right folder:            cd facet-E320/tunnelpi/cameraserver
    7. run the script:                             python3 camviewer.py

...