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
- Bluesky/AT Protocol: https://bsky.app/profile/ultravnc.bsky.social
- 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

issues after disabling tray icon

Post Reply
roja2
20
20
Posts: 56
Joined: 2009-09-09 06:07

issues after disabling tray icon

Post by roja2 »

Hii,
I'm a programmer.
I got this Uvnc project in which I have to alter/add few things.....
1. Hide tray icon of server
2. Automate reverse connection of server to repeater
and then,
task 1 is easy(commented the function that adds trayicon. Actually there was an option in Admin Properties to hide tray icon)
task 2 is also easy but there are some issues associated with it.....

>>If connection is lost between server and repeater the server should automatically connect to repeater. For this, service_commandline shoud be added in ultravnc.ini file and server should be manually installed from tray menu, but in my application the tray menu is disabled :(

>>How to if someone has to select DSM plugin and the tray menu is disabled??

Q1. How to run the server as a service by default?
Q2. How to select DSM plugin when tray icon is disabled?
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: issues after disabling tray icon

Post by redge »

Q1.
winvnc -install (install service and automatic)
you can play with sc comand (Service Command line)
sc start uvnc_service
sc stop uvnc_service

Q2.
edit ultravnc.ini

UseDSMPlugin=1
DSMPlugin=SecureVNCPluginARC4.dsm
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
roja2
20
20
Posts: 56
Joined: 2009-09-09 06:07

Re: issues after disabling tray icon

Post by roja2 »

redge wrote:Q1.
winvnc -install (install service and automatic)
heyy
when i mention this command in cmd line, it says
failed to open service manager
Last edited by roja2 on 2009-10-26 07:30, edited 3 times in total.
roja2
20
20
Posts: 56
Joined: 2009-09-09 06:07

Re: issues after disabling tray icon

Post by roja2 »

hmmm...actually want to know one thing..
when i run uvnc with the source code i get this.....
i'm unable to select DSM plugin.....

Image

but when I installed from exe i get this...
DSM plugin option enabled and already integrated...

Image

May be we need to build dsm plugin separately and integrate it with winvnc..
how you guys integrated the MSRC4plugin with winvnc ??
Last edited by roja2 on 2009-10-26 13:39, edited 2 times in total.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6867
Joined: 2004-04-23 10:21
Contact:

Re: issues after disabling tray icon

Post by Rudi De Vos »

The dsm plugin need to be in the folder of winvnc.exe

Put a copy of the plugin in your compiler debug/release folder
roja2
20
20
Posts: 56
Joined: 2009-09-09 06:07

Re: issues after disabling tray icon

Post by roja2 »

rudi..
I got this hint from one of the forum discussions
thanks anyway.....

Could you tell me one more thing..??
When I run winvnc from source code I have to manually install winvnc
as a service by selecting from tray menu. While installing from exe it provides an option to install server as a service. That means winvnc's
default installation can be as a service, isn't it?
What should I change in the code, so that the server is installed as a
service by default.
(I have to do it without using command line. I know "winvnc -install" installs it as service.)
Got any ideas????????
Post Reply