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 A17A3138334 for ; Wed, 10 Jul 2019 23:22:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 788F2E08DB; Wed, 10 Jul 2019 23:21:54 +0000 (UTC) Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) (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 D9E3CE087E for ; Wed, 10 Jul 2019 23:21:53 +0000 (UTC) Received: by mail-lj1-x234.google.com with SMTP id z28so3801627ljn.4 for ; Wed, 10 Jul 2019 16:21:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:message-id:from:to:subject:date:mime-version :content-disposition:content-transfer-encoding; bh=1+uidWMGLyAXu4JBA8cT98vFGSSTCtC3qRgW4By/35M=; b=P8A+24FJqQ82z0+95t4pbaogBlHcdhykbH1P6voYSkzMEP6gV8Z8xkHQiC3HuGf5AF D3OLNm/bTG9g2V/ATJO8Jm+NYSILb0bG4J6WyuY98wi9+tBKJRr+ZvzFT0WW08E1EvJr EoI713j7QXefwoZs9Vvaak2V8RZTRmDFwYvhIr2bvklxaJD72Y1LmRkxgf41vsTr3PLN xA92mLRn/t1XF5r99xEy9njpouV80RgpGDgetpRUBdLGLX4KSejYjyIKLJisWRdDYhne opstTiMfrQUxeAVPsGV35Hwgb6rC2LrJ/bBbmWH0i2Iv3xkmPHWOdWUp6GRBJqJZ/mxv VmRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:message-id:from:to:subject:date :mime-version:content-disposition:content-transfer-encoding; bh=1+uidWMGLyAXu4JBA8cT98vFGSSTCtC3qRgW4By/35M=; b=IE7lTsb30slQFbg+hTf00yCPnPvZw7OnkUchn9XbCCiNj70F+hQE2nPVcA430FI7Zi 1fdV7kDu+qfCPHKp8d/Y02TIda/J6Vr9JnHCXgBzJIMlW3BYsRD/LCQXh5QLqmv3y2iN 9o90Dgu/Ij5r9N0gPEjDl/y5nSe6bZ+meJZr7oRIu1RBUtfUE8BCzjHv+Z9GqFxE33ja 9HyKJy14D4SkcT16C3VPO7Cy59Prc9WyZDNw97aELpYc5DVRol8rdmiQmVlRnVXtCipH MILTLCBZQXmpb+Zs171IFcpqkAmMp3n5SskdSDVq9wBIZq0TYF1pFVLKM+DKfN/plwIt MesQ== X-Gm-Message-State: APjAAAU5GTDyf+jHxZ647V6DgFEpH+ujitP1+SlESBuu17xbszHrTUHD drxm2EEpVbA0n0v0IPblWxpXdOuM+Cc= X-Google-Smtp-Source: APXvYqzdm5GZ1n0+AraehZn4FRNipcwYfyZzY/hCvw4iCoVz9TmHHy9qVX9Y3Jg854WUBfbVw1djFg== X-Received: by 2002:a2e:9b84:: with SMTP id z4mr432429lji.75.1562800911713; Wed, 10 Jul 2019 16:21:51 -0700 (PDT) Received: from epsilon (351d-fe30-06ff-021e-c880-87fc-07d0-2001.dyn.estpak.ee. [2001:7d0:87fc:c880:21e:6ff:fe30:351d]) by smtp.gmail.com with UTF8SMTPSA id a18sm690892ljf.35.2019.07.10.16.21.50 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 10 Jul 2019 16:21:51 -0700 (PDT) References: <20190710170342.se2klmfd52dvq6j6@matica.foolinux.mooo.com> <151b19fd-9f07-c9b7-171a-a3925d14cac4@yahoo.fr> <20190710224832.oel5exzte4bayry2@matica.foolinux.mooo.com> Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: artur.tamm.85@gmail.com To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: escape from i3lock Date: Wed, 10 Jul 2019 23:21:50 +0000 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; format=flowed; delsp=yes; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Archives-Salt: 27782aed-c695-40c1-887a-baae4d7f0d55 X-Archives-Hash: 172982bb7b36060b7d271b22dc7b6522 I guess you are using xorg. man xorg says that there is an option in serverflags section which disables this functionality. Option "DontVTSwitch" "boolean" So you could add a section into xorg.conf or xorg.conf.d/ Artur Ian Zimmerman writes: > On 2019-07-10 20:44, François-Xavier CARTON wrote: > > > 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. > > I could also just log out directly :-) It's not like I have some > context in the shell that I want to keep. It is just there when I want > to be root. > > > Also, if this is just a shell to start the X server, you can launch it > > as "startx & bg; disown" and then logout. > > No, it's my way to run things as root, in general. I distrust su, sudo > and friends. > > -- > 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. >