Celebrating the 22th anniversary of the UltraVNC: https://forum.uvnc.com/viewtopic.php?t=38031
Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Automatic connection from server to listening viewer?

Post Reply
bolkar

Automatic connection from server to listening viewer?

Post by bolkar »

Hi, is there a way for me to setup the server so it tries to connect the viewer in every 5 minute or so? I would like to be able to connect my work computer from home, and because of office firewall, I do not have a way to connect from outside. However, connecting from server to the listening viewer at home works like a charm, with only draw back of timing.
When, I connect home before I leave the office. Sometimes, I lose connection and I do not have a way to re connect.

All I want is a way to make server auto connect the viewer in every 5 seconds, if the connection is not already established and working...

Any ideas?

Thank you
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

winvnc need running as service system
then from command line or windows script
work until network connection broken
Start ... Run... "C:\Program Files\UltraVNC\winvnc.exe" -autoreconnect -connect hostname::port

2nd solution when network connection broken and network up again.
use windows scheduler to start every 5min (and not 5 sec too short)
winvnc try automatically to connect during 5 min (default value) until kill itself.

Don't forget to use vncviewer.exe 1.0.1(aug 6 2005)
use new function "toggle listen mode ON/OFF"
let you ability to ignore the scheduled winvnc incoming connection started from your office to your home.
Last edited by redge on 2005-08-21 13:09, edited 1 time in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
bolkar

Post by bolkar »

Thanks for the tips. However, whenever I run that, it tells me no existing instance of Winvnc could be contacted. If I run winvnc and write the host info at add client, it works fine.

Any idea about what am I doing wrong?

Thanks
bolkar

Post by bolkar »

Never mind, I figured it out. I should have a winvnc running before actually enter those commands.

thanks a lot.
randallc
8
8
Posts: 8
Joined: 2005-08-17 01:39

Post by randallc »

Hi,
Can you tell me where you are entering those commands? - At a DOS command prompt? - or in vnc propertie boxes somewhere?
thanks, randall
Trying both;
XPSP2 viewing Win2KSP4
Win2KSP4 viewing XPSP2
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

At a DOS command prompt?
yes or external tool like VisualCron for scheduling task at every >5 minutes
(5min = default winvnc value timeout before winvnc close itself if there no existing connection)
Last edited by redge on 2005-08-22 23:54, edited 1 time in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Post Reply