This page provides instructions for setting the DISPLAY variable in order to make the archive viewer and other X11 applications perform better on your office computer or laptop.
NOTE 1: These instructions assume that you know how to connect to the LCLS home screen from your computer. If you don't know how to do this, instructions are available here:
NOTE 2: The instructions on this page do not work for SLAC Linux computers. If you figure out a way to do this in linux, please modify the instructions!
Set up your computer to accept X displays.
Windows users: Make sure xwin32 is running. You'll see a blue X icon in the tray at the lower right corner of your screen.
Linux users: Add lcls-prod02 to the list of allowed hosts. Do this by typing the following in a terminal, BEFORE connecting to lcls-prod02:
xhost +lcls-prod02.slac.stanford.edu
Ssh to lcls-prod02.slac.stanford.edu.
Option A: (Does not work for VPN)
Look at your computer. There might be a label on it with the IP address listed.
Option B: (Does not work for VPN)
If you're using a Windows PC, use Microsoft Windows to determine your computer's hostname:
On the desktop, right click on "My Computer" and select "Properties". Select the "Computer Name" tab. Look at the "Full Computer Name". That's your hostname.
Option C: (Works for regular connection or VPN connection)
Type the following command at the prompt on lcls-prod02:
The result is SSH_CLIENT=<Your IP Address> <some number> <port>
Before loading lclshome or any other applications, set the DISPLAY environment variable by typing the following:
setenv DISPLAY <your ip address OR your hostname>:0.0
Don't forget to add :0.0 at the end of your hostname or ip address!
To launch the home screen:
If after setting the DISPLAY environment variable (Step 4 above), you can't get any displays to load, you have probably made an error with step 3. Try step 3 again. If you continue to have problems, log out of lcls-prod02 and log back in.