Open delan opened 5 years ago
Barrier starts an elevated process to interact with certain UI elements and starts a regular process when it's done. Every time there's a new process, a new session has to be created which takes 2-3 seconds. It gets you coming and going and it's a terrible user experience. The easiest fix would be to run one elevated process. I have no idea how reasonable that would be. The next easiest thing might be to have one session exchanged between processes.
There is a workaround for UAC. You can lower the settings so that notifications don't dim the screen.
I was able to work around this by going to Barrier -> Settings, then changing the Elevate setting to Always on the client. I didn't have to change UAC.
What's the barrier.conf version of that?
I don't think you can do this with barrier.conf. The Elevate setting is stored in the registry.
Oh, a client option?
Yeah client option, worked for me!
The issue still persists today, another 'fix' is setting UAC to not dim the desktop:
Yeah client option, worked for me!
Worked for me!
Hi!
This happens for me, also, and Elevate: Always does not work for me.
My setup:
Barrier server: Windows 11 (21H2) running Barrier 2.4.0 Barrier client: Windows 10 (21H1) running Barrier 2.3.4
(I'm running 2.3.4 on the client because of a different bug with multi-screen setups with different scaling not working correctly on 2.4.0.)
The Barrier client is set up as Elevate: Always, but this does not solve the issue. When a UAC dialog pops up on the client, there is a delay of a few seconds where I lose keyboard/mouse control of the client. This also happens on login.
However, the workaround of setting UAC to the setting that doesn't dim the desktop does seem to work around the issue at me, at least for UAC prompts.
Edit: Strange, I was going to edit the post and upload some logs, but now suddenly it's working correctly... so whatever this is, it's intermittent.
Operating Systems
Server: NixOS 19.03pre170287.19eedaf867d
Client: Windows 1809 (17763.348)
Barrier Version
2.1.0-RELEASE-0b2dfd80
Steps to reproduce bug
Other info
Info-level server log (UAC)
Info-level client log (UAC)
Info-level server log (lock screen)
Info-level client log (lock screen)