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

ChunkVNC "Fork"

Simple, Free, Open Source UltraVNC Wrapper Supporting Windows and Mac OSX
Rat
80
80
Posts: 182
Joined: 2004-11-01 02:11

Re: ChunkVNC "Fork"

Post by Rat »

ahinson wrote:I recently made an attempt to move from ChunkVNC 3.1 to the Rat "Fork" version because many of the changes Rat has made thus far are quite attractive. Kudos to you Rat.

After making some modifications to suit my needs (I need the form to display the connection ID) and compiling the "3.1m fork" I began functionality testing and soon hit a wall. It seems that due to the introduction of GDI+ to draw the connection ID labels the "3.1m fork" version won't work with any version of Windows < Windows XP/2003. At least not without first installing the GDI+ redistributable, which is often a rather large hurdle to leap since you're probably already working with someone who's less than computer savvy. Unfortunately for me, this was a deal breaker since many of our customers still run Windows 2000 and a few with 98 - despite my constant prodding to upgrade.

http://msdn.microsoft.com/en-us/library ... s.85).aspx

Perhaps this should be noted as a disclaimer on the front page of this thread?
I may repackage things with the gdiplus.dll included ... or try ChunkVNC 3.2 instead.

Please, share your thoughts on this...

Thanks.
Well I used the GDI "Hack" because the AutoIT functions "GUICtrlCreateLabel" and "GUICtrlSetData" didn't work correctly. I did however leave this original code in the "InstantSupport.au3" file which you are welcome to uncomment... see below:

Line 569:

Code: Select all

; Show Connection ID
;$ConnectIdLabel = GUICtrlCreateLabel('ID = ' & $ConnectId, 0, $LogoHeight, $GuiWidth, $IdHeight, $SS_CENTER)
;GUICtrlSetFont(-1, $IdFontSize, 800, 0, 'Arial Black', 2)
;GUICtrlSetColor(-1, $IdFontColor)
;GUICtrlSetBkColor(-1, $IdBackgroundColor)
Line 650:

Code: Select all

;		If $ConnectId <> 0 Then GUICtrlSetData($ConnectIdLabel, 'ID = ' & $ConnectId)
Note: Actually I would replace the body of the "DrawConnectionId()" function with this code.

p.s. I think I originally wrote this code on a Windows 2000 machine so I would double-check the GDI+ requirement.
ahinson
8
8
Posts: 11
Joined: 2009-12-07 21:16

Re: ChunkVNC "Fork"

Post by ahinson »

Thanks for the tip... I'll look at replacing the contents of the DrawConnectionId() method with the original code as suggested.

p.s. I think I originally wrote this code on a Windows 2000 machine so I would double-check the GDI+ requirement.
Microsoft notes that it isn't included in Windows 2000 as described in the MSDN article link, which I included in my previous post.
Perhaps you installed the GDI+ redistributable at some point in the past or it was pushed by Windows update or maybe even be part of the AutoIT install.
Gdiplus.dll is included in Windows XP and Windows Server 2003. For information about which operating systems are required to use a particular class or method, see the More Information section of the documentation for the class or method. GDI+ is available as a redistributable for Microsoft Windows NT 4.0 SP6, Windows 2000, Windows 98, and Windows Millennium Edition (Windows Me). To download the latest redistributable, see http://go.microsoft.com/fwlink/?LinkID=20993.
User avatar
rcooke
40
40
Posts: 98
Joined: 2011-02-19 13:06
Location: Toronto, Canada
Contact:

Re: ChunkVNC "Fork"

Post by rcooke »

Has anybody observed any problems with the "fork" code dropping the repeater connection if the password entry is aborted?

I found this problems occurs with the 1.0.9.6.1 release of uVNC when using a repeater and the SCplugin for security.

I posted the details here:
https://forum.ultravnc.net/viewtopic.ph ... 509#p89509
Regards,
Richard Cooke
User avatar
rcooke
40
40
Posts: 98
Joined: 2011-02-19 13:06
Location: Toronto, Canada
Contact:

Re: ChunkVNC "Fork"

Post by rcooke »

rcooke wrote:Has anybody observed any problems with the "fork" code dropping the repeater connection if the password entry is aborted?

I found this problems occurs with the 1.0.9.6.1 release of uVNC when using a repeater and the SCplugin for security.

I posted the details here:
https://forum.ultravnc.net/viewtopic.ph ... 509#p89509

I just confirmed this problem exits in Chunk VNC Fork 3.1m as well.

If you CANCEL the password prompt the server side drops from the repeater and does not reconnect. You have to re-start the instant support application, or restart the service.

I also had a problem with the viewer exiting just after it loads up the desktop. I did not observe this when I tested "plain" Chunk VNC 3.3.

After I switched to "service" mode and restarted the service as part of my test, the viewer connected without exiting. I had remote control of the mouse, but the screen area was all blue. The connection status said "speed: 0". Any idea what problem that is?
Regards,
Richard Cooke
B
800
800
Posts: 2338
Joined: 2009-09-09 14:05

Re: ChunkVNC "Fork"

Post by B »

Huh? Are you not ALWAYS running in service mode? If you're not installing in service mode, I wouldn't expect reconnections to work very well. (And even in service mode some people, me included, have had problems.)

Personally I'm really looking forward to eliminating the need for a repeater once the new NAT2NAT code is released. But that is still in development.

Regarding your blue screen issue, I think some people have had success by altering their chosen screen saver -- it seems there's some kind of small bug regarding refreshing the login screen.
User avatar
rcooke
40
40
Posts: 98
Joined: 2011-02-19 13:06
Location: Toronto, Canada
Contact:

Re: ChunkVNC "Fork"

Post by rcooke »

B wrote:Huh? Are you not ALWAYS running in service mode? .
The full procedure is in the linked post. I tested all modes, application first then service. The "service restart" I mention is to recover after canceling password entry.

I'll have to read up on nat2nat.... Thanks for mentioning it!
Regards,
Richard Cooke
Rat
80
80
Posts: 182
Joined: 2004-11-01 02:11

Re: ChunkVNC "Fork"

Post by Rat »

rcooke wrote:
rcooke wrote:Has anybody observed any problems with the "fork" code dropping the repeater connection if the password entry is aborted?

I found this problems occurs with the 1.0.9.6.1 release of uVNC when using a repeater and the SCplugin for security.

I posted the details here:
https://forum.ultravnc.net/viewtopic.ph ... 509#p89509

I just confirmed this problem exits in Chunk VNC Fork 3.1m as well.

If you CANCEL the password prompt the server side drops from the repeater and does not reconnect. You have to re-start the instant support application, or restart the service.

I also had a problem with the viewer exiting just after it loads up the desktop. I did not observe this when I tested "plain" Chunk VNC 3.3.

After I switched to "service" mode and restarted the service as part of my test, the viewer connected without exiting. I had remote control of the mouse, but the screen area was all blue. The connection status said "speed: 0". Any idea what problem that is?
Did you use the Perl repeater script? Karl and I specifically targeted this issue in the last release.
User avatar
rcooke
40
40
Posts: 98
Joined: 2011-02-19 13:06
Location: Toronto, Canada
Contact:

Re: ChunkVNC "Fork"

Post by rcooke »

Rat wrote: Did you use the Perl repeater script? Karl and I specifically targeted this issue in the last release.
I'm using the Perl script bundled with ChunkVNC release 3.2, and I thought was the same one in the 3.3.x releases.
Regards,
Richard Cooke
Rat
80
80
Posts: 182
Joined: 2004-11-01 02:11

Re: ChunkVNC "Fork"

Post by Rat »

rcooke wrote:I'm using the Perl script bundled with ChunkVNC release 3.2, and I thought was the same one in the 3.3.x releases.
I'm not sure what Chunk has included in the v3.2 release but its probably not the latest release of the Perl Repeater script that Karl and I worked on. (The last release we did was a complete re-write.) You can download our Perl repeater script from here.
User avatar
rcooke
40
40
Posts: 98
Joined: 2011-02-19 13:06
Location: Toronto, Canada
Contact:

Re: ChunkVNC "Fork"

Post by rcooke »

Rat wrote: I'm not sure what Chunk has included in the v3.2 release but its probably not the latest release of the Perl Repeater script that Karl and I worked on. (The last release we did was a complete re-write.) You can download our Perl repeater script from here.
No, its very different. I posted a request for an upgrade guide so I would know if I could just drop the new one in place of the old one, or if I would need to set some defaults first:

https://forum.ultravnc.net/viewtopic.ph ... 790#p89514
Regards,
Richard Cooke
Rat
80
80
Posts: 182
Joined: 2004-11-01 02:11

Re: ChunkVNC "Fork"

Post by Rat »

rcooke wrote:No, its very different. I posted a request for an upgrade guide so I would know if I could just drop the new one in place of the old one, or if I would need to set some defaults first:

https://forum.ultravnc.net/viewtopic.ph ... 790#p89514
I wouldn't bother with an "Upgrade Guide". The new Perl script is sufficiently different to be effectively a separate product. Just follow the instructions in the Forum Posting and within the script itself.
User avatar
supercoe
400
400
Posts: 1732
Joined: 2009-07-20 21:27
Location: Walker, MN
Contact:

Re: ChunkVNC "Fork"

Post by supercoe »

Rat,

Correct, I'm still rocking the old script as it "just worked" and didn't have time to check out the new stuff you guys did. I'll get it in there for everyone. :)
http://www.chunkvnc.com - ChunkVNC - Free PC Remote control with the Open Source UltraVNC wrapper InstantSupport!
truck0321
Posts: 6
Joined: 2011-11-30 16:44

