Update home authored by van Vliet's avatar van Vliet
......@@ -1173,14 +1173,13 @@ You will require a password to access your desktops.
Password:
Verify:
Would you like to enter a view-only password (y/n)? n
A view-only password is not used
New 'res-hpc-gpu01.researchlumc.nl:1 (username)' desktop is res-hpc-gpu01.researchlumc.nl:1
Desktop 'TurboVNC: res-hpc-gpu01.researchlumc.nl:1 (username)' started on display res-hpc-gpu01.researchlumc.nl:1
Creating default startup script /home/username/.vnc/xstartup
Creating default config /home/username/.vnc/config
Starting applications specified in /home/username/.vnc/xstartup
Creating default startup script /home/username/.vnc/xstartup.turbovnc
Starting applications specified in /home/username/.vnc/xstartup.turbovnc
Log file is /home/username/.vnc/res-hpc-gpu01.researchlumc.nl:1.log
```
You should choose a strong password, the password should not be the same as the user login password.
......@@ -1188,41 +1187,41 @@ Kill the vncserver connection:
* vncserver -kill :1
Now adapt the **xstartup** file:
* vi $HOME/.vnc/xstartup
* vi $HOME/.vnc/xstartup.turbovnc
```
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
/etc/X11/xinit/xinitrc
XDG_SESSION_TYPE=x11; export XDG_SESSION_TYPE
exec icewm-session
```
Adapt/create a **config** file for the vncserver with some useful settings:
* vi $HOME/.vnc/config
Adapt/create a **turbovncserver.conf** file for the vncserver with some useful settings:
* vi $HOME/.vnc/turbovncserver.conf
```
geometry=1280x1024
depth=24
$geometry="1280x1024"
$depth=24
```
Now start the vncserver:
```
vncserver
New 'res-hpc-gpu01.researchlumc.nl:1 (username)' desktop is res-hpc-gpu01.researchlumc.nl:1
Desktop 'TurboVNC: res-hpc-gpu01.researchlumc.nl:1 (username)' started on display res-hpc-gpu01.researchlumc.nl:1
Starting applications specified in /home/username/.vnc/xstartup
Starting applications specified in /home/username/.vnc/xstartup.turbovnc
Log file is /home/username/.vnc/res-hpc-gpu01.researchlumc.nl:1.log
```
You can list you vncserver session with the following command:
* vncserver -list
```
vncserver -list
TigerVNC server sessions:
TurboVNC sessions:
X DISPLAY # PROCESS ID
:1 47947
:1 33915
```
You can/should kill your vncserver session when you are done:
......@@ -1236,7 +1235,7 @@ Killing Xvnc process ID 47947
If you are running the **X2Go** client, open a terminal.
The run the command:
```
vncviewer res-hpc-gpu01.researchlumc.nl:1
/opt/TurboVNC/bin/vncviewer res-hpc-gpu01.researchlumc.nl:1
```
......
......