Error is: "Your connection has been rejected".
I have "WinVNC.ini" file and file "SecureVNCPlugin64.dsm" in the same folder with "winvnc.exe".
Code: Select all
[ultravnc]
passwd=123456
passwd2=654321
[admin]
DSMPluginConfig=SecureVNC;0;0x00148004;
UseRegistry=0
MSLogonRequired=0
NewMSLogon=0
DebugMode=2
Avilog=0
path=.
kickrdp=0
service_commandline=
DebugLevel=10
DisableTrayIcon=0
rdpmode=0
LoopbackOnly=0
UseDSMPlugin=1
AllowLoopback=1
AuthRequired=0
ConnectPriority=0
DSMPlugin=SecureVNCPlugin64.dsm
AuthHosts=
AllowShutdown=1
AllowProperties=1
AllowEditClients=1
FileTransferEnabled=1
FTUserImpersonation=1
BlankMonitorEnabled=1
BlankInputsOnly=0
DefaultScale=1
SocketConnect=1
HTTPConnect=1
AutoPortSelect=1
PortNumber=5900
HTTPPortNumber=5800
IdleTimeout=0
IdleInputTimeout=0
RemoveWallpaper=0
RemoveAero=0
QuerySetting=1
QueryTimeout=10
QueryAccept=0
QueryIfNoLogon=0
primary=1
secondary=0
InputsEnabled=1
LockSetting=0
LocalInputsDisabled=0
EnableJapInput=0
FileTransferTimeout=1
clearconsole=0
accept_reject_mesg=
KeepAliveInterval=5
[poll]
TurboMode=1
PollUnderCursor=0
PollForeground=0
PollFullScreen=1
OnlyPollConsole=0
OnlyPollOnEvent=0
EnableDriver=0
EnableHook=1
EnableVirtual=0
SingleWindow=0
SingleWindowName=
MaxCpu2=100
MaxFPS=25
One of the first things that I do is to uncheck "[ ] only server with password" in "vncviewer.exe". My file "options.vnc" in the same folder with "vncviewer.exe" is:
Code: Select all
[connection]
host=
port=5900
proxyhost=
proxyport=0
index=
[options]
use_encoding_0=1
use_encoding_1=1
use_encoding_2=1
use_encoding_3=0
use_encoding_4=1
use_encoding_5=1
use_encoding_6=1
use_encoding_7=1
use_encoding_8=1
use_encoding_9=1
use_encoding_10=1
use_encoding_11=0
use_encoding_12=0
use_encoding_13=0
use_encoding_14=0
use_encoding_15=0
use_encoding_16=1
use_encoding_17=1
use_encoding_18=1
use_encoding_19=1
use_encoding_20=0
use_encoding_21=0
use_encoding_22=0
use_encoding_23=0
use_encoding_24=0
use_encoding_25=1
use_encoding_26=1
use_encoding_27=1
use_encoding_28=0
use_encoding_29=1
preferred_encoding=10
viewonly=0
showtoolbar=1
fullscreen=0
SavePos=0
SaveSize=0
directx=1
autoDetect=0
8bit=0
shared=1
swapmouse=0
emulate3=1
JapKeyboard=0
disableclipboard=0
Scaling=0
AutoScaling=0
AutoScalingEven=0
AutoScalingLimit=0
scale_num=1
scale_den=1
cursorshape=1
noremotecursor=0
compresslevel=6
quality=8
ServerScale=1
Reconnect=3
EnableCache=0
EnableZstd=1
QuickOption=1
UseDSMPlugin=1
UseProxy=0
allowMonitorSpanning=0
ChangeServerRes=0
extendDisplay=0
showExtend=0
use_virt=0
useAllMonitors=0
requestedWidth=0
requestedHeight=0
DSMPlugin=SecureVNCPlugin64.dsm
folder=.
prefix=vnc_
imageFormat=.jpeg
AutoReconnect=3
FileTransferTimeout=30
ThrottleMouse=0
KeepAliveInterval=5
AutoAcceptIncoming=0
AutoAcceptNoDSM=0
GiiEnable=0
RequireEncryption=0
restricted=0
nostatus=0
nohotkeys=0
sponsor=1
PreemptiveUpdates=0
belldeiconify=0
BlockSameMouse=0
emulate3timeout=100
emulate3fuzz=4
localcursor=1
use_allmonitors=0
ExitCheck=0
ListenPort=
InfoMsg=
AllowUntrustedServers=1
The result is the same - hundreds windows with error message
"Your connection has been rejected" apperas. But when I remove option "-sc_prompt" from "winvnc.exe" command line, it's work fine!