On Tue, 14 Jan 2014 14:19:26 -0800 (PST) BonnieZ <greenbee...@yahoo.com> wrote:
> Hi all, > > I was wondering if there's some way to stop a VNC server automatically if > connection is unexpectedly lost. The VNC server is only properly closed if > you exit the VNC viewer the normal way, but the VNC server just sits there if > the viewer is not properly closed. > First just a FYI, simply closing the viewer has the same effect on the server as a lost connection. Logging out, or otherwise terminating the desktop environment on the server side is what will normally make the server to away. That said, there are some knobs to make things depend on timers. From Xvnc's -help output: MaxIdleTime - Terminate after s seconds of user inactivity (default=0) MaxConnectionTime - Terminate when a client has been connected for s seconds (default=0) MaxDisconnectionTime - Terminate when no client has been connected for s seconds (default=0) IdleTimeout - The number of seconds after which an idle VNC connection will be dropped (zero means no timeout) (default=0) In your case it sounds like MaxDisconnectTime is the one you want. Rgds -- Pierre Ossman Software Development Cendio AB http://cendio.com Teknikringen 8 http://twitter.com/ThinLinc 583 30 Linköping http://facebook.com/ThinLinc Phone: +46-13-214600 http://plus.google.com/112509906846170010689 A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________ Tigervnc-users mailing list Tigervnc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-users