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

How to log name of user connecting?

Post Reply
GreenElfT
Posts: 7
Joined: 2021-12-09 11:17

How to log name of user connecting?

Post by GreenElfT »

Hello

I installed UltraVNC 1.3.4.2 - 64-bit (2021-10-02) on a server, and set the log level to "All", but in the logs I see 2 weird things :

1) First, I see only the IP of the client station connecting, but not the user name of the Windows user account connecting. How to have VNC include the name in logs? The .196 is a remote desktop gateway server where 50 different users connect...

2) I have this weird path in front of .cpp file name... But this is not a user/profile present in our company/this computer...

C:\Users\rudi\Desktop\git_ultravnc\winvnc\winvnc\vncsockconnect.cpp : accepted connection from 10.106.49.196
C:\Users\rudi\Desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : AddClient() started
C:\Users\rudi\Desktop\git_ultravnc\winvnc\winvnc\vncclient.cpp : vncClient() executing...
C:\Users\rudi\Desktop\git_ultravnc\winvnc\winvnc\vncserver.cpp : AddClient() done
C:\Users\rudi\Desktop\git_ultravnc\winvnc\winvnc\vncclient.cpp : client connected : 10.106.49.196 (1)


FYI : here are the related parameters of INI file...

DebugLevel=10
MSLogonRequired=1
NewMSLogon=1
DebugMode=2
Avilog=0
path=C:\Program Files\uvnc bvba\UltraVNC
kickrdp=0
service_commandline=
DebugLevel=10

Thank you for your help.

Best regards.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: How to log name of user connecting?

Post by Rudi De Vos »

This is the debug log.
"C:\Users\rudi\Desktop\git_ultravnc\winvnc\winvnc" is the location for the files on the compilation PC.
This indicate the spot where the debug was generate in the source code.

You don't see it in the mslogon.log file, this keep track of logon/logoff
GreenElfT
Posts: 7
Joined: 2021-12-09 11:17

Re: How to log name of user connecting?

Post by GreenElfT »

Waow, thank you for the quick answer! I feel so lame not to have seen it, but that's how is speedy under pressure life. Hopefully my next question will be better!
Post Reply