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
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
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
- Rudi De Vos
- Admin & Developer
- Posts: 6863
- Joined: 2004-04-23 10:21
- Contact:
Re: Need winvnc.exe to run before login and connect to repea
Try to add this entry in the
ultravnc.ini
and run winvnc as service.
ultravnc.ini
Code: Select all
[admin]
service_commandline=-autoreconnect ID:xxx -connect domain.net:5900
Re: Need winvnc.exe to run before login and connect to repea
That worked great. Now I just have to modify the ini file via code which is pretty simple. Thank You.