summaryrefslogtreecommitdiff
path: root/99-playground/.xserverrc
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2021-01-31 16:23:40 +0100
committerHartmut Goebel <h.goebel@crazy-compilers.com>2021-01-31 16:25:57 +0100
commite92bf79bf2bea5025ef91d3ad06ed7e192e54b41 (patch)
tree4cce6d21e9b445d9ac8841a95fc1052e7f7ff721 /99-playground/.xserverrc
parent50922b9ec210b8f2338eb36c37b56512f4fc8e82 (diff)
TEMP Add "playgound" for runninc plasma on another virtual terminal.wip-kde-plasma
Following the idea from +<https://guix.gnu.org/de/blog/2019/running-a-guix-xfce-desktop-on-centos-7>: Start an X11 server (provided by the host OS) on another virtual terminal and make this run the desktop.
Diffstat (limited to '99-playground/.xserverrc')
-rwxr-xr-x99-playground/.xserverrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/99-playground/.xserverrc b/99-playground/.xserverrc
new file mode 100755
index 0000000000..1ee413d509
--- /dev/null
+++ b/99-playground/.xserverrc
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+VTNR=$XDG_VTNR
+((VTNR++)) # overwrite use next VT
+
+# Use the X server provided by the foreign system (host OS)
+PATH=/usr/local/bin:/usr/bin
+exec /usr/bin/Xorg -novtswitch -nolisten tcp "$@" vt$VTNR