... | @@ -1387,6 +1387,44 @@ In this case you have to manually remove the lock file. |
... | @@ -1387,6 +1387,44 @@ In this case you have to manually remove the lock file. |
|
|
|
|
|
### Remote visualization with a "reverse SSH tunnel"
|
|
### Remote visualization with a "reverse SSH tunnel"
|
|
|
|
|
|
|
|
You can skip a step in the above explanation about how to setup a remote visualization.
|
|
|
|
With a reverse SSH tunnel you setup and make a quick connection to a remote desktop.
|
|
|
|
We assume that you already have setup correctly you **vncserver**.
|
|
|
|
|
|
|
|
We are using the SSH proxy server for this:
|
|
|
|
* IP address: 145.88.35.10
|
|
|
|
* Hostname: res-ssh-alg01.researchlumc.nl
|
|
|
|
|
|
|
|
You have to follow the following steps:
|
|
|
|
* srun -n 1 -c 1 -p gpu -w res-hpc-gpu01 -t 2:0:0 --mem=200M --pty bash
|
|
|
|
* [gpu01:] vncserver
|
|
|
|
|
|
|
|
```
|
|
|
|
Desktop 'TurboVNC: res-hpc-gpu01.researchlumc.nl:1 (username)' started on display res-hpc-gpu01.researchlumc.nl:1
|
|
|
|
|
|
|
|
Starting applications specified in /home/username/.vnc/xstartup.turbovnc
|
|
|
|
Log file is /home/username/.vnc/res-hpc-gpu01.researchlumc.nl:1.log
|
|
|
|
```
|
|
|
|
|
|
|
|
* [gpu01:] ssh -R 8899:localhost:5901 -l username 145.88.35.10
|
|
|
|
|
|
|
|
you are now logged in on "username@res-ssh-alg01"
|
|
|
|
[keep this window open]
|
|
|
|
|
|
|
|
at home (terminal 1):
|
|
|
|
* ssh -L 5901:localhost:8899 -l username 145.88.35.10
|
|
|
|
[keep this window open]
|
|
|
|
|
|
|
|
at home (terminal 2):
|
|
|
|
* vncviewer localhost:1
|
|
|
|
|
|
|
|
this will open a desktop (icewm)
|
|
|
|
From here:
|
|
|
|
|
|
|
|
* terminal
|
|
|
|
* module add neuroImaging/FSLeyes/0.32.3
|
|
|
|
* /opt/VirtualGL/bin/vglrun fsleyes
|
|
|
|
|
|
## More Slurm info
|
|
## More Slurm info
|
|
|
|
|
|
### Sview
|
|
### Sview
|
... | | ... | |