HOST lxplus* GSSAPITrustDNS yes GSSAPIAuthentication yes GSSAPIDelegateCredentials yesDon't forget to set proper permissions:
chmod 644 ~/.ssh/config* Obtain a kerberos ticket (valid for 25 hours, repeat as needed):
kinit* Verify that you can connect to lxplus:
ssh -Y lxplus.cern.chshould take you to lxplus without asking for a password.
yum install vnc* Connect to lxplus:
ssh -Y yourusername@lxplus.cern.chNote which machine you are on:
uname -nlxplus793.cern.ch * At lxplus, start the vnc server. It will ask you to set up a password, remember it. You will need it for this and all subsequent connections. If you ever forget the password, delete the ~/.vnc directory to start over.
vncserver :8 -localhost -name mysession -geometry 1024x768If :8 is already in use, pick any other number * On your local machine, start the vns client:
vncviewer -via yourusername@lxplus793.cern.ch :8* After you are done, kill the server on remote machine:
vncserver -kill :8
ssh -Y yourusername@lxplus.cern.chNote which machine you are on:
uname -nlxplus793.cern.ch * At lxplus, start the vnc server. It will ask you to set up a password, remember it. You will need it for this and all subsequent connections. If you ever forget the password, delete the ~/.vnc directory to start over.
vncserver :8 -localhost -name mysession -geometry 1024x768If :8 is already in use, pick any other number xx and modify the port number (59xx) below accordingly * From mac's xterm, type
ssh yourusername@lxplus793.cern.ch -L 5908:localhost:5908* On mac, start Finder, press Apple+k and connect to vnc://localhost:5908 * After you are done, kill the server at lxplus:
vncserver -kill :8
ssh -Y yourusername@lxplus.cern.chNote which machine you are on:
uname -nlxplus793.cern.ch * Start the vnc server. It will ask you to set up a password, remember it. You will need it for this and all subsequent connections. If you ever forget the password, delete the ~/.vnc directory to start over.
vncserver :8 -localhost -name mysession -geometry 1024x768If :8 is already in use, pick any other number xx and modify the port number (59xx) below accordingly * From Windows command prompt, set up the ssh tunnel:
plink -ssh -L 5908:localhost:5908 yourusername@lxplus793.cern.ch* From Windows, start the TightVNC client. When prompted for the host name, enter
localhost::5908(note two colons after localhost) * After you are done, kill the server at lxplus:
vncserver -kill :8
export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase alias setupATLAS='source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh'