1 |
On Wed, Jul 10, 2019 at 10:03:42AM -0700, Ian Zimmerman wrote: |
2 |
> Here is my next "low information" question, haha. |
3 |
> |
4 |
> I use i3lock which is like Xscreensaver but much much simpler; it plays |
5 |
> no movies or games, just blanks the screen with a configured color or |
6 |
> image. To unlock it you have to type your password. |
7 |
|
8 |
Same here, it's simple and just works. |
9 |
|
10 |
> It bothers me that even when i3lock has locked the X session, I can |
11 |
> still switch to other Linux virtual consoles with Alt-Control-F<n> , |
12 |
> without typing the password. It so happens that on one of the other |
13 |
> virtual consoles there is often an interactive root shell :-P |
14 |
> |
15 |
> So, is it possible to prevent virtual console switching while the X |
16 |
> screen is locked, but still allow it at other times? Looks like |
17 |
> something the locker program would have to do, not the X server; but |
18 |
> again I don't know much about this stuff. |
19 |
|
20 |
Which init are you using, what display manager, and how are you |
21 |
launching it? I'm using systemd and sddm, and when I run `i3lock', I |
22 |
cannot switch to different virtual consoles. |
23 |
|
24 |
Not sure whether any of that stuff matters, but that was the first thing |
25 |
I thought of. |
26 |
|
27 |
Alec |