Gentoo Archives: gentoo-user

From: "François-Xavier CARTON" <fx.carton@×××××.fr>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] escape from i3lock
Date: Wed, 10 Jul 2019 18:44:03
Message-Id: 151b19fd-9f07-c9b7-171a-a3925d14cac4@yahoo.fr
In Reply to: [gentoo-user] escape from i3lock by Ian Zimmerman
1 On 7/10/19 7:03 PM, 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 > It bothers me that even when i3lock has locked the X session, I can
9 > still switch to other Linux virtual consoles with Alt-Control-F<n> ,
10 > without typing the password. It so happens that on one of the other
11 > virtual consoles there is often an interactive root shell :-P
12 >
13 > So, is it possible to prevent virtual console switching while the X
14 > screen is locked, but still allow it at other times? Looks like
15 > something the locker program would have to do, not the X server; but
16 > again I don't know much about this stuff.
17 >
18
19 Not a direct answer to your question, but as a workaround you can use
20 tmux sessions, and simply detach them and logout when you lock your
21 computer.
22
23 Also, if this is just a shell to start the X server, you can launch it
24 as "startx & bg; disown" and then logout.

Replies

Subject Author
[gentoo-user] Re: escape from i3lock Ian Zimmerman <itz@××××××××××××.org>
[gentoo-user] Re: escape from i3lock nunojsilva@×××××××.pt