On 20/05/2020 16:20,
jhube...@gmail.com wrote:
> After some more testing, here is what I have found:
>
> When winvnc4.exe starts as a service when the computer starts, I can
> establish the reverse connection graphically by right clicking on the icon
> in the system tray, but the command line does not work.
>
> If I DO NOT start winvnc4.exe as a service, but open a command prompt, cd
> to the TigerVNC folder, type "winvnc4" (to start the server), then type
> "winvnc4 -connect www.xxx.yyy.zzz", the reverse connection will be
> established.
>
> Also, from a command prompt, "winvnc4 -server" does nothing....the winvnc
> server is not started. The "winvnc4" command has to be typed alone with no
> other parameters in order for the server to start.
>
> So, it seems that when winvnc4 is started as a service with the computer,
> subsequent winvnc4 commands from the command prompt cannot control the
> server service.
>
> I have tried command prompts with/without administrator rights, but the
> behavior is the same.
>
> Also, it seems odd that the "winvnc -server" command does not work from the
> command line.
>
Thanks for the investigation. It sounds like there is still some
permission issue. The WinVNC code predates all the new stuff like UAC,
it will get fixed anytime soon. :/