- 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
This commit is contained in:
Stefan Dirsch 2022-02-17 14:34:50 +00:00 committed by Git OBS Bridge
parent e5b1bdbcef
commit d907879c46
3 changed files with 21 additions and 0 deletions

11
n_vncserver.patch Normal file
View File

@ -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;

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Feb 17 14:14:13 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
- 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 <joan.torres@suse.com>

View File

@ -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