diff --git a/docs.it4i/software/viz/NICEDCVsoftware.md b/docs.it4i/software/viz/NICEDCVsoftware.md index aef5b0e2576a45757c279c68cdcca85054fb9d7a..9d742a1b10846e07d6d3878ff4de77f465313122 100644 --- a/docs.it4i/software/viz/NICEDCVsoftware.md +++ b/docs.it4i/software/viz/NICEDCVsoftware.md @@ -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 ``` -* Run a Job on Barbora +* Run a Job on Barbora on the Vizserv1 (or Vizserv2) ```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 - -```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. +You are connected to Vizserv1 now. ```console -[yourusername@vizserv2 ~]$ +[yourusername@vizserv1 ~]$ ``` **VNC Server** @@ -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. ```console -[yourusername@vizserv2 ~]$ vncpasswd +[yourusername@vizserv1 ~]$ vncpasswd password: verify: ``` @@ -56,7 +50,7 @@ verify: * Check the display number of the connected users ```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 :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. ```console -[yourusername@vizserv2 ~]$ vncserver :11 -geometry 1600x900 -depth 24 +[yourusername@vizserv1 ~]$ vncserver :11 -geometry 1600x900 -depth 24 Running applications in /etc/vnc/xstartup VNC Server signature: f0-3d-df-ee-6f-a4-b1-62 -Log file is /home/yourusername/.vnc/vizserv2:11.log -New desktop is vizserv2:11 (195.113.250.204:11) +Log file is /home/yourusername/.vnc/vizserv1:11.log +New desktop is vizserv1:11 (195.113.250.204:11) ``` * Check the display number ```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 :61 yourusername :11 @@ -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. ```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. @@ -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 ```console -[kub0393@vizserv2 ~]$ /apps/easybuild/glxgears +[kub0393@vizserv1 ~]$ /apps/easybuild/glxgears ```  @@ -126,7 +120,7 @@ To create an SSH tunnel on Windows, download the [PuTTY installer][d] and follow * Run the command in VNC terminal ```console -[kub0393@vizserv2 ~]$ dcvtest +[kub0393@vizserv1 ~]$ dcvtest ``` 