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
- 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

Need winvnc.exe to run before login and connect to repeater

Post Reply
advcom
Posts: 5
Joined: 2013-11-19 16:49

Need winvnc.exe to run before login and connect to repeater

Post by advcom »

This seemed simple to do, but not having any luck. I am writing a remote support program for my shop. I need winvnc to autostart on boot up and connect to my repeater before the login screen. I could not figure out how to do this with just vnc commands, so I wrote a service that tries to connect winvnc to my repeater, but it does not work. I troubleshooted it and determined that when you give winvnc this command:
winvnc -autoreconnect ID:xxx -connect domain.net:5900, it works fine as long as this command comes from a process that is logged in as a user. If I run this command from my service, it doesn't connect. So, my question is this.
#1 Does anyone know how to make vnc start on boot up and automatically connect to a repeater?
#2 Does anyone know why I cannot run the command winvnc -autoreconnect ID:xxx -connect domain.net:5900 as system?

Thank You
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Need winvnc.exe to run before login and connect to repea

Post by Rudi De Vos »

Try to add this entry in the
ultravnc.ini

Code: Select all

[admin]
service_commandline=-autoreconnect ID:xxx -connect domain.net:5900
and run winvnc as service.
advcom
Posts: 5
Joined: 2013-11-19 16:49

Re: Need winvnc.exe to run before login and connect to repea

Post by advcom »

That worked great. Now I just have to modify the ini file via code which is pretty simple. Thank You.
Post Reply