We use the vncviewer in a kiosk fashion for remote access to industrial 
controls and monitors.  I have developed a service wrapper around it to 
keep a persistent connection as the sole X windows client.  This normally 
all works very good.

While most of our deployments are working great, we have one case where 
the VNC server (sadly, not tigervnc) is regularly (a few times per hour) 
causing vncviewer to pop a GUI message indicating "read: Connection reset 
by peer (104)".  I realize the real problem is almost certainly on the 
server end, but I wish to make my kiosk client more robust.  My ultimate 
preference would be for such error messages to be emitted to stderr where 
my service could capture them and relay them to the appropriate system 
log.  Most importantly, I don't want vncviewer to "hang" with such a 
message.  I'd much rather it simply exit (with a non-zero status code) so 
that my kiosk service could restart a fresh viewer and work the best in 
can despite the errors.  I really don't mind the GUI messages appearing, I 
just don't want require the user's interaction to dismiss them.  The 
kiosk's don't have mice and I've not seen any way to give the error 
messages focus -- that's likely due to fact that I'm not utilizing any 
window manager.

In reviewing the docs, I don't see any options that would let me get any 
closer to my goal.  Did I overlook something?  For the record, I don't 
think a cheat sheet explaining to the user that they can "1. hit F8, 2. 
select 'Exit viewer', 3. hit Enter" is a very good solution.

--
John Florian

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Tigervnc-users mailing list
Tigervnc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-users

Reply via email to