Possible to disable the SC connection query prompt?

Single Click discussions / bugs

Possible to disable the SC connection query prompt?

Postby sbussinger » 2006-03-31 10:11

Is there any way to either tell a VNCViewer in LISTEN mode to automatically always accept all connections from SC servers, or to tell the SC server to not cause the viewer to display the connection query prompt?

My staff has been using standard WINVNC servers to connect to listening viewers without the prompt and is quite used to working that way. I'm getting some complaints about the accept connection prompt and I don't care much for it myself. It's just more clicks for little gain.

Perhaps it could prompt only if there's already a session in progress?

What are my options here? Thanks!
sbussinger
 
Posts: 4
Joined: 2006-03-31 09:41

Postby buch85 » 2006-03-31 13:57

You can modify the code of the vncview in the file ClientConnection.cpp in the function ClientConnection::NegotiateProtocolVersion().
You have just to remove the MessageBox and to modify the "if" that check what the user has pressed.

Bye

PS: excuse me for my poor english
buch85
8
8
 
Posts: 10
Joined: 2006-03-07 13:42

Postby sbussinger » 2006-03-31 23:16

I was hoping there was an existing command line option I was missing rather than having to compile a custom version of the viewer.

If I do have to go the custom compilation route, is there anyway to tweak this from the SC source code side? I have some other changes I'd like to make there anyway and I'd like to limit the number of custom packages I have to mess with.

Thanks!
sbussinger
 
Posts: 4
Joined: 2006-03-31 09:41

Postby buch85 » 2006-04-01 09:09

:( currently i have the PROBLEM that i couldn't obtain a version of SC (compiling it by myself) that doesn't make the viewer to prompt anything...

Try to compile a SC yourself and you'll get what you are searching for... (I think)

:cry: I need the opposite thing that you are searching for.

Technical Info: To start a connection without the prompt "issue" you have "just" to make the server to use the RFB 003.006 protocol message instead the RFB 003.016 (that is used from the SC)

If you compile SC (without modifiing it) and it works prompting as usal... please tell me HOW, HOW, HOW you got it :D
buch85
8
8
 
Posts: 10
Joined: 2006-03-07 13:42

Postby redge » 2006-04-01 21:37

I know you need the opposite of this topic below:
Why doesn't winvnc.exe prompt vncviewer (listen mode)?

I think vncviewer option available coming soon to disable prompt feature for SC and classic winvnc based on latest vncviewer 1.0.1 or tabbed viewer 1.2.x
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
redge
Super-Mod
Super-Mod
 
Posts: 6815
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Possible to disable the SC connection query prompt?

Postby Arnaut » 2006-09-04 12:04

The prompt is not in SC, but in the viewer. I had the same problem and eliminated it by commenting about 10 lines of code and then recompiling; if you want, I can send you the modified version of the viewer
Arnaut
8
8
 
Posts: 8
Joined: 2006-07-20 08:02

Re: Possible to disable the SC connection query prompt?

Postby menash » 2014-11-09 12:28

sorry for jump this topic, but is there a solution to that today without compiling?
i need that when single click user, connect to my computer(i'm using vnc viewer in listen mode), i'll not get a prompt that tell me that someone want to connect to me, but the connection will be without that prompt, and immediately it will create.
menash
8
8
 
Posts: 16
Joined: 2009-07-17 09:13

Re: Possible to disable the SC connection query prompt?

Postby Rudi De Vos » 2014-11-10 20:05

Not done.
If wecomment out that code part, then other people request to add it back.

The normal winvnc version doesn't have the prompt unless it's set.
For SC this is hardcoded.
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5353
Joined: 2004-04-23 10:21

Re: Possible to disable the SC connection query prompt?

Postby menash » 2014-11-11 00:01

thank you rudi :-)
menash
8
8
 
Posts: 16
Joined: 2009-07-17 09:13

Re: Possible to disable the SC connection query prompt?

Postby Sainsuper » 2014-11-11 23:48

Hi, i think you should use:
Vncviewer.exe -listen -autoacceptincoming
Sainsuper
40
40
 
Posts: 74
Joined: 2008-04-02 10:47


Return to SC

Who is online

Users browsing this forum: No registered users and 1 guest

cron