Difference: RemoteLxplusConsoleHowTo (5 vs. 6)

Revision 62011-09-13 - MarcoClemencic

Line: 1 to 1
 
META TOPICPARENT name="LHCbComputing"
This page describes how to start a graphical session on the lxplus cluster via a slow network connection.
Line: 50 to 50
 Verify:
Added:
>
>
 Let's create the VNC server start-up file: copy, with your favorite editor, the following text in a file called ~/.vnc/xstartup
#!/bin/sh
Line: 63 to 64
 vncconfig -iconic & xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
Added:
>
>
# display a dialog box to acquire the AFS token (zenity --entry --title "AFS token" --hide-text --text "Password for $USER@cern.ch" | kinit || zenity --error --title "AFS token" --text "Invalid credentials. You must run 'kinit' on the terminal.")&
 wm=`which icewm mwm twm | head -1` $wm &
Line: 242 to 249
 %IMAGE{"xvncviewer-3.png" type="frame" align="center"
Changed:
<
<
size="75%"
>
>
size="70%"
  caption="xvncviewer: virtual display" }%
Added:
>
>
Because of the way AFS Kerberos tokens are handled, the first thing you have to do is to acquire a new token. To simplify your life, the xstartup script above produces a dialog which asks for your AFS password and calls kinit for you. If you are not using the suggested script or you make a mistake when typing the password (sorry, no retrial), you will have to call kinit yourself from the console.

If you do not like the default terminal xterm, you can use others, like gnome-terminal or konsole (both available on lxplus).

 

Shut down the VNC server

Once you have finished with you session, you should go back to the terminal you left open (Putty or ssh) and call vncserver -kill passing it the display id with the ':' in front.
Line: 263 to 274
 
META FILEATTACHMENT attachment="putty-tunnels.png" attr="h" comment="" date="1315865792" name="putty-tunnels.png" path="putty-tunnels.png" size="65937" stream="putty-tunnels.png" tmpFilename="/usr/tmp/CGItemp17500" user="clemenci" version="1"
META FILEATTACHMENT attachment="xvncviewer-1.png" attr="h" comment="" date="1315909823" name="xvncviewer-1.png" path="xvncviewer-1.png" size="6245" stream="xvncviewer-1.png" tmpFilename="/usr/tmp/CGItemp20969" user="clemenci" version="1"
META FILEATTACHMENT attachment="xvncviewer-2.png" attr="h" comment="" date="1315910177" name="xvncviewer-2.png" path="xvncviewer-2.png" size="5766" stream="xvncviewer-2.png" tmpFilename="/usr/tmp/CGItemp21052" user="clemenci" version="1"
Changed:
<
<
META FILEATTACHMENT attachment="xvncviewer-3.png" attr="h" comment="" date="1315910197" name="xvncviewer-3.png" path="xvncviewer-3.png" size="26928" stream="xvncviewer-3.png" tmpFilename="/usr/tmp/CGItemp21010" user="clemenci" version="1"
>
>
META FILEATTACHMENT attachment="xvncviewer-3.png" attr="h" comment="" date="1315920005" name="xvncviewer-3.png" path="xvncviewer-3.png" size="36656" stream="xvncviewer-3.png" tmpFilename="/usr/tmp/CGItemp24478" user="clemenci" version="3"
 
META FILEATTACHMENT attachment="tightvncviewer-1.png" attr="h" comment="" date="1315910208" name="tightvncviewer-1.png" path="tightvncviewer-1.png" size="9476" stream="tightvncviewer-1.png" tmpFilename="/usr/tmp/CGItemp21072" user="clemenci" version="1"
META FILEATTACHMENT attachment="tightvncviewer-2.png" attr="h" comment="" date="1315910258" name="tightvncviewer-2.png" path="tightvncviewer-2.png" size="8025" stream="tightvncviewer-2.png" tmpFilename="/usr/tmp/CGItemp21034" user="clemenci" version="1"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback