Skip to content
Snippets Groups Projects
Commit ee6aa13c authored by Pavel Jirásek's avatar Pavel Jirásek
Browse files

VNC WSL

parent 93cc8119
No related branches found
No related tags found
5 merge requests!368Update prace.md to document the change from qprace to qprod as the default...,!367Update prace.md to document the change from qprace to qprod as the default...,!366Update prace.md to document the change from qprace to qprod as the default...,!323extended-acls-storage-section,!204Vnc win bash
......@@ -44,7 +44,7 @@ Based on this **we have choosen display number 61** for us, so this number you c
!!! note
Your situation may be different so also choose of your number may be different. **Please choose and use your own display number accordingly!**
Start your VNC server on choosen display port (61):
Start your VNC server on choosen display number (61):
```console
[username@login2 ~]$ vncserver :61 -geometry 1600x900 -depth 16
......@@ -55,7 +55,7 @@ Starting applications specified in /home/username/.vnc/xstartup
Log file is /home/username/.vnc/login2:1.log
```
Check whether VNC server is running on choosen port (61):
Check whether VNC server is running on choosen display number (61):
```console
[username@login2 .vnc]$ vncserver -list
......@@ -123,7 +123,7 @@ kill 2022
## Windows Example of Creating a Tunnel
Use PuTTY to log in on cluster.
### Use PuTTY to log in on cluster
Start vncserver using command vncserver described above.
......@@ -142,15 +142,23 @@ Fill the Source port and Destination fields. **Do not forget to click the Add bu
![](../../../img/putty-tunnel.png)
### Use Windows Subsystem for Linux ([WSL](http://docs.microsoft.com/en-us/windows/wsl)) to log in on cluster
At your machine, create the tunnel:
```console
local $ ssh username@login2.cluster-name.it4i.cz -L 5961:localhost:5961
```
Run the VNC client of your choice, select VNC server 127.0.0.1, port 5961 and connect using VNC password.
## Example of Starting TigerVNC Viewer
### Example of Starting TigerVNC Viewer
![](../../../img/vncviewer.png)
In this example, we connect to VNC server on port 5961, via the ssh tunnel, using TigerVNC viewer. The connection is encrypted and secured. The VNC server listening on port 5961 provides screen of 1600x900 pixels.
## Example of Starting TightVNC Viewer
### Example of Starting TightVNC Viewer
Use your VNC password to log using TightVNC Viewer and start a Gnome Session on the login node.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment