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

Starting VncViewer from CMD or .BAT question!!!!

Post Reply
daMANiack
Posts: 3
Joined: 2005-07-17 04:12

Starting VncViewer from CMD or .BAT question!!!!

Post by daMANiack »

Hi,

I'm trying to start VncViewer from a .bat file, it's working great, but I have a couple of queries.

This is the command-line I'm using:

start vncviewer.exe -scale 79/100 -listen -dsmplugin MSRC4Plugin_NoReg.dsm -password xxxxxx -connect xxxxxx.no-ip.com:5500

By using this command-line, VncViewer starts automatically and accesses the PC, but:

1) When I EXIT, Ultra@VNC Viewer icon remains on the taskbar and VncViewer.exe running, how do I KILL it as I can't startup again using my command-line
2) How can I add to the command-line so that my DISPLAY it set to AUTO so the window is scaled rather than having to use scroll-bars to navigate

Cheerz :) :D :wink:
Last edited by daMANiack on 2005-07-24 11:38, edited 2 times in total.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

start vncviewer.exe -scale 79/100 -listen -dsmplugin MSRC4Plugin_NoReg.dsm -password xxxxxx -connect xxxxxx.no-ip.com:5500
I'm surprised that can work,
-listen is for viewer, OK
-connect is for winvnc

correct spelling for your viewer and winvnc situation:

start vncviewer -scale 79/100 -listen -dsmplugin MSRC4Plugin_NoReg.dsm

start winvnc -plugin MSRC4Plugin_NoReg.dsm -connect xxxxxx.no-ip.com:5500

reverse connection with MSRC4Plugin_NoReg don't need to put password


1) you need the updated vncviewer 1.0.1a3 from pgmoney
more info about this feature:
[post=13553][/post]

2) not clear for me, there no answer from me.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
daMANiack
Posts: 3
Joined: 2005-07-17 04:12

Post by daMANiack »

redge wrote: I'm surprised that can work,
-listen is for viewer, OK
-connect is for winvnc
Hi,

:D HaHaHaHa :D , I've been a beta tester for ages with different programs.

Maybe as I'm not a programmer, I have a different perspective on things, sometimes I do some strange things that work, maybe a bug, maybe extra features not currently enabled. :D

I've settled on using in the .bat file, seems to work great:

start vncviewer.exe -scale 79/100 -dsmplugin MSRC4Plugin_NoReg.dsm -password xxxxxx -connect xxxxxx.no-ip.com:5500

I found out that the -listen paramater needed to be removed so the tray icon wasn't enabled/installed, I'm a noobie when it comes to UltraVNC.

2) Fixed by using -scale 79/100

Sorry, what do you mean by:

reverse connection with MSRC4Plugin_NoReg don't need to put password

Cheerz :wink:
Last edited by daMANiack on 2005-07-26 00:45, edited 4 times in total.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

start vncviewer.exe -scale 79/100 -dsmplugin MSRC4Plugin_NoReg.dsm -password xxxxxx hostname.dynamicdns.tld:5900
or
start vncviewer.exe -scale 79/100 -dsmplugin MSRC4Plugin_NoReg.dsm -password xxxxxx -connect hostname.dynamicdns.tld:5900

are same result

(5500 is the default port listen mode for viewer/repeater and outgoing port of winvnc as reverse connection mode)
5900 is the default port listen for winvnc and outgoing port for vncviewer

that work this a direct connection way !
(classical, not hidden feature or anything special ;-)
Last edited by redge on 2005-07-26 01:40, edited 2 times in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

daMANiack wrote:Sorry, what do you mean by:

reverse connection with MSRC4Plugin_NoReg don't need to put password
1st, start from vnc_viewer
start vncviewer -scale 79/100 -listen -dsmplugin MSRC4Plugin_NoReg.dsm

2nd from vnc_server:
start winvnc -plugin MSRC4Plugin_NoReg.dsm -connect xxxxxx.no-ip.com:5500

if you try it, you see winvnc connect to viewer without putting any password !
reverse connection don't need authentication because is like client connet to technician (SingleClick don't use password)
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Post Reply