Skip to content
Snippets Groups Projects
Commit 1c4071f2 authored by Jan Siwiec's avatar Jan Siwiec
Browse files

Update NICEDCVsoftware.md

parent 711d6eb1
No related branches found
No related tags found
No related merge requests found
Pipeline #40000 passed with warnings
...@@ -22,22 +22,16 @@ Read the documentation on [VNC server][3]. ...@@ -22,22 +22,16 @@ Read the documentation on [VNC server][3].
[username@yourPC]$ ssh -i path/to/your_id_rsa user@login1.Barbora.it4i.cz [username@yourPC]$ ssh -i path/to/your_id_rsa user@login1.Barbora.it4i.cz
``` ```
* Run a Job on Barbora * Run a Job on Barbora on the Vizserv1 (or Vizserv2)
```console ```console
[user@login1]$ qsub -I -q qviz -A OPEN-XX-XX -l select=1:ncpus=4:host=vizserv1,walltime=04:00:00 -N Vizserver1 [user@login1]$ salloc -p qviz -A OPEN-XX-XX --nodes=1 --ntasks=4 --time=04:00:00 --nodelist=vizserv1 --job-name=Vizserver1
``` ```
or You are connected to Vizserv1 now.
```console
[user@login1]$ qsub -I -q qviz -A OPEN-XX-XX -l select=1:ncpus=4:host=vizserv2,walltime=04:00:00 -N Vizserver2
```
You are connected to Vizserv1(2) now.
```console ```console
[yourusername@vizserv2 ~]$ [yourusername@vizserv1 ~]$
``` ```
**VNC Server** **VNC Server**
...@@ -48,7 +42,7 @@ You are connected to Vizserv1(2) now. ...@@ -48,7 +42,7 @@ You are connected to Vizserv1(2) now.
A VNC server password should be set before the first login to VNC server. Use a strong password. A VNC server password should be set before the first login to VNC server. Use a strong password.
```console ```console
[yourusername@vizserv2 ~]$ vncpasswd [yourusername@vizserv1 ~]$ vncpasswd
password: password:
verify: verify:
``` ```
...@@ -56,7 +50,7 @@ verify: ...@@ -56,7 +50,7 @@ verify:
* Check the display number of the connected users * Check the display number of the connected users
```console ```console
[yourusername@vizserv2 ~]$ ps aux | grep Xvnc | sed -rn 's/(\s) .*Xvnc.* (\:[0-9]+) .*/\1 \2/p' [yourusername@vizserv1 ~]$ ps aux | grep Xvnc | sed -rn 's/(\s) .*Xvnc.* (\:[0-9]+) .*/\1 \2/p'
username :15 username :15
username :61 username :61
..... .....
...@@ -71,17 +65,17 @@ username :61 ...@@ -71,17 +65,17 @@ username :61
Choose the display number which is different from other users display number. Also remember that display number should be lower or equal 99. Choose the display number which is different from other users display number. Also remember that display number should be lower or equal 99.
```console ```console
[yourusername@vizserv2 ~]$ vncserver :11 -geometry 1600x900 -depth 24 [yourusername@vizserv1 ~]$ vncserver :11 -geometry 1600x900 -depth 24
Running applications in /etc/vnc/xstartup Running applications in /etc/vnc/xstartup
VNC Server signature: f0-3d-df-ee-6f-a4-b1-62 VNC Server signature: f0-3d-df-ee-6f-a4-b1-62
Log file is /home/yourusername/.vnc/vizserv2:11.log Log file is /home/yourusername/.vnc/vizserv1:11.log
New desktop is vizserv2:11 (195.113.250.204:11) New desktop is vizserv1:11 (195.113.250.204:11)
``` ```
* Check the display number * Check the display number
```console ```console
[yourusername@vizserv2 ~]$ ps aux | grep Xvnc | sed -rn 's/(\s) .*Xvnc.* (\:[0-9]+) .*/\1 \2/p' [yourusername@vizserv1 ~]$ ps aux | grep Xvnc | sed -rn 's/(\s) .*Xvnc.* (\:[0-9]+) .*/\1 \2/p'
username :15 username :15
username :61 username :61
yourusername :11 yourusername :11
...@@ -99,7 +93,7 @@ You are going to connect your local machine to remote VNC server. ...@@ -99,7 +93,7 @@ You are going to connect your local machine to remote VNC server.
* Create the SSH tunnel (on your local machine) for port 59xx and for the range of ports 7300-7305. * Create the SSH tunnel (on your local machine) for port 59xx and for the range of ports 7300-7305.
```console ```console
[username@yourPC]$ ssh -i path/to/your_id_rsa -TN -f user@vizserv2.barbora.it4i.cz -L 5911:localhost:5911 -L 7300:localhost:7300 -L 7301:localhost:7301 -L 7302:localhost:7302 -L 7303:localhost:7303 -L 7304:localhost:7304 -L 7305:localhost:7305 [username@yourPC]$ ssh -i path/to/your_id_rsa -TN -f user@vizserv1.barbora.it4i.cz -L 5911:localhost:5911 -L 7300:localhost:7300 -L 7301:localhost:7301 -L 7302:localhost:7302 -L 7303:localhost:7303 -L 7304:localhost:7304 -L 7305:localhost:7305
``` ```
To create an SSH tunnel on Windows, download the [PuTTY installer][d] and follow the instructions in the [VNC server][3] section. To create an SSH tunnel on Windows, download the [PuTTY installer][d] and follow the instructions in the [VNC server][3] section.
...@@ -116,7 +110,7 @@ To create an SSH tunnel on Windows, download the [PuTTY installer][d] and follow ...@@ -116,7 +110,7 @@ To create an SSH tunnel on Windows, download the [PuTTY installer][d] and follow
* Run the command in the VNC terminal * Run the command in the VNC terminal
```console ```console
[kub0393@vizserv2 ~]$ /apps/easybuild/glxgears [kub0393@vizserv1 ~]$ /apps/easybuild/glxgears
``` ```
![](../../img/vizsrv_5911.png) ![](../../img/vizsrv_5911.png)
...@@ -126,7 +120,7 @@ To create an SSH tunnel on Windows, download the [PuTTY installer][d] and follow ...@@ -126,7 +120,7 @@ To create an SSH tunnel on Windows, download the [PuTTY installer][d] and follow
* Run the command in VNC terminal * Run the command in VNC terminal
```console ```console
[kub0393@vizserv2 ~]$ dcvtest [kub0393@vizserv1 ~]$ dcvtest
``` ```
![](../../img/dcvtest_5911.png) ![](../../img/dcvtest_5911.png)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment