Optimizing X11 PerformanceThis 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! Step 1: Set up your computer to accept X displaysSet 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:
Step 2: Log in to the LCLS production server lcls-prod02Ssh to lcls-prod02.slac.stanford.edu. Step 3: Determine the IP address or hostname of your computerOption 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: 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> Step 4: Set the DISPLAY environment variableBefore loading lclshome or any other applications, set the DISPLAY environment variable by typing the following:
Don't forget to add :0.0 at the end of your hostname or ip address! Step 5: Launch the home screen or any other applicationTo launch the home screen:
Step 6: In case of problemsIf 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. |