Commit 6d48e33a authored by Jan Siwiec's avatar Jan Siwiec

Update NICEDCVsoftware.md

parent 28ec4eaf
Pipeline #11410 passed with stages
in 23 minutes and 40 seconds
......@@ -9,7 +9,7 @@
## How to Use
Read our documentation on [VNC server][3].
Read the documentation on [VNC server][3].
**Run VNC**
......@@ -19,13 +19,13 @@ Read our documentation on [VNC server][3].
[username@yourPC]$ ssh -i path/to/your_id_rsa user@login1.salomon.it4i.cz
```
* Run Job on Salomon
* Run a Job on Salomon
```console
[user@login1]$ qsub -I -q qviz -A OPEN-XX-XX -l select=1:ncpus=4:host=vizserv1,walltime=04:00:00 -N Vizserver1
```
Or
or
```console
[user@login1]$ qsub -I -q qviz -A OPEN-XX-XX -l select=1:ncpus=4:host=vizserv2,walltime=04:00:00 -N Vizserver2
......@@ -39,10 +39,10 @@ You are connected to Vizserv1(2) now.
**VNC Server**
* Create VNC Server Password
* Create a VNC Server Password
!!! note
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
[yourusername@vizserv2 ~]$ vncpasswd
......@@ -86,36 +86,31 @@ yourusername :11
```
!!! note
You started new VNC server. Server is listening on port 5911 (5900 + 11 = 5911).
You started a new VNC server. The server is listening on port 5911 (5900 + 11 = 5911).
Your VNC server is listening on port 59xx, in our example on port 5911.
**VNC Client (your local machine)**
You are going to connect your local machine to remote VNC server.
!!! note
You are going to connect your local machine to remote VNC server.
* Create the ssh tunnel (on your local machine) for 59xx port, plus 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
[username@yourPC]$ ssh -i path/to/your_id_rsa -TN -f user@vizserv2.salomon.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
```
For the Windows users use Putty [Download PuTTY installer][d] for ssh tunnel creation; follow an instruction here [VNC server][3].
To create an SSH tunnel on Windows, download the [PuTTY installer][d] and follow the instructions in the [VNC server][3] section.
* Run NICE DCV or one of the recommended clients (on your local machine)
* Run NICE DCV or one of the recommended clients on your local machine. Recommended clients are [TightVNC][f] or [TigerVNC][g] (free, open source, available for almost any platform).
Recommended clients are [TightVNC][f] or [TigerVNC][g] (free, open source, available for almost any platform).
* localhost:59xx
* fill password
* Fill in the localhost:59xx address, click Connect, and enter the password.
![](../../img/dcv_5911_1.png)
![](../../img/dcv_5911_2.png)
**Test the OpenGL functionality on Vizserv**
* Run the command in VNC terminal
* Run the command in the VNC terminal
```console
[kub0393@vizserv2 ~]$ /apps/easybuild/glxgears
......@@ -143,7 +138,7 @@ Recommended clients are [TightVNC][f] or [TigerVNC][g] (free, open source, avail
**On your local machine**
* PID of your ssh tunel
* Process ID (PID) of your SSH tunel
```console
[username@yourPC]$ netstat -natp | grep 5911
......@@ -153,7 +148,7 @@ tcp 0 0 127.0.0.1:5911 0.0.0.0:* LISTEN
tcp6 0 0 ::1:5911 :::* LISTEN 5675/ssh
```
Or
or
```console
[username@yourPC]$ lsof -i :5911
......@@ -163,20 +158,15 @@ ssh 5675 user 6u IPv4 571420 0t0 TCP localhost:5911 (LISTEN)
```
!!! note
PID in our example is 5675. You also need use correct port number for both command above, 5911 is correct port number in our example.
PID in our example is 5675. You also need to use the correct port number for both command above. In this example, the port number is 5911. Your PID and port number may differ.
* Kill the process (PID = Process ID)
* Kill the process
```console
[username@yourPC]$ kill 5675
```
!!! note
Your PID is different from PID in our example.
* Windows users
Close Putty.
* If on Windows, close Putty.
[1]: ../../general/accessing-the-clusters/vpn-access.md
[2]: ../../general/accessing-the-clusters/shell-access-and-data-transfer/putty.md
......@@ -189,4 +179,3 @@ Close Putty.
[e]: https://vpn.it4i.cz/user
[f]: http://www.tightvnc.com
[g]: http://sourceforge.net/apps/mediawiki/tigervnc/index.php?title=Main_Page
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment