From 6724c0769a20967a0a1c50dfec2b411124d0e65b Mon Sep 17 00:00:00 2001 From: Markus Katharina Brechtel Date: Sun, 10 Jan 2021 15:37:27 +0100 Subject: [PATCH] set VNC-0 to primary screen --- templates/vnc/Xvnc-session.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/vnc/Xvnc-session.j2 b/templates/vnc/Xvnc-session.j2 index 2598257..ac23dbb 100644 --- a/templates/vnc/Xvnc-session.j2 +++ b/templates/vnc/Xvnc-session.j2 @@ -2,4 +2,6 @@ {{ansible_managed|comment}} +xrandr --output VNC-0 --primary + exec /etc/X11/Xsession ~/.vnc/xsession