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

sc_prompt bug?

Post Reply
albertocastillo2001
Posts: 3
Joined: 2016-04-06 10:05

sc_prompt bug?

Post by albertocastillo2001 »

Hello

I am using version 1.2.1.1 and I am attempting to use UltraVNC to do a reverse connection to a viewer in listening mode. However it seems sc_prompt is not working

Code: Select all

winvnc.exe -sc_prompt -connect 1.2.3.4
As far as I know this should prompt that prompt on the viewer which lets them to accept the connection, just like SingleClick does.
Is this a bug or am I doing something wrong?

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

Re: sc_prompt bug?

Post by Rudi De Vos »

just tested both server and viewer are 1212, possible you forgot to add the -run

vncviewer.exe -listen
winvnc.exe -sc_prompt -connect localhost -run

It seems to work
albertocastillo2001
Posts: 3
Joined: 2016-04-06 10:05

Re: sc_prompt bug?

Post by albertocastillo2001 »

Hello

Thanks for your answer.
Doesn't seem to work for me

Had the viewer opened on listen mode and then I tried

Code: Select all

winvnc -sc_prompt -connect localhost -run
It shows a msgbox saying that another instance of WinVNC is running. If I close all WinVNC.exe threads it works fine

Take in mind that I want the UltraVNC service to be on at the same time I have the posibility of them to initiate a reverse connection using the prompt.

However running

Code: Select all

winvnc -connect localhost
works well and initiates the connection, but no prompt is displayed.

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

Re: sc_prompt bug?

Post by Rudi De Vos »

Then the only way is tu use
winvnc -sc_prompt -multi -connect localhost -run

You just can change the prompt behaviour on a running server.
Using multi you can start a second instance of the server

Do you start the -connect as elevated admin, latest OS systems should block it.
UAC doesn't allow messages to be send higher elevated applications.
albertocastillo2001
Posts: 3
Joined: 2016-04-06 10:05

Re: sc_prompt bug?

Post by albertocastillo2001 »

Hello

That worked. It didn't convince me much because the first bubble that appears says "cannot connect to 127.0.0.1". I tried with another host and it shows the same message

I also added sc_exit so that instance will close itself after connection is over

Code: Select all

winvnc -sc_prompt -sc_exit -multi -connect viewservice14 -run
Is there anyway to ignore that balloon that says "cannot connect to 127.0.0.1"?

Thanks
Post Reply