... | @@ -1397,7 +1397,7 @@ We are using the SSH proxy server for this: |
... | @@ -1397,7 +1397,7 @@ We are using the SSH proxy server for this: |
|
|
|
|
|
You have to follow the following steps:
|
|
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
|
|
* srun -n 1 -c 1 -p gpu -w res-hpc-gpu01 -t 2:0:0 --mem=200M --pty bash
|
|
* [gpu01:] vncserver
|
|
* [on gpu01:] vncserver
|
|
|
|
|
|
```
|
|
```
|
|
Desktop 'TurboVNC: res-hpc-gpu01.researchlumc.nl:1 (username)' started on display res-hpc-gpu01.researchlumc.nl:1
|
|
Desktop 'TurboVNC: res-hpc-gpu01.researchlumc.nl:1 (username)' started on display res-hpc-gpu01.researchlumc.nl:1
|
... | @@ -1406,19 +1406,19 @@ Starting applications specified in /home/username/.vnc/xstartup.turbovnc |
... | @@ -1406,19 +1406,19 @@ Starting applications specified in /home/username/.vnc/xstartup.turbovnc |
|
Log file is /home/username/.vnc/res-hpc-gpu01.researchlumc.nl:1.log
|
|
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
|
|
* [on gpu01:] ssh -R 8899:localhost:5901 -l username 145.88.35.10
|
|
|
|
|
|
you are now logged in on "username@res-ssh-alg01"
|
|
You are now logged in on "username@res-ssh-alg01"
|
|
[keep this window open]
|
|
[keep this window open]
|
|
|
|
|
|
at home (terminal 1):
|
|
At home (terminal 1):
|
|
* ssh -L 5901:localhost:8899 -l username 145.88.35.10
|
|
* ssh -L 5901:localhost:8899 -l username 145.88.35.10
|
|
[keep this window open]
|
|
[keep this window open]
|
|
|
|
|
|
at home (terminal 2):
|
|
At home (terminal 2):
|
|
* vncviewer localhost:1
|
|
* vncviewer localhost:1
|
|
|
|
|
|
this will open a desktop (icewm)
|
|
This will open a desktop (icewm)
|
|
|
|
|
|
From here:
|
|
From here:
|
|
|
|
|
... | | ... | |