From 65e299e53b6860b82a15a1c09c643c8f7f01facb Mon Sep 17 00:00:00 2001 From: Elektroll Date: Tue, 7 Dec 2021 09:18:06 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9EREADME.md=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1f676b5..40ff3d0 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,15 @@ session-wrapper=/etc/lightdm/Xsession [XDMCPServer] [VNCServer] -ROOT# +``` + +Don't allow X11 to switch Virtual Terminal, because you can switch the VT and so jump into a running session. +Create a xorg config file into **/etc/X11/xorg.conf.d/00-blockvt.conf** + +``` +Section "ServerFlags" + Option "DontVTSwitch" "on" +EndSection ``` If you use a different dm, like GDM from gnome, disable this service