Re: ChunkVNC "Fork"

Post by truck0321 »

This is really nice, thanks Rat. I'd like to be able to compile with a fixed id through a command line parameter. I suspected your compile-compiler script would have been a good start but it no longer exists at http://www.vuware.com/chunkvnc/ChunkVNC_3_X_X.zip. The gui is nice, but I would like to generate unique id's/files for each person automatically and command line is the way to go.
truck0321
Posts: 6
Joined: 2011-11-30 16:44

minimizing

Post by truck0321 »

I'd also like to be able to minimize the connection window with a hotkey. Is this what unpinning the windows is supposed to do? It does not seem to work even though I have double clicking the logo set to true. It's perfect that the user cannot minimize it, but I'd like to be able to.
Rat
80
80
Posts: 182
Joined: 2004-11-01 02:11

Re: ChunkVNC "Fork"

Post by Rat »

truck0321 wrote:I'd also like to be able to minimize the connection window with a hotkey. Is this what unpinning the windows is supposed to do? It does not seem to work even though I have double clicking the logo set to true. It's perfect that the user cannot minimize it, but I'd like to be able to.
Hi truck0321, I'm afraid the logo double-click feature doesn't work, there is a note about it in the "ChunkVNCSupportDefs.au3" file which also mentions where you can read more about the problem here. Currently you must use a designated Hot-Key to "Un-Pin" the window.

truck0321 wrote:This is really nice, thanks Rat. I'd like to be able to compile with a fixed id through a command line parameter. I suspected your compile-compiler script would have been a good start but it no longer exists at http://www.vuware.com/chunkvnc/ChunkVNC_3_X_X.zip. The gui is nice, but I would like to generate unique id's/files for each person automatically and command line is the way to go.
Thanks for the compliment... I can see the value in your suggestion and will include it in the next release.

Note: The Compiler-Compiler functionality is still there in the file "InstantSupportCompilerCompiler.au3" which compiles the file "InstantSupportCompiler.au3". Perhaps you can hack it to suit your requirements in the meantime. (I still include it with the source code even though its no longer used, because I thought it might be useful for someone one day.)

Another Note: The downloadable Fork installer installs the full project source code. Make sure you read the instructions in the first post of this forum thread.

Tip: I always run my ChunkVNC Fork with this: [topic=18106][/topic]
truck0321
Posts: 6
Joined: 2011-11-30 16:44

Re: ChunkVNC "Fork"

Post by truck0321 »

I just found the way to minimize the support window is to right click the system tray icon and choose hide window. As for command line support I'll roll up my sleeves and mess around. Thanks again.
Blizzard1234
Posts: 6
Joined: 2010-11-09 21:12

Re: ChunkVNC "Fork"

Post by Blizzard1234 »

I've installed ChunkVNC Fork v4.0.0 after finding myself in a major bind (I have less than 24 hours to have a working remote support app).
I have the following setup - How can I customize it?
- Win 7 x64
- using a dyndns.org service to handle my dynamic IP issue
- no repeater being used
- the test I did with Fork shows I have no encryption being used (not good)
- I need to be able to run 2 to 5 remote sessions at any one time on the same PC (I have 32 Gb RAM with a i7-3770k processor with 15 Mb download/10 Mb upload broadband)
- the remote currently shows Tel: 1234 567 890 and Technicians 1,2,3,4,5 etc which I'd like to change to my phone number and Tech Remote 1 2 3 4 5 etc instead
- do I need unique ports ie 5900, 5901, 5902, 5903, etc?
The default InstantSupportViewer.exe and ChunkVNCRemote.exe don't seem to be working properly as of now.

what am I missing in my setup?
Is there an easy way to reconfigure the standard connection?

Your help is greatly appreciated.
User avatar
NetVicious
Posts: 6
Joined: 2012-09-17 12:57

Re: ChunkVNC "Fork"

Post by NetVicious »

Hi Rat,

I did some changes to your code but the compiler takes forever :cry:

How many time does it need usually to compile all the scripts ?

Anyway to see a log or whatever the compiler it's doing on the underhood ?
.. //\/ e t . \/ i c i o u s ..
bigfry
Posts: 2
Joined: 2012-11-20 00:35

Re: ChunkVNC "Fork"

Post by bigfry »

Much thanks!

I tried updating to the most recent winvnc.exe in my old chunk 3.3.1 install and met disaster, but your "fork" took it no problems. :thumbs:
heat_z0ne
8
8
Posts: 13
Joined: 2013-05-17 00:03

Re: ChunkVNC "Fork"

Post by heat_z0ne »

Hi I am Trying to make Example 3( Windows with Random ID).
I change '$AutoConnect = True" But it still not auto connecting to repeater.
Anyone has any idea where i have to change to get it work ???
another thing how can i add password so viewer need to type password for remote support???

I am not expert in programming ,Please help me ......... :surprise:
Thanks a LOT in advance.
Post Reply