From d907879c461ff3a1cf4e91dc696991879ed7e784f0b0bdd6a936236947fbecac Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Thu, 17 Feb 2022 14:34:50 +0000 Subject: [PATCH] - n_vncserver.patch * fix location of Xsession script - vncserver usage has radically changed; please check this: https://github.com/TigerVNC/tigervnc/blob/master/unix/vncserver/HOWTO.md OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=222 --- n_vncserver.patch | 11 +++++++++++ tigervnc.changes | 8 ++++++++ tigervnc.spec | 2 ++ 3 files changed, 21 insertions(+) create mode 100644 n_vncserver.patch diff --git a/n_vncserver.patch b/n_vncserver.patch new file mode 100644 index 0000000..3dc4fc1 --- /dev/null +++ b/n_vncserver.patch @@ -0,0 +1,11 @@ +--- unix/vncserver/vncserver.in.orig 2022-02-17 15:06:23.333514000 +0100 ++++ unix/vncserver/vncserver.in 2022-02-17 15:07:43.597755000 +0100 +@@ -437,7 +437,7 @@ + die "$prog: couldn't find \"$cmd\" on your PATH.\n"; + } + +- foreach $cmd ("/etc/X11/xinit/Xsession", "/etc/X11/Xsession") { ++ foreach $cmd ("/etc/X11/xdm/Xsession", "/etc/X11/xinit/Xsession", "/etc/X11/Xsession") { + if (-x "$cmd") { + $Xsession = $cmd; + last; diff --git a/tigervnc.changes b/tigervnc.changes index eaa7ddb..b928327 100644 --- a/tigervnc.changes +++ b/tigervnc.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Feb 17 14:14:13 UTC 2022 - Stefan Dirsch + +- n_vncserver.patch + * fix location of Xsession script +- vncserver usage has radically changed; please check this: + https://github.com/TigerVNC/tigervnc/blob/master/unix/vncserver/HOWTO.md + ------------------------------------------------------------------- Thu Feb 17 09:22:52 UTC 2022 - Joan Torres diff --git a/tigervnc.spec b/tigervnc.spec index ca859d4..2fd1bb1 100644 --- a/tigervnc.spec +++ b/tigervnc.spec @@ -68,6 +68,7 @@ Patch8: n_correct_path_in_desktop_file.patch Patch9: n_utilize-system-crypto-policies.patch Patch10: u_tigervnc-211.patch Patch11: xserver211.patch +Patch12: n_vncserver.patch Provides: tightvnc = 1.5.0 Obsoletes: tightvnc < 1.5.0 Provides: vnc @@ -256,6 +257,7 @@ It maps common x11vnc arguments to x0vncserver arguments. %patch9 -p1 %endif %patch10 -p0 +%patch12 -p0 cp -r %{_prefix}/src/xserver/* unix/xserver/ pushd unix/xserver