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

Accept Reject Prompts

Post Reply
davidgrudek
20
20
Posts: 53
Joined: 2008-02-11 05:46

Accept Reject Prompts

Post by davidgrudek »

QuerySetting=4
QueryTimeout=15
QueryAccept=0
QueryIfNoLogon=0

With this I would expect it to do the following:

If accept is pressed with the accept reject prompt to accept the connection
If reject is pressed with the accept reject prompt to reject the connection
If nothing is pressed in the 15 seconds with the accept reject prompt to reject the connection
If logged off then no accept reject prompt
If pc is locked then no accept reject prompt


But what happens if the machine is logged off or locked it automatically rejects instantly saying authentication rejected. If it is to not query on a logged off and locked state, I would think it should just go in. Can someone please help and let me know what I am doing wong. This used to work in 1.0.8.2. I need the above to happen, is this possible? If not could you provide a way to make it happen?
davidgrudek
20
20
Posts: 53
Joined: 2008-02-11 05:46

Re: Accept Reject Prompts

Post by davidgrudek »

Anyone? This is a huge security concern for our company.
davidgrudek
20
20
Posts: 53
Joined: 2008-02-11 05:46

Re: Accept Reject Prompts

Post by davidgrudek »

I think this is a problem in the code. Can someone please just confirm this? I need to tell management something.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Accept Reject Prompts

Post by Rudi De Vos »

Can't tell without analysing source, let you know when done.
davidgrudek
20
20
Posts: 53
Joined: 2008-02-11 05:46

Re: Accept Reject Prompts

Post by davidgrudek »

Thanks. I really appreciate it.
Aergan
8
8
Posts: 14
Joined: 2011-02-22 11:12
Location: UK
Contact:

Re: Accept Reject Prompts

Post by Aergan »

I am experiencing the same issue and get asked frequently day to day from colleagues about this as "it used to work". Any help would be much appreciated.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Accept Reject Prompts

Post by Rudi De Vos »

I'm having trouble repeating it...
When no user is logged ->it doesn't show the popup and access is allowed

When screen is locked it use the default timeout value.
QueryAccept=0 -> Logon rejected when screen is locked by user
"Your connection has been rejected"

This part was changed on request but in 2008, is 1082 already that old ...

Code: Select all

// 10 Dec 2008 jdp reject/accept all incoming connections if the workstation is locked
 if (vncService::IsWSLocked() && !m_server->QueryIfNoLogon()) verified = QueryAccept()
Without code change this behaviour can't be changed.
You even need an extra parameter, AllowAccessOnLockedWs i don't see any way with current parameters.
davidgrudek
20
20
Posts: 53
Joined: 2008-02-11 05:46

Re: Accept Reject Prompts

Post by davidgrudek »

Yes that is the problem. Automatically rejected.

We want it to ignore the accept reject if locked or logged off.

if logged in to reject if nothing is pressed. if logged in and reject is pushed then reject and if logged in the accept if accept is pressed.
davidgrudek
20
20
Posts: 53
Joined: 2008-02-11 05:46

Re: Accept Reject Prompts

Post by davidgrudek »

Is this something that could be fixed for us?
Aergan
8
8
Posts: 14
Joined: 2011-02-22 11:12
Location: UK
Contact:

Re: Accept Reject Prompts

Post by Aergan »

Could we request this change please? Having the extra parameter would hopefully grant us the behavior we want from UltraVNC.
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6863
Joined: 2004-04-23 10:21
Contact:

Re: Accept Reject Prompts

Post by Rudi De Vos »

Try server 10963

-patch multimon
-patch ntlm

-QueryAccept (0/1) added special value (2)
2 is the same as 0, only it allow locked screens

Please test ...
Made changes, recompiled but didn't had time to test it fully

http://www.uvnc.eu/download/10963
Aergan
8
8
Posts: 14
Joined: 2011-02-22 11:12
Location: UK
Contact:

Re: Accept Reject Prompts

Post by Aergan »

Many thanks, will test and report back.
Aergan
8
8
Posts: 14
Joined: 2011-02-22 11:12
Location: UK
Contact:

Re: Accept Reject Prompts

Post by Aergan »

Hi Rudi,

Many thanks for adding this feature, it's working quite well now and functioning with the QueryAccept=2 as we would like it to. If this change is added into the main build, can the GUI's be updated to configure this option please? (E.g. uvnc_settings.exe).

Slightly off-topic,
Unfortunately, I am having an issue on this build where the desktop theme is dropping Aero despite RemoveAero=0 and the mirroring driver being installed. This can be an issue because we have a few GDI and Direct2D/DirectDraw accelerated applications that crash or use drastically more resources when changing from Aero to Basic/Classic whilst they are still running. Any ideas why that might be happening with this build?
OS: Windows 7 Enterprise x64 SP1 with mv2 hook display x64 driver (From 1.0.9.6.1 full install)
LividLucifer
Posts: 6
Joined: 2012-03-31 08:32

Re: Accept Reject Prompts

Post by LividLucifer »

Hi Aergan,

Just responding to your off-topic issue regarding Aero dropping off your remote sessions. The mirror driver itself causes this, when mirror drivers are loaded in Windows Vista/7, they disable the Desktop Window Management service (DWM.exe) - this disables the Aero theme. For more info, see http://msdn.microsoft.com/en-us/library ... s.85).aspx

Hope this helps! :)
Aergan
8
8
Posts: 14
Joined: 2011-02-22 11:12
Location: UK
Contact:

Re: Accept Reject Prompts

Post by Aergan »

Ah ok, that explains it. Working (although quite a bit slower) with disabling the mirror driver.
zorzy
Posts: 4
Joined: 2011-10-06 11:36

Re: Accept Reject Prompts

Post by zorzy »

Hi everyone!

I spent some time searching for Accept/Reject support when using UVNC with repeater.
As I understand, connection is created from server side, so prompt is not possible.

Anyone with similar demand/experience?
Post Reply