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 29522138334 for ; Wed, 10 Jul 2019 18:44:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4DE97E0891; Wed, 10 Jul 2019 18:43:57 +0000 (UTC) Received: from sonic310-14.consmr.mail.bf2.yahoo.com (sonic310-14.consmr.mail.bf2.yahoo.com [74.6.135.124]) (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 C81D3E0874 for ; Wed, 10 Jul 2019 18:43:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.fr; s=s2048; t=1562784236; bh=zsclC6Vn44i/Lx+bEL85wEBo1Yk4a1LKZ/TTuWnw7zM=; h=Subject:To:References:From:Date:In-Reply-To:From:Subject; b=PopUKL76xYXCIdzccHB4TQGNW1YfWEjAiYuWcjm58+fD6wVCuAY5TC0+JReQWj1rEmyEGzKgl3BdLfOWhZ2PYSDpgBbyyKhrx9smSAPgMiGf8FtYwuPPa8fQMoI6Rzqr9tpT+Ia9f/W+nmK0UX/Y1LPqv2C8Oni8gNeHXZPvCiFijVe+ImgCsuFXS4HoZxjEcIO0BShzUTvTZ5esrLsAhlCKu1GtOfEhmU+ky0jJSNgUyyeOHiHWqu+lZaQGu9kW2Y+/xK95FRdK02S0KW9RZ0hKtjyUbmkzCC5GdMvTZ+Fc+lPIOH/i2FbOmmdwtijtUYfIvvFUiGCO1l4ksi5Qxw== X-YMail-OSG: 06RP9QcVM1m_DoSheLSzQQ..fWSUgbEQDX2j1QtMgBpoKNkD9MWOG4kyKmGF.SP Dqd1.dcKDZHDN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cN5m6mRMSXzNAaI6GRsxULy8QeiBvLv9QJoP6Vwz1VWVL2C76k 6sa6pvS7Hhos7UIiJpo6VnO6Qr7X0mA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.bf2.yahoo.com with HTTP; Wed, 10 Jul 2019 18:43:56 +0000 Received: by smtp419.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 507ec965a995a26763cc18c9db199995; Wed, 10 Jul 2019 18:43:54 +0000 (UTC) Subject: Re: [gentoo-user] escape from i3lock To: gentoo-user@lists.gentoo.org References: <20190710170342.se2klmfd52dvq6j6@matica.foolinux.mooo.com> From: =?UTF-8?Q?Fran=c3=a7ois-Xavier_CARTON?= Message-ID: <151b19fd-9f07-c9b7-171a-a3925d14cac4@yahoo.fr> Date: Wed, 10 Jul 2019 20:44:02 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 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 In-Reply-To: <20190710170342.se2klmfd52dvq6j6@matica.foolinux.mooo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Archives-Salt: 854ece0c-fef9-4715-a6a2-b732f0b1b0ff X-Archives-Hash: 4db436ca815c5c0b83c45849c494f371 On 7/10/19 7:03 PM, 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 , > 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. > Not a direct answer to your question, but as a workaround you can use tmux sessions, and simply detach them and logout when you lock your computer. Also, if this is just a shell to start the X server, you can launch it as "startx & bg; disown" and then logout.