VNC: Difference between revisions

Jump to navigation Jump to search
990 bytes added ,  2 months ago
m
no edit summary
mNo edit summary
mNo edit summary
Line 93: Line 93:


<!--T:44-->
<!--T:44-->
1) Specify a 1hr (3600 sec) time limit for your server (or more as required):
1) Since moving to turbovnc on the clusters, the previously documented MaxConnectionTime of 1hr (3600 sec) is no longer supported.  Instead we suggest you set an idle timeout value to something like 7days before your session is killed.  This way unused sessions consuming vital memory resources will not accumulate on cluster login nodes over time.


<!--T:164-->
<!--T:164-->
  [<b>gra-login2</b>:~] vncserver -MaxConnectionTime 3600
  [<b>gra-login2</b>:~] vncserver -idletimeout 604800
   Log file is /home/username/.vnc/gra-login2:3.log
You will require a password to access your desktops.
Password:
Warning: password truncated to the length of 8.
Verify:    
Would you like to enter a view-only password (y/n)? n
Desktop 'TurboVNC: gra-login2:2 (username)' started on display gra-login2:2
Starting applications specified in /cvmfs/soft.computecanada.ca/gentoo/2023/x86-64-v3/usr/bin/xstartup.turbovnc
Log file is /home/roberpj/.vnc/gra-login2:2.log
 
NOTE: Since moving to turbovnc on the clusters, the previously documented MaxConnectionTime of 1hr (3600 sec) is no longer supported.  Instead we suggest you optionally suggest/request you put a default of something like 7days before the server is auto-killed so sessions to not un-necessarily accumulate over time consuming vital login node resources:


<!--T:175-->
<!--T:175-->
cc_staff
1,857

edits

Navigation menu