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

UVNC SC and Encryption v1.01 - confusing documentation!!!

Single Click discussions / bugs
Post Reply
roadrun777
Posts: 4
Joined: 2005-02-27 23:29

UVNC SC and Encryption v1.01 - confusing documentation!!!

Post by roadrun777 »

I kept reading the how-to's over and over and over.. I followed the directions exactly every time, and all I ever got was error after error, and occasionally I would get just a dialogue box that showed me my command line parameters. The website documentation for SC really needs some fixing.

I read several posts and finally understand what is going on, but not 100% so please feel free to help me out here.

I got the encryption to work finally by renaming the MSRC4Plugin_NoReg.dsm to -> MSRC4Plugin.dsm and copying that file into the custom.zip before uploading to the creator (wich isn't documented).

For some reason, I could not get my viewer (1.01) in listen mode to accept incoming connections, it kept saying my protocol was wrong or it could not find the plugin (and so you know I used the exe setup version of UVNC)
This was the command line I used to start it -

C:\UltraVNC\vncviewer.exe -listen 7789 -dsmplugin MSRC4Plugin.dsm

After it entered into listen mode I right clicked on the tray icon then hit new connection to see if it was pointing to my DSM plugin, and it was. I noticed that the config button did nothing at all! This is strange, becuase if I loaded up my viewer (1.01) with no command line parameters (not in listen mode), I got the same new connection dialogue but now the config button worked fine. Ok, at this point I was thinking to myself, that it seems when you start the viewer in listen mode (command line) it doesn't want to access the dsm plugin correctly even though it was listed and the use box was checked.

I finally read a few forum posts and tried this -

I put the MSRC4Plugin_NoReg.dsm in my UltraVNC dir, then I made a little batch file to run the viewer with the Noreg version. You can copy and paste the text below into a *.cmd file but be sure and change it to suit your file locations...

set workingDirectory=c:\UltraVNC
c:
cd "%workingDirectory%"
REM ** Set the keyfile
set msrc4pluginkey="%workingDirectory%\rc4.key"
vncviewer.exe -listen 7789 -dsmplugin MSRC4Plugin_NoReg.dsm

Now, when I run the viewer (1.01) in listen mode with this batch file I can finally hit the config button and I get the setup dialogue box I am supposed too.
This was the only way I could get the Single Click version to connect to the viewer in listen mode using the MSRC4 plugin. Now here is the crazy part, if I didn't set the variables, with the batch file, before running the viewer in listen mode, the MSRC4 plugin would not function at all (either version), and I could not access the config screen for it. Its almost as if its looking in the wrong path and by setting the environment variable it corrected the path issue and allowed me to access the plugin...

Anyone else notice this, or am I crazy? Also, just so you know, I did not install Uvnc as a service. As soon as it installed, I ran the server, and altered the settings for myself, activated the MSRC4Plugin and generated my rc4.key, then I applied it and exited. I reloaded to make sure my settins stuck and they did. So I know the reg entries for MSRC4 were in place. So if you were thinking that is the reason why the first plugin didn't work in listen mode, you can see the reg entries were in place.
Last edited by roadrun777 on 2005-08-09 08:40, edited 4 times in total.
papaminimaus

MSRC4

Post by papaminimaus »

Try to activate the plugn before hitting config.

It works for me, when the option is chosen and active.

Papaminimaus
stinkydaddy
Posts: 5
Joined: 2005-08-28 02:13

UVNC SC and Encryption v1.01 - confusing documentation!!!

Post by stinkydaddy »

roadrun777:

In spite of an indication to the contrary on the MSRC4 Plugin website, you do not need to rename MSRC4Plugin_NoReg.dsm to MSRC4Plugin.dsm nor do you need to copy that file into custom.zip.

You must however include the rc4.key file created by using the plugin (actually that would be the new_rc4.key file renamed as rc4.key) in the custom.zip file you upload.

Regardless of whether you renamed MSRC4Plugin_NoReg.dsm as MSRC4Plugin.dsm or not, you just have to make sure that the plugin you set in the server is the same one used to create the rc4.key file.

More importantly (and here is the tricky part that got you scratching your head), if you do decide to use the plugin, launching the Viewer in Listen Mode simply by clicking the associated shortcut in your UltraVNC menu will NOT work (as you observed). The reason is that the shortcut is set only with the " -listen" switch and not the necessary " -listen -dsmplugin msrc4plugin_noreg.dsm" switch. You can see that by checking out the properties of the shortcut.

What you might want to do is create a new shortcut to launch the Viewer in Listen Mode with the appropriate switch. To do so, create a shortcut with a "Target" of:

"C:\Program Files\UltraVNC\vncviewer.exe" -listen -dsmplugin msrc4plugin_noreg.dsm
or
"C:\Program Files\UltraVNC\vncviewer.exe" -listen -dsmplugin msrc4plugin.dsm (if you renamed it)

Also, don't forget to set "Start in" to "C:\Program Files\UltraVNC"

This worked for me. Hopefully it will work for you too.
jviola

Still getting erros

Post by jviola »

I'm getting errors still when I use encryption. I've opened my viewer, selected and configured my encryption. I then included the rc4.key file in my custom.zip. After running it on the client I get the following errors on my pc.
Connections Failed - Invalid protocl !
Possible causes:
-You've forgotten to select a DSMPlugin and the Server uses a DSMPlugin
- The selected DSMPlugin is not cmpatible with the one running on the SErver
- The selected DSMPlugin is not correctly configured (also possibley on the Server
-The password you've possibly entered is incorrect.

I have my listener running with -listen -dsmplugin MSRC4plugin.dsm

Can anyone help me?

Jeff
Post Reply