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

Only Connect when approved by user

Post Reply
frank.domnick
Posts: 5
Joined: 2008-11-14 09:41

Only Connect when approved by user

Post by frank.domnick »

I am (also) working as a supporter for users in our corporate network.
Recently some people have complained about not having the chance to reject connections by VNC (don't ask why - this is another story ;-) ).
Is there a way to configure UltraVNC in such a way that a user on the "connected" side - thus the VNC server side - needs to approve requests for connection before actually connecting?
mcutting
8
8
Posts: 14
Joined: 2008-11-05 18:58

Re: Only Connect when approved by user

Post by mcutting »

You should be able to do this by using the "-listen" switch.
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: Only Connect when approved by user

Post by YY »

frank.domnick wrote:Is there a way to configure UltraVNC in such a way that a user on the "connected" side - thus the VNC server side - needs to approve requests for connection before actually connecting?
Yes, at the Admin Properties:
check the "Display Query Windows"
Enter a prefered Timeout Value (said 15 seconds)
and Select default action to be "Refuse"

When a connection come, a Connection Request will popup. The user can choose either Accept or Reject within 15 seconds.

If he doesn't response (not sitting before the computer), the server will reject the request after the 15 seconds timeout period.
frank.domnick
Posts: 5
Joined: 2008-11-14 09:41

Re: Only Connect when approved by user

Post by frank.domnick »

Thanks YY!
That's exactly what I was looking for.
Well, sometimes you can’t see the forest for the trees, can you? :|

Regards,
Frank
StarKing
8
8
Posts: 9
Joined: 2008-12-01 10:07

Re: Only Connect when approved by user

Post by StarKing »

I have set the option "Display Query Window" and as default action "refuse". If a user is logt in, it's working fine, but if no user is logt in, there is no query window and the viewer connects. Is it possible to display the query window when no user is logt in?
frank.domnick
Posts: 5
Joined: 2008-11-14 09:41

Re: Only Connect when approved by user

Post by frank.domnick »

StarKing wrote:Is it possible to display the query window when no user is logt in?
OK, Starking, I can confirm your observation. But why should I want to show a query window to obviously noone thus locking me out completely in case I can't reach anyone next to the machine that I need to connect to??
I really regard this as a feature, not as a bug.

Regards,
Frank
StarKing
8
8
Posts: 9
Joined: 2008-12-01 10:07

Re: Only Connect when approved by user

Post by StarKing »

Hi Frank,

thanks for your reply.

Company policy is (I don't share it in all cases): No remote control connection to workstations without agreement of the user (by using the query window). I think it was a condition by the workers' council

Example:
User call's the helpdesk. He has a problem with the the login (wrong password, computertime is wrong, activated dial-up at the loginwindow, problem with the vpn feature "secure domain logon", or something else).
frank.domnick
Posts: 5
Joined: 2008-11-14 09:41

Re: Only Connect when approved by user

Post by frank.domnick »

Hi StarKing,
OK, I know this kind of story very well <sigh>. Workers Councils tend to work this way although noone has so far been able to give me a good answer to the question that I have asked you before :wink:

Regards,
Frank
YY
200
200
Posts: 996
Joined: 2006-11-13 15:11

Re: Only Connect when approved by user

Post by YY »

StarKing wrote:but if no user is logt in, there is no query window and the viewer connects. Is it possible to display the query window when no user is logt in?
How about just run the UVNC as application (i.e. put a link into StartUp)?

So when there is someone login-ed, the query window will popup. If no user is login, you are simply unable to connect.
Last edited by YY on 2008-12-01 14:14, edited 1 time in total.
StarKing
8
8
Posts: 9
Joined: 2008-12-01 10:07

Re: Only Connect when approved by user

Post by StarKing »

hi yy,

it is very important to be able to remote control a computer when no user is logt in. In a lot of situations we have to log out the user and log in an administrator to solve a problem.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Re: Only Connect when approved by user

Post by redge »

Is it possible to display the query window when no user is logt in?
yes is possible
shutdown ultravnc server
edit ultravnc.ini
find or add the line below if not exist
[Admin]
QuerySetting=2
QueryTimeout=10
QueryAccept=0
QueryIfNoLogon=0 <<--- change to 1 for force query on logon screen

save and exit
restart ultravnc server service (uvnc_service)
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
StarKing
8
8
Posts: 9
Joined: 2008-12-01 10:07

Re: Only Connect when approved by user

Post by StarKing »

redge wrote:
Is it possible to display the query window when no user is logt in?
yes is possible
shutdown ultravnc server
edit ultravnc.ini
find or add the line below if not exist
[Admin]
QuerySetting=2
QueryTimeout=10
QueryAccept=0
QueryIfNoLogon=0 <<--- change to 1 for force query on logon screen

save and exit
restart ultravnc server service (uvnc_service)
Thanks, that works fine!
StarKing
8
8
Posts: 9
Joined: 2008-12-01 10:07

Re: Only Connect when approved by user

Post by StarKing »

Is there a change in 1.0.5.3 with QueryIfNoLogon? It's not working anymore.
StarKing
8
8
Posts: 9
Joined: 2008-12-01 10:07

Re: Only Connect when approved by user

Post by StarKing »

and it is no longer possible to connect to a locked computer if you have activated the query window?
Post Reply