Strumenti Utente

Strumenti Sito


calcoloscientifico:userguide:gui

Differenze

Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.

Link a questa pagina di confronto

Entrambe le parti precedenti la revisioneRevisione precedente
Prossima revisione
Revisione precedente
calcoloscientifico:userguide:gui [12/11/2020 11:46] fabio.spatarocalcoloscientifico:userguide:gui [16/06/2024 17:02] (versione attuale) – [TurboVNC] fabio.spataro
Linea 3: Linea 3:
 This page shows how to connect to the ''gui.hpc.unipr.it'' server using Remote Desktop Protocol (RDP). This page shows how to connect to the ''gui.hpc.unipr.it'' server using Remote Desktop Protocol (RDP).
  
-=== Microsoft Windows 10 (client) ===+=== Microsoft Windows (client) ===
  
 Install the [[https://wiki.asi.unipr.it/dokuwiki/doku.php?id=guide_utente:internet:guida_vpn|FortiClient VPN]]. Install the [[https://wiki.asi.unipr.it/dokuwiki/doku.php?id=guide_utente:internet:guida_vpn|FortiClient VPN]].
Linea 40: Linea 40:
  
 === Linux (client) === === Linux (client) ===
- 
-Install an X11 Remote Desktop Protocol (RDP) client like ''xfreerdp'' which is part of the [[http://www.freerdp.com|FreeRDP]] project. 
  
 Install the [[https://wiki.asi.unipr.it/dokuwiki/doku.php?id=guide_utente:internet:guida_vpn|FortiClient VPN]]. Install the [[https://wiki.asi.unipr.it/dokuwiki/doku.php?id=guide_utente:internet:guida_vpn|FortiClient VPN]].
 +
 +(You can try **openfortivpn** otherwise)
 +
 +Install an X11 Remote Desktop Protocol (RDP) client like ''xfreerdp'' which is part of the [[http://www.freerdp.com|FreeRDP]] project.
  
 Activate the VPN connection. Activate the VPN connection.
Linea 51: Linea 53:
 <code> <code>
 xfreerdp \ xfreerdp \
-/u:<username>+    /u:<username>
-/size:1440x900 \ +    /size:1440x900 \ 
-/v:gui.hpc.unipr.it \ +    /v:gui.hpc.unipr.it \ 
-/port:3389 \ +    /port:3389 \ 
-/clipboard \ +    /clipboard \ 
-/gdi:hw \ +    /gdi:hw \ 
-/bpp:24 \ +    /bpp:24 \ 
-/fonts \ +    /fonts \ 
-/cert-ignore+    /cert-ignore
 </code> </code>
  
Linea 74: Linea 76:
 Install the [[https://wiki.asi.unipr.it/dokuwiki/doku.php?id=guide_utente:internet:guida_vpn|FortiClient VPN]]. Install the [[https://wiki.asi.unipr.it/dokuwiki/doku.php?id=guide_utente:internet:guida_vpn|FortiClient VPN]].
  
-Use one of the following remote desktop clients+Install one of the following remote desktop clients
  
   * [[https://apps.apple.com/it/app/microsoft-remote-desktop/id1295203466|Microsoft Remote Desktop for Mac]]   * [[https://apps.apple.com/it/app/microsoft-remote-desktop/id1295203466|Microsoft Remote Desktop for Mac]]
   * [[https://www.freerdp.com|FreeRDP]]   * [[https://www.freerdp.com|FreeRDP]]
-  * [[http://cord.sourceforge.net|CoRD]] 
  
 to connect to the ''gui.hpc.unipr.it'' server. to connect to the ''gui.hpc.unipr.it'' server.
 +
 +==== X11 forwarding ====
 +
 +Press the right button and select "Open Terminal".
 +
 +Optionally, set the Italian keyboard layout using the X Keyboard Extension:
 +
 +<code>
 +setxkbmap it
 +</code>
 +
 +Enable X11 forwarding within a ''Remote Desktop'' session:
 +
 +<code>
 +ssh -X localhost
 +</code>
 +
 +For testing purposes start the graphical program ''xeyes'':
 +
 +<code>
 +srun \
 +    --job-name=xeyes \
 +    --partition=vrt \
 +    --qos=vrt \
 +    --time=0-00:30:00 \
 +    --x11 \
 +    --pty \
 +    xeyes
 +</code>
 +
 +Start ''(X-Window) CRYstalline Structures and DENsities'' ([[calcoloscientifico:userguide:xcrysden|XCrySDen]]):
 +
 +<code>
 +srun \
 +    --job-name=xcrysden \
 +    --nodes=1 \
 +    --ntasks-per-node=1 \
 +    --cpus-per-task=4 \
 +    --mem=10G \
 +    --partition=cpu \
 +    --qos=cpu \
 +    --time=0-01:00:00 \
 +    --x11 \
 +    --pty \
 +    bash -c 'module load apptainer xcrysden && xcrysden'
 +</code>
 +
 +==== TurboVNC ====
 +
 +=== Linux (client) ===
 +
 +Download ''hpc-turbovnc-viewer'':
 +
 +<code>
 +scp -p name.surname@login.hpc.unipr.it:/hpc/share/bin/hpc-turbovnc-viewer .
 +</code>
 +
 +How to use ''hpc-turbovnc-viewer'' from your Linux box:
 +
 +<code>
 +$ ./hpc-turbovnc-viewer --help
 +hpc-turbovnc-viewer - a wrapper to launch TurboVNC Viewer/Server
 +================================================================
 +
 +Synopsis:
 +  hpc-turbovnc-viewer \
 +      [--geometry={WxH,Auto,Server}] \
 +      [--vgl] \
 +      [--scale={80,100,125,...}] \
 +      [--jump=[jump_user@]jump_server] \
 +      [--verbose] \
 +      [via_user@]via_server
 +  hpc-turbovnc-viewer --upgrade [via_user@]via_server
 +  hpc-turbovnc-viewer --help
 +
 +Options passed to vncserver:
 +  --geometry=<geometry>            Set width and height of the virtual X display.
 +  --vgl                            Enable VirtualGL (OpenGL rendering).
 +
 +Options passed to vncviewer:
 +  --scale=<scale>                  Scale the remote desktop image (default=100).
 +  --jump=[jump_user@]jump_server]  SSH jumping host.
 +
 +Options:
 +  --upgrade                        Upgrade hpc-turbovnc-viewer.
 +  --verbose                        Display info messages.
 +  --help                           Display a help message and quit.
 +</code>
 +
 +Direct connection to the remote server:
 +
 +<code>
 +./hpc-turbovnc-viewer name.surname@ui03.hpc.unipr.it
 +</code>
 +
 +Connection via a jumping host:
 +
 +<code>
 +./hpc-turbovnc-viewer --jump name.surname@login.hpc.unipr.it name.surname@wn99.hpc.unipr.it
 +</code>
 +
 +How to specify desktop geometry and scale factor:
 +
 +<code>
 +./hpc-turbovnc-viewer --geometry 1366x768 --scale 125 name.surname@ui03.hpc.unipr.it
 +</code>
 +
 +How to enable VirtualGL (OpenGL rendering on the remote server):
 +
 +<code>
 +./hpc-turbovnc-viewer --vgl name.surname@ui03.hpc.unipr.it
 +</code>
 +
 +Upgrade ''hpc-turbovnc-viewer'':
 +
 +<code>
 +./hpc-turbovnc-viewer --upgrade name.surname@ui03.hpc.unipr.it
 +</code>
  
calcoloscientifico/userguide/gui.1605177978.txt.gz · Ultima modifica: 12/11/2020 11:46 da fabio.spataro

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki