Disable popup that comes up after getting disconnected using vncviewer?

520 views
Skip to first unread message

rbraun204

unread,
Jan 18, 2018, 3:17:03 PM1/18/18
to TigerVNC User Discussion/Support
Is it possible to disable the popup box that comes up after getting disconnected from vncviewer?  

I've got a somewhat unique setup I'm sure.  I'm currently using systemd to launch an xinit based vncviewer (with no keyboard/mouse,  just the display) to connect to a vncserver instance and both client and server are working happily together.

The problem arises if I test a vncserver crash (kill process manually, reboot server etc),  I get a err 104 connection reset by peer prompt with an ok button on my vncviewer screen.   Systemd will have merrily restarted the vncserver process,  but because vncviewer is still technically running,  systemd won't restart the viewer process.

If I finish off the vncviewer process by manually killing it,   systemd will properly restart the vncviewer service and get connected up no problem.

So my main issue seems to be to I need to suppress the normally useful connection reset info box so that when disconnected,  vncviewer will just silently close.  Exit with whatever code it wants,  but fully exit on disconnect.

FWIW,  running tiger server and viewer 1.7.0 on Debian Stretch.

I'm sure I could get around this by running some kind of connection check via cron and have the system kick the service when it's not connected, just trying not to do it in a hacky way :)

Thanks!

Ryan


Pierre Ossman

unread,
Jan 25, 2018, 7:46:23 AM1/25/18
to rbraun204, TigerVNC User Discussion/Support
On 18/01/18 21:17, rbraun204 wrote:
> Is it possible to disable the popup box that comes up after getting
> disconnected from vncviewer?
>

Not in the released version, but the development version has the new
option AlertOnFatalError which can remove these dialogs.

Regards
--
Pierre Ossman Software Development
Cendio AB https://cendio.com
Teknikringen 8 https://twitter.com/ThinLinc
583 30 Linköping https://facebook.com/ThinLinc
Phone: +46-13-214600 https://plus.google.com/+CendioThinLinc

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Adrian Fewster

unread,
Jun 6, 2021, 2:36:41 AM6/6/21
to TigerVNC User Discussion/Support
I notice linux tigervnc > vncviewer does not recognise the option. How is it disabled ;
AlertOnFatalErrorn off    ?
The options are on and off ?

Adrian Fewster
Reply all
Reply to author
Forward
0 new messages