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