Pre-configure TightVNC as (reverse connection) listener (service)?

2

0

Is it possible to pre-config my TightVNC service and let it act as (reverse connection) listener for a certain host, without doing this via the GUI?

I've been roaming through many websites, looking for answers, have checked the Windows registry a dozen of times in various locations, but am unable to find anything related to TightVNC's "Attach Listening Viewer", which is accessible in the service config application, via the systray context menu.

I did find something else but i'm not sure if it's the thing i'm looking for. Heck, i have no clue what it does:

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run]

"tvncontrol"="\"C:\\Program Files (x86)\\TightVNC\\tvnserver.exe\" -controlservice -slave"

Thank you in advance, Superusers! ;-)

edit: Okay... i'm a bit embarrassed to say this but i believe i've found it.

http://www.tightvnc.com/docs.php

How to configure TightVNC Server via the command line:

TightVNC for Windows: Server Command-Line Options (PDF)

It covers all (except the -slave) command line options and their usage/purpose.

If someone knows what the undocumented -slave parameter is for, leave a comment ;-)

Well.., i can't seem to get the listener mode to work. Whatever i do, tvnserver.exe either keeps showing me the command-line usage options or shows nothing at all.

I did everything by the manual and tried the following: tvnserver.exe -controlservice -connect xxx.xxx.xxx.xxx (masked IP-address)

Hmm, i've finally managed to make it work. All i had to do was keeping tvnviewer.exe enabled as listener. I was under the impression that the server would contineaously attempt to connect, but this wasn't the case.

I conclude this journey with a final question:

Since both the server and the viewer (client) have a listener option, under what circumstances am i supposed to put the TightVNC viewer in listening mode, and when should this be done for the server?

Best regards,

/copyitright

copyitright

Posted 2017-04-25T01:04:56.750

Reputation: 21

According to the instruction (in Russian) it is enough to start vncviewer.exe -listen 5432, and then use command Attach Listening Viewer... in VNC-server's menu to establish the reverse connection. I'm not sure whether same functionality is available in command line. Here is similar instruction in English.

– AntonK – 2019-08-04T11:58:08.033

No answers