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

Determine if the connected to Vnc server or not

Post Reply
Pemdas
8
8
Posts: 16
Joined: 2010-12-16 22:33

Determine if the connected to Vnc server or not

Post by Pemdas »

Hi,
I wanted to know if it is possible to detect if some one is connected to ultra vnc server or not.

For example, how does the person sitting near ultra vnc server can determine if the connection is made or disconnected?

I do see an entry gets gets generated in event viewer.
But is there a way to detect this programatically?
I mean is it possible to Detect the following 3 stages:
1. When user starts the server : it's basically waiting for the viewer to connect
2. Once viewer enters the credential and starts viewing the server session: Status Connected

3. Once viewer disconnects
Last edited by Pemdas on 2011-01-07 21:46, edited 1 time in total.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Determine if the connected to Vnc server or not

Post by redge »

pstools
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Pemdas
8
8
Posts: 16
Joined: 2010-12-16 22:33

Re: Determine if the connected to Vnc server or not

Post by Pemdas »

Sorry, I did not follow your reply.

What is pss tools?
Moreover I wanted to know if the person sitting on Server computer can know if it is being viewed by the viewer or not.
Is it possible for the person on server to disconnect the session?
Is there any setting in the server configuration that can be used to set the max duration for any viewer session?

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

Re: Determine if the connected to Vnc server or not

Post by redge »

pstools answers
http://technet.microsoft.com/en-us/sysi ... s/bb896649

Q. Moreover I wanted to know if the person sitting on Server computer can know if it is being viewed by the viewer or not.

A Yes, if access Taskmanager is authorized
if user set of administrators group, you can never forbidden admin to close any application except antivirus aka rootkit


Q. Is it possible for the person on server to disconnect the session?

A. yes if user have access to task manager or winvnc systray can kill client.


Q. Is there any setting in the server configuration that can be used to set the max duration for any viewer session?

A. No,
work around, disconnect after x second without inactivity
all settings are located on ultravnc.ini for ultravnc server since 1.0.3
http://www.uvnc.com:8080/docs/uvnc-server.html
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
druss
Posts: 3
Joined: 2012-08-03 09:06

Re: Determine if the connected to Vnc server or not

Post by druss »

You can check log file. see example here: http://druss.pp.ua/2012/09/check_ultra_vnc_connected/
Post Reply