Graphical User Interface
This page shows how to connect to the gui.hpc.unipr.it
server using Remote Desktop Protocol (RDP).
Microsoft Windows (client)
Install the FortiClient VPN.
Activate the VPN connection:
VPN connection activated:
Connect to the gui.hpc.unipr.it server:
Insert username and password:
Here is the GNOME Desktop with a solid color background:
Press the right button and select "Open Terminal":
To disconnect from the "Remote Desktop", press the shutdown button (top right) then on the username and finally on "Log Out":
Confirm with "Log Out":
Linux (client)
Install the FortiClient VPN.
(You can try openfortivpn otherwise)
Install an X11 Remote Desktop Protocol (RDP) client like xfreerdp
which is part of the FreeRDP project.
Activate the VPN connection.
Connect to the gui.hpc.unipr.it
server:
xfreerdp \ /u:<username> \ /size:1440x900 \ /v:gui.hpc.unipr.it \ /port:3389 \ /clipboard \ /gdi:hw \ /bpp:24 \ /fonts \ /cert-ignore
MacOS (client)
Install the FortiClient VPN.
Install one of the following remote desktop clients
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:
setxkbmap it
For testing purposes start the graphical program xeyes
:
srun \ --job-name=xeyes \ --partition=vrt \ --qos=vrt \ --time=0-00:30:00 \ --x11 \ --pty \ xeyes
Start (X-Window) CRYstalline Structures and DENsities
(XCrySDen):
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'
TurboVNC
Linux (client)
Download hpc-turbovnc-viewer
:
scp -p name.surname@login.hpc.unipr.it:/hpc/share/bin/hpc-turbovnc-viewer .
How to use hpc-turbovnc-viewer
from your Linux box:
$ ./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.
Direct connection to the remote server:
./hpc-turbovnc-viewer name.surname@ui03.hpc.unipr.it
Connection via a jumping host:
./hpc-turbovnc-viewer --jump name.surname@login.hpc.unipr.it name.surname@wn99.hpc.unipr.it
How to specify desktop geometry and scale factor:
./hpc-turbovnc-viewer --geometry 1366x768 --scale 125 name.surname@ui03.hpc.unipr.it
How to enable VirtualGL (OpenGL rendering on the remote server):
./hpc-turbovnc-viewer --vgl name.surname@ui03.hpc.unipr.it
Upgrade hpc-turbovnc-viewer
:
./hpc-turbovnc-viewer --upgrade name.surname@ui03.hpc.unipr.it
Close the "Remote VNC Session":
- GNOME Desktop: press the shutdown button (top right) then on the username and finally on "Log Out". Confirm with "Log Out";
- MATE Desktop: "System" menu, "Log Out name.surname…". Confirm with "Log Out".