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

-connect Command not working

Post Reply
comfine
Posts: 7
Joined: 2014-07-21 16:48

-connect Command not working

Post by comfine »

under Windows Server 2012R2 i try to start a connection to a vncviewer in listening-mode by runnign ultravnc.exe -connect localhost:portnumber but nothing happens on execution! the exe appears for very short in the task-manager, but then nothing happens! if i execute the server without commandline and click on add new client via the trayicon and type in localhost:portnumber and click on connect everything works fine.

is this a bug?

thanks.

greets
andi
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: -connect Command not working

Post by YY »

If the UVNC is already running (no matter in service mode or application mode), then you can initiate the connection using the commandline as you mentioned.

If the UVNC is not started yet, you need to include the "-run" option at the commandline for initiating the connection.

Code: Select all

winvnc.exe -connect host:port -run
comfine
Posts: 7
Joined: 2014-07-21 16:48

Re: -connect Command not working

Post by comfine »

blooper mistake ...thanks a lot!
Post Reply