Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable TTY switching when locked #149

Open
GoldsteinE opened this issue Jul 30, 2022 · 7 comments
Open

Disable TTY switching when locked #149

GoldsteinE opened this issue Jul 30, 2022 · 7 comments

Comments

@GoldsteinE
Copy link

If user is logged in on another TTY, it’s possible to switch to it with Ctrl+Alt+F*. physlock, for example, mitigates this by disabling TTY switch when locked.

@divVerent
Copy link
Contributor

divVerent commented Oct 11, 2022 via email

@NathanC
Copy link

NathanC commented Nov 7, 2022

Is it possible to detect if another TTY has an active login? I know I've forgotten I had a TTY active in the past. It would be cool if there was a red warning or something indicating another login.

Low priority though.

@divVerent
Copy link
Contributor

divVerent commented Nov 7, 2022 via email

@NathanC
Copy link

NathanC commented Nov 8, 2022

I'd argue the feature should be on by default, but disableable. In practice, the number of people using this lock screen with a TTY also using a lock screen seems like it would be pretty low, and you could probably manually do some logic to check for one or two of the most popular TTY locks. I'd rather have false positives than false negatives though.

btw I just swapped out my desktop screensaver (which was seriously bugged) with this. Thanks for making such a useful tool!

@NathanC
Copy link

NathanC commented Nov 8, 2022

I doubt there's an API that can consistently you if a particular session is locked or not though, just my gut impression. I'd expect different tools use different methods, and you'd have to check for popular ones.

Some resources:

@ghost
Copy link

ghost commented Dec 4, 2022

I would like this option too. Maybe something like XSECURELOCK_DISABLE_TTY=1. Maybe one way this can be achived is by disabling the default TTY keybinds while xscreenlock is running.

@divVerent
Copy link
Contributor

divVerent commented Dec 4, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants