Not a straightforward way. You could disconnect all connected viewers
by doing something like this, but it's admittedly a hack:
NOTE: {n} is the TurboVNC session's display number.
# /opt/TurboVNC/bin/tvncconfig -display :{n} -set Disconnect=1
# Xvfb :42 &
# DISPLAY=:42 /opt/TurboVNC/bin/vncviewer -password
`/opt/TurboVNC/bin/vncpasswd -o -display :{n} 2>&1 | cut -f2 -d:`
-noshared :{n}
(Press Ctrl-C to stop the TurboVNC Viewer process.)
# pkill Xvfb
# /opt/TurboVNC/bin/tvncconfig -display :{n} -set Disconnect=0
It is feasible to implement a feature that would allow you to list and
dump specific viewers, but it would be a significant effort. (I'm
always willing to implement features like that if someone pays for my
labor, though.)
DRC
On 4/1/22 4:53 PM, Andrew wrote:
Is there a way with TurboVNC to forcibly close an established connection
from the system running the Xvnc process? For example, as an admin I may
want to kill an existing viewer connection without impacting the running
Xvnc process.
Thank you for any input.
-Andrew
--
You received this message because you are subscribed to the Google Groups "TurboVNC
User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/turbovnc-users/54b9aeac-5d34-dc5c-3455-330130cea9d9%40virtualgl.org.