From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A9723138334 for ; Wed, 10 Jul 2019 19:23:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA7A0E08AA; Wed, 10 Jul 2019 19:23:15 +0000 (UTC) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 363BBE0882 for ; Wed, 10 Jul 2019 19:23:14 +0000 (UTC) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 553E221B2F; Wed, 10 Jul 2019 15:23:14 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 10 Jul 2019 15:23:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=2hBgFN vBjIWsXso9rKA72qjd8mVQPJbzndy9QajxHAI=; b=10jBtbyVD7Nu+h29r5tSY3 UDymU4q/9RLay/+zHRJ7uZFX0Jz+yRPHlzjr7zUEdzMXfH/SVE7K4jaX77JoUMU0 gL7H5Hu/OcYUl+hKmK/SchK601o9lglOa3yBQB9DMhasTrdgSViCccZeCenhbO1D nh0R8mBSQu+gzNIDTE/bwwSYLHKLtzvYvSzlf7tB4jjIrxvXjYyX8yA9k/OlcAie tGmQ6cQ48W9r/Z0sBmJB+iWJbS1fg9HAtWVOisgKXVnxJvz47yAu9Rkgdy6mVsqz ncQbkdurpHkaNykoBLuxOezKYWq1nE2LhjpfyZKp0ZzB6iEDgYiVy4nqSDbE95pQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrgeeigddufeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujggfsehttd ertddtredvnecuhfhrohhmpeetlhgvtgcuvfgvnhcujfgrrhhmshgvlhcuoegrlhgvtges rghlvggtthgvnhhhrghrmhhsvghlrdgtohhmqeenucfkphepudejvddrvddvvddrledvrd duvdeknecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhgvtgesrghlvggtthgvnhhhrghr mhhsvghlrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from greenbeast (172-222-092-128.dhcp.chtrptr.net [172.222.92.128]) by mail.messagingengine.com (Postfix) with ESMTPA id 18AC98005C; Wed, 10 Jul 2019 15:23:13 -0400 (EDT) Date: Wed, 10 Jul 2019 15:23:08 -0400 From: Alec Ten Harmsel To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] escape from i3lock Message-ID: <20190710192250.GA30620@greenbeast> References: <20190710170342.se2klmfd52dvq6j6@matica.foolinux.mooo.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190710170342.se2klmfd52dvq6j6@matica.foolinux.mooo.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Archives-Salt: 6c72f0e9-7ea4-40e2-b0cd-0391aa01dbc6 X-Archives-Hash: 189a5e90c3e90d709d7bc3e6834cd7c3 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. Same here, it's simple and just works. > 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 , > 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. Alec