On 2019-07-10 15:23, Alec Ten Harmsel wrote: > On Wed, Jul 10, 2019 at 10:03:42AM -0700, Ian Zimmerman wrote: > > Here is my next "low information" question, haha. > > > > I use i3lock which is like Xscreensaver but much much simpler; it plays > > no movies or games, just blanks the screen with a configured color or > > image. To unlock it you have to type your password. > > It bothers me that even when i3lock has locked the X session, I can > > still switch to other Linux virtual consoles with Alt-Control-F<n> , > > without typing the password. It so happens that on one of the other > > virtual consoles there is often an interactive root shell :-P > > > > So, is it possible to prevent virtual console switching while the X > > screen is locked, but still allow it at other times? Looks like > > something the locker program would have to do, not the X server; but > > again I don't know much about this stuff. > > Which init are you using, what display manager, and how are you > launching it? I'm using systemd and sddm, and when I run `i3lock', I > cannot switch to different virtual consoles. > > Not sure whether any of that stuff matters, but that was the first thing > I thought of.
It does matter. Sysvinit, xdm via an initscript. Not so long ago, no DM at all, just startx/xinit. This is probably a function of consolekit or some of the other awful *kits. Not installing one of those. I'll find a workaround. -- Please don't Cc: me privately on mailing lists and Usenet, if you also post the followup to the list or newsgroup. To reply privately _only_ on Usenet and on broken lists which rewrite From, fetch the TXT record for no-use.mooo.com.