From f0066896c03ad232002c31feec3d5a1be81943a1 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Dec 10 2020 06:45:56 +0000 Subject: vncserver: ignore new session parameter from the new systemd support --- diff --git a/tigervnc.spec b/tigervnc.spec index ad9918d..a5dc5f7 100644 --- a/tigervnc.spec +++ b/tigervnc.spec @@ -1,6 +1,6 @@ Name: tigervnc Version: 1.11.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A TigerVNC remote display system %global _hardened_build 1 @@ -338,6 +338,9 @@ fi %{_datadir}/selinux/packages/vncsession.pp %changelog +* Thu Dec 10 07:45:46 CET 2020 Jan Grulich - 1.11.0-9 +- vncserver: ignore new session parameter from the new systemd support + * Fri Nov 13 14:08:29 CET 2020 Jan Grulich - 1.11.0-8 - Use /run instead of /var/run which is just a symlink diff --git a/vncserver b/vncserver index 2e2d519..787c9a8 100644 --- a/vncserver +++ b/vncserver @@ -435,6 +435,9 @@ sub LoadConfig { next if /^#/; if (my ($k, $v) = /^\s*(\w+)\s*=\s*(.+)$/) { $k = lc($k); # must normalize key case + if ($k eq "session") { + next; + } if ($warnoverride && $config{$k}) { print("Warning: $configFile is overriding previously defined '$k' to be '$v'\n"); }