This page is meant as a primer for initiating remote access session to hutch laser controls systems. If the desire is to access accelerator-side controls systems such as those for the LCLS-I and LCLS-II photoinjectors, the following page is also recommendable: Remotely connecting to S20 laser controls and diagnostic (for on-shift QLOs)
Info | ||
---|---|---|
| ||
When working off-site, it may be important access the critical controls and computing architecture needed to support hutch activities. NoMachine, an application-based tool, and FastX, a browser-based utility, are two different ways to get this access. This brief tutorial walks through some of the basic steps of use. Note also that MobaXterm is another well-recommended remote access platform that, while not shown in this tutorial, is often preferred above NoMachine for its stability and added conveniences. |
Before getting started: remote access permissions
...
Before doing anything, make sure you start with a machine on the SLAC network (you may need to VPN using Cisco AnyConnect)
Open NoMachine, start with settings circled in blue
Make sure you’ve chosen ‘password authentication’
Select the one called PSNXSERV and then ‘Connect’
Enter your UNIX password
Select the session called PSNXSERV and then ‘Connect’
You will be presented with a terminal window.
Type the following to tunnel and connect to
psdev
, which is the main hub for connecting to hutch machines:ssh psdev
Wait until you've connected, then connect to the computer you want (e.g.
mec-monitor
) usingssh
:ssh mec-monitor
From there, for example, you can run MEC Home, MEC Python, VNC Viewer, or whatever!
(Note that instead of tunneling throughpsdev
to an LCLS machine, it may occasionally be important to accessmcclogin
and andphysics@lcls-srv01
instead for e.g. supporting work at the LCLS-I photinjector.)
Note | ||
---|---|---|
| ||
NOTE: If you follow the steps above, but the terminal says something like If this is the case, you'll need to make sure you follow the directions below about configuring your |
FastX
Open a web browser and go to the following website: https://fastx3.slac.stanford.edu:3300/
Log in using your Unix account credentials
Close the pop-up message
Start a new session by clicking the ‘+’ sign
- Select 'Terminal'
Click “Launch” in the bottom-right corner
You will be presented with a terminal window.
Type the following to tunnel and connect to
psdev
, which is the main hub for connecting to hutch machines:ssh psdev
Wait until you've connected, then connect to the computer you want (e.g.
mec-monitor
) usingssh
:ssh mec-monitor
From there, for example, you can run MEC Home, MEC Python, VNC Viewer, or whatever!
(Note that instead of tunneling throughpsdev
to an LCLS machine, it may occasionally be important to accessmcclogin
and andphysics@lcls-srv01
instead for e.g. supporting work at the LCLS-I photinjector.)
Info | ||
---|---|---|
| ||
If it’s your first time using the terminal line under your own log-in credentials (whether using FastX, NoMachine, etc.), you'll need to define some commands in order to run the utilities you want. To do so, from your terminal type Copy the text below and paste it into the file you’ve opened. [Note: the NoMachine windows share the same clipboard as your desktop, though this may be trickier using FastX.] Once successful, click ‘save’ and exit the text editor. Now from the terminal, you should be able to do things like launch MEC Home, mecpython, VNC, etc. If you're still having trouble, try typing WARNING: THERE MAY BE SPECIAL CHARACTERS PROBLEMS WHEN COPYING AND PASTING – WATCH OUT FOR PROBLEMS!! SEE ALSO: https://github.com/pcdshub/shared-dotfiles and https://github.com/pcdshub/shared-dotfiles/blob/master/on_site/bashrc !! -------------------Copy everything below this line into your .bashrc file-------------------
|
Final note:
This page is also mirrored here on the LCLS Laser Confluence: How to remotely connect to the EPICS control system for lasers
Related articles
Content by Label | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...