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

Making it really a single klick program

Single Click discussions / bugs
Post Reply
sethchaos
Posts: 3
Joined: 2005-06-06 08:06

Making it really a single klick program

Post by sethchaos »

Hi, i was wondering if it is possible to create an SC without the menu. It should just connect to a specified IP as soon as you execute it. That way i could integrate it in a website without the need for a program menu. Most users i connect to, would get confused if they see more then one button. (i know such people shouldn't be working on a computer at the first place) ;) So can anybody help me out?
Grey
Posts: 5
Joined: 2005-04-23 12:52

Post by Grey »

If you create a config with only a single [host] entry, that's exactly what it does. It connects to the specified host without bothering you with a menu (you'll see the menu flicker on screen on a slow machine [or even stay a second], but the entry is selected auto-magically).

Just search the forums, it is already described somewhere else.

Greets Grey
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

sethchaos wrote:It should just connect to a specified IP as soon as you execute it.
doc singleclick wrote:If you add [DIRECT] and only have 1 [HOST] defined, the menu is not shown and the connection is direct started. (can be usefull for scripting) [DIRECT] doesn't have a parameter line.
source:
http://doc.uvnc.net/addons/singleclick.html
Last edited by redge on 2005-06-06 11:50, edited 1 time in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
sethchaos
Posts: 3
Joined: 2005-06-06 08:06

Post by sethchaos »

redge wrote:
sethchaos wrote:It should just connect to a specified IP as soon as you execute it.
doc singleclick wrote:If you add [DIRECT] and only have 1 [HOST] defined, the menu is not shown and the connection is direct started. (can be usefull for scripting) [DIRECT] doesn't have a parameter line.
source:
http://doc.uvnc.net/addons/singleclick.html
I tryed the following but the menu still pops up. It does connect without pressing anything. But i would like it to not show the menu at all.

[TITLE]
blablabla

[DIRECT]

[HOST]
workstation5
-plugin -connect ipadress -noregistry

[TEXTTOP]
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Post by Rudi De Vos »

Not possible...

It is the menu code that load the helpdesk.txt.
Without menu, no loading your settings.

Even with the [direct], the user still get notified by the menu popup that
his system will be remote visable...
This was a design choose.
CBailey
40
40
Posts: 71
Joined: 2005-02-28 23:41

Post by CBailey »

I suppose this decision was done to keep UltraVNC from being used as a hacker tool. While this idea is good, I think most hacker, and hacker wannabe types will use other tools, like BO, sub7, etc.. The same reason I don't use BO is probably the same reason hackers don't use VNC... It's just not the best tool for the task.
Personally, I don't think a program should be crippled because it COULD be used for something bad. There are very legitimate reasons for not wanting notification when clicking. My main reason is so I can make a custom interface, with a single button to click, instead of double clicking from a list. I also wanted to explain a little more to the person using SC, so they know what to expect, and I can reassure them that SC won't be permanently installed on their computer.
So far, I've been able to do this by running UltraVNC from my own program with command line parameters to connect. This could also be done with a Batch file.
Rudi, do you know of a way that another running program can know the status of a VNC server? Also, is there a way to distinguish between connecting to a repeater, and connecting to a viewer through a repeater? As of now, when SC connects to the repeater, even if a viewer isn't connected, it says it's connected, which isn't 100% accurate, and may be confusing to the person using SC.
AClarke
Posts: 3
Joined: 2005-05-04 11:14

Post by AClarke »

Thought I'd share how I use SC to remote contol my users.

Using PSExec from Sysinternals you can remotely start SC VNC at the client end without asking the user to do anything. This assumes you have [DIRECT] in your Helpdesk.txt file and only one HOST. The command line is:-

PSEXEC \\Machine -i -u localusername -p password -c "c:\location of EXE on YOUR PC".

With the viewer running on your PC execute the above command & PSExec copies the VNC EXE file from your PC and runs it on the client. System unloads when you exit.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

AClarke

good solution for LAN or/and VPN business.
but can't be used over end user usage NAT router/WAN--Internet--WAN/NAT router
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Shaba1
40
40
Posts: 66
Joined: 2005-03-16 19:15
Contact:

Post by Shaba1 »

I know you worte this a while ago. But don't you require admin priviliges on the remote machine in order to run psexec?0.
AClarke wrote:Thought I'd share how I use SC to remote contol my users.

Using PSExec from Sysinternals you can remotely start SC VNC at the client end without asking the user to do anything. This assumes you have [DIRECT] in your Helpdesk.txt file and only one HOST. The command line is:-

PSEXEC \\Machine -i -u localusername -p password -c "c:\location of EXE on YOUR PC".

With the viewer running on your PC execute the above command & PSExec copies the VNC EXE file from your PC and runs it on the client. System unloads when you exit.
AClarke
Posts: 3
Joined: 2005-05-04 11:14

Re: Making it really a single klick program

Post by AClarke »

Yes you do need access to a local admin account and must supply this on the PSEXEC command line as specified in my original post.

Incidentaly I'm still using this utility to great effect as a backup when our other remote control tools fail.
I know you worte this a while ago. But don't you require admin priviliges on the remote machine in order to run psexec?0.
Post Reply