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

uvnc service just dont connect!

Post Reply
backb0ne
Posts: 5
Joined: 2016-04-07 02:19

uvnc service just dont connect!

Post by backb0ne »

I'm running WinVnc (xp version) on a Windows 2008 Server.
Installed it as service, and it's up and running as I see on services manager.
On another side I have a listening viewer, with port open properly.
When I do:

Code: Select all

winvnc.exe -connect 192.168.0.2
Nothing happens. If I stop the service, and start as normal app, and try to connect, it works.
First I was using a UltraVNC.ini from another computer, but then I deleted this one, run again, created another (this time including logs), and tried as service, no connection was made. The logs are:

Code: Select all

Sat Apr 09 19:28:01 2016
vncserver.cpp : authhosts set to ""
vncproperties.cpp : ***** DBG - Load User Preferences
vncproperties.cpp : clearing user settings
l:\ultravnc_installer_other\ultravnc\ultravnc project root\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : FromClear called
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
vncserver.cpp : trying port number 5900
vsocket.cpp : VSocket() m_pDSMPlugin = NULL 
Sat Apr 09 19:28:02 2016
vsocket.cpp : closing socket
vncproperties.cpp : $$$$$$$$$$ ApplyUserPrefs - Plugin NOT enabled 
l:\ultravnc_installer_other\ultravnc\ultravnc project root\ultravnc\winvnc\winvnc\vncpasswd.h : PASSWD : ToText called
vncsockconnect.cpp : started socket connection thread
Sat Apr 09 19:28:07 2016
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
vncproperties.cpp : ***** DBG - Force USER SYSTEM 2
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
vncmenu.cpp : ############### Usernames change: old="", new=""


Every 5 seconds, added:

Code: Select all

vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
vncproperties.cpp : ***** DBG - Force USER SYSTEM 2
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
vncservice.cpp : @@@@@@@@@@@@@ GetCurrentUser - Error: Usersize 0
vncmenu.cpp : ############### Usernames change: old="", new=""
This error explains anything?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: uvnc service just dont connect!

Post by Rudi De Vos »

Using a service, you can initiate an outgoing connection only from the service.

1) Tray icon, add new connection
2) service_commandline= ( ultravnc.ini)

In the old days XP, before all kind of security was added in the OS, a standard app could communicate with a service.
Now a service is isolated, run in a different session and messages are even blocked between elevated applications ( like
services) and normal apps started by users.
(winvnc.exe -connect ... doesn't do anything)
Post Reply