Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

Can I use "standard" Winvnc & viewer with the PERL rptr?

Simple, Free, Open Source UltraVNC Wrapper Supporting Windows and Mac OSX
Post Reply
User avatar
rcooke
40
40
Posts: 98
Joined: 2011-02-19 13:06
Location: Toronto, Canada
Contact:

Can I use "standard" Winvnc & viewer with the PERL rptr?

Post by rcooke »

I'm trying to cut out the middle man (chunk).

Am I correct in my observation that Chunk is a wrapper that configures WinVNC.exe on the server to do a proxy or remote connection?

Using sys internal tools procexp, the command line appears to be:

Code: Select all

-autoreconnect ID:<client#><machine#> -connect repeater.ru:myport1  -run
or, in service mode, this line is added to ultravnc.ini:

Code: Select all

service_commandline=-autoreconnect ID:<client#><machine#> -connect repeater.ru:myport1
And there is a "-run_service" appended to that when it gets passed to winvnc.exe running as a service.

I configured the machines I have to support by installing the latest uVNC and configuring it as above, using a clever scheme to assign ID numbers.

I am running the PERL script that came in the ChunkVNC 3.2 package. (under FreeBSD)

On the client side, I use sys internal tools procexp to find the parameters being passed to the viewer:

Code: Select all

-proxy repeater.ru:myport2 ID:<client#><machine#> -quickoption 3 -keepalive 1
I created shortcuts to the viewer, one per machine looking like this:

Code: Select all

"C:\Program Files\UltraVNC\vncviewer.exe" /password LetMeIn -proxy repeater.ru:myport2 ID:<client#><machine#> -quickoption 1 -keepalive 1 -dsmplugin SecureVNCPlugin.dsm  -loglevel 12 -console
In another thread, I have learned why the "/password LetMeIn" is not working, so that comes out. I have to get the DSM plugin working to get access security, and traffic encryption as a bonus.

"-loglevel and -console" are just for testing and diagnostics, they come out when this goes live. I changed "-quickoption" to auto to test how well it does. So far so good.

Without the plugin enabled on either side, this seems to work. I can connect to a machine running from the ChunkVNC server (remote help), and I can use the "RemoteViewer" program to access machines actually running my uVNC setup server!

I think this is pretty cool. It lets me pre-configure the machines I need to support - regardless of location - to connect to the repeater, without getting the user to run the remote support program. For service techs, instead of having to lug around a pile of shortcuts (or list of ID numbers) I'm going to modify the PERL script to keep a POSTGRES data base record of active connections. This will let me use a Django web page to display a dynamic list of machines logged in so you just select the one you want to connect to from that web page and it spawns the viewer with the "right" arguments.

I'm posting this in case somebody out there with more experience knows a "gotcha" I have not hit yet! Plus I have not seen this explained anywhere else in this much detail, so it might be handy or educational to others.
Regards,
Richard Cooke
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Can I use "standard" Winvnc & viewer with the PERL rptr?

Post by supercoe »

Wow, I don't know what to say... You've really missing the point of ChunkVNC.

Absolutely you can use a repeater without ChunkVNC. ChunkVNC is simply an AutoIt script that sets up the UltraVNC Server and Viewer, that's it.

Here is a list of the UltraVNC command line variables: http://www.uvnc.com/install/cmdline.html

You could have also just opened the .au3 scripts in the ChunkVNC\SRC directory to see how the connection is made.
These scripts are what make ChunkVNC what it is, the rest is just UltraVNC. :)


I'm going to modify the PERL script to keep a POSTGRES data base record of active connections.

Now this I'd like to see, others have attempted similar but AFAIK nothing has come of it. This would be a great addition to the software around here.
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
User avatar
rcooke
40
40
Posts: 98
Joined: 2011-02-19 13:06
Location: Toronto, Canada
Contact:

Re: Can I use "standard" Winvnc & viewer with the PERL rptr?

Post by rcooke »

Yeah, I read all the uVNC "documentation" first. Before I discovered Chunk.

What I have *really* done is learn how uVNC works by hacking Chunk and reading all of the AutoIT scripts too.

:oops:

Which I'm going to claim just shows a hole in uVNC's documentation. It can't be that I'm a dolt.... heheheh
Regards,
Richard Cooke
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Can I use "standard" Winvnc & viewer with the PERL rptr?

Post by supercoe »

Yea, documentation really sucks. There have been efforts to make it better but really the best thing is to just ask around here for help. :)

Good luck!
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: Can I use "standard" Winvnc & viewer with the PERL rptr?

Post by B »

Wow indeed!

rcooke, I've always considered ChunkVNC a great "gateway drug" into figuring out an appropriate way to use the UltraVNC Repeater. (I had always found the various repeater "modes" and configuration options confusing.) But as supes says, you could very easily do it all with regular old UltraVNC.

Using procexp to gather that information is a nice, funny example of using the tools you know.... :)
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Can I use "standard" Winvnc & viewer with the PERL rptr?

Post by supercoe »

funny example of using the tools you know

No kidding, this is a great example of the power you can achieve with sysinternal tools.
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
User avatar
rcooke
40
40
Posts: 98
Joined: 2011-02-19 13:06
Location: Toronto, Canada
Contact:

Re: Can I use "standard" Winvnc & viewer with the PERL rptr?

Post by rcooke »

B wrote:Wow indeed!

rcooke, I've always considered ChunkVNC a great "gateway drug" into figuring out an appropriate way to use the UltraVNC Repeater. (I had always found the various repeater "modes" and configuration options confusing.) But as supes says, you could very easily do it all with regular old UltraVNC.

Using procexp to gather that information is a nice, funny example of using the tools you know.... :)
Whew!

I'm relieved its not just me that uses Chunk to figure out uVNC usage!

:mrgreen:
Regards,
Richard Cooke
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: Can I use "standard" Winvnc & viewer with the PERL rptr?

Post by supercoe »

It took me a long time to figure out how all this crap works but when it does its a beautiful thing. :D
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
Post Reply