uVNC Server CLI

New to UltraVNC? Your questions are welcome in this subforum. :surprise:

uVNC Server CLI

Postby ian » 2013-11-05 12:33

Hi,

We want to use uvnc server in our online support client software for our users. We designed our client as a separate executable which asks some parameters, establish ssh tunnels to our server and then try to start uvnc server process with -connect option.

However we have problems with UAC. How can we combine -connect option with -service option in order to overcome UAC issue?
Is there another way to do this?

Thanks
ian
 
Posts: 2
Joined: 2013-11-05 12:23

Re: uVNC Server CLI

Postby Rudi De Vos » 2013-11-05 18:09

-service is not a user commandline, it's used by the uvnc service to start winvnc.

winvnc -install ( install the service)
net start uvnc_service ( start the service)
also see
http://forum.ultravnc.net/viewtopic.php?f=5&t=30490
net stop uvnc_service
winvnc -uninstall
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5957
Joined: 2004-04-23 10:21

Re: uVNC Server CLI

Postby ian » 2013-11-08 13:38

Thanks a lot.

This is my UltraVNC.ini file:
Code: Select all
[UltraVNC]
service_commandline=-autoreconnect -connect 127.0.0.1:5500


I tried
vncviewer -listen
and
winvnc -install
net start uvnc_service

Though vnc server seems to start up normally, no connection to viewer is made. Am I doing something wrong?
ian
 
Posts: 2
Joined: 2013-11-05 12:23

Re: uVNC Server CLI

Postby Rudi De Vos » 2013-11-08 15:58

Try
net stop uvnc_service
winvnc.exe -autoreconnect -connect 127.0.0.1:5500 -run
you can test the commandline you are using for the service_commandline by adding -run, the difference is that
you proper get the popups ( like when the firewall ask access). If it works on the command line the try it
as service

Tested it on my system
vncviewer -listen
When you hover over the icon you see viewer listen port 5500
Then i start
winvnc.exe -autoreconnect -connect 127.0.0.1:5500 -run
It connect, if you first start the server then it take 30 sec before a new connect try is made.
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5957
Joined: 2004-04-23 10:21


Return to Beginner questions

Who is online

Users browsing this forum: No registered users and 2 guests