VNC: Difference between revisions

274 bytes added ,  4 years ago
m
no edit summary
(Marked this version for translation)
mNo edit summary
Line 255: Line 255:


== Managing multiple vncservers == <!--T:96-->
== Managing multiple vncservers == <!--T:96-->
<!--T:97-->
The vncserver(s) running under your username can be listed with <code>vncserver -list</code>.
To reconnect to a particular vncserver on a login node 1) re-establish a port forwarded tunnel 2) run the vncviewer command again.


<!--T:98-->
<!--T:98-->
Any vncserver(s) running under your username can be listed with <code>vncserver -list</code>.  To reconnect to a particular vncserver on a login node 1) re-establish a port forwarded tunnel 2) run the vncviewer command again.  If a server is no longer needed terminate it with <code>vncserver -kill :display#</code>.  To kill all of your vncservers run <code>pkill Xvnc -u $USER</code>.
If a server is no longer needed terminate it with <code>vncserver -kill :XDISPLAY#</code> as shown here:
 
<source lang="bash">
[gra-login1:~] vncserver -list
 
TigerVNC server sessions:
 
XDISPLAY#   PROCESS ID
:44       27644
 
[gra-login1:~] vncserver -kill :44
Killing Xvnc process ID 27644
</source>
<!--T:99-->
If you have multiple vncservers running, you can kill them all by running: <code>pkill Xvnc -u $USER</code>.


== Multiple vncviewer connections == <!--T:99-->
== Multiple vncviewer connections == <!--T:99-->
cc_staff
1,857

edits