loginctl unlock-session, then I think it's more likely that a proper fix would be to harden the polkit rules to require some form of authentication for binaries/processes that aren't whitelistedsleep $SECONDS; loginctl unlock-session)install-scrcpy command, but running that, wouldn't help, right?ujust install-scrcpyloginctl unlock-session does the exact same thing in KDE. So this probably should get fixed deeper in the stack like in systemdunlock-session action if the user has been authenticated in some wayloginctl unlock-sessionloginctl unlock-sessionsleep $SECONDS; loginctl unlock-sessioninstall-scrcpyujust install-scrcpyunlock-session