From c0e37862f76b19c272a333af37f9bbf321f056c0 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 19:31:36 +0100 Subject: [PATCH] added patch to fix access to local desktop (see https://bbs.archlinux.org/viewtopic.php?id=189061) [release 4.0.1.19-3mamba;Sun Oct 23 2016] --- x2goserver-4.0.1.19-fix-local-desktop.patch | 12 ++++++++++++ x2goserver.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 x2goserver-4.0.1.19-fix-local-desktop.patch diff --git a/x2goserver-4.0.1.19-fix-local-desktop.patch b/x2goserver-4.0.1.19-fix-local-desktop.patch new file mode 100644 index 0000000..097dd05 --- /dev/null +++ b/x2goserver-4.0.1.19-fix-local-desktop.patch @@ -0,0 +1,12 @@ +diff -Nru x2goserver-4.0.1.19.orig/x2goserver/bin/x2golistdesktops x2goserver-4.0.1.19/x2goserver/bin/x2golistdesktops +--- x2goserver-4.0.1.19.orig/x2goserver/bin/x2golistdesktops 2015-02-24 21:55:13.000000000 +0100 ++++ x2goserver-4.0.1.19/x2goserver/bin/x2golistdesktops 2016-10-23 23:22:02.056487189 +0200 +@@ -65,7 +65,7 @@ + # -> so we need to tweak the PATH env var a little here... + my $old_PATH=$ENV{'PATH'}; + $ENV{'PATH'}="$ENV{'PATH'}:/usr/sbin:/sbin"; +-my $lines=`ss -lxu`; ++my $lines=`ss -lx`; + $ENV{'PATH'}=$old_PATH; + undef $old_PATH; + diff --git a/x2goserver.spec b/x2goserver.spec index 746c931..7313cbc 100644 --- a/x2goserver.spec +++ b/x2goserver.spec @@ -5,7 +5,7 @@ Name: x2goserver Version: 4.0.1.19 -Release: 2mamba +Release: 3mamba Summary: A Remote Desktop server Group: System/Servers Vendor: openmamba @@ -16,6 +16,7 @@ Source: http://code.x2go.org/releases/source/x2goserver/x2goserver-%{vers Patch0: x2goserver-x86_64-lib-nx.patch Patch1: x2goserver-4.0.1.19-kde-path.patch Patch2: x2goserver-4.0.1.19-openmamba-enable.patch +Patch3: x2goserver-4.0.1.19-fix-local-desktop.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -42,6 +43,7 @@ X2Go is a Remote Desktop server. %endif %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build %make PREFIX=%{_prefix} @@ -120,6 +122,9 @@ exit 0 %doc COPYING %changelog +* Sun Oct 23 2016 Silvan Calarco 4.0.1.19-3mamba +- added patch to fix access to local desktop (see https://bbs.archlinux.org/viewtopic.php?id=189061) + * Thu Apr 07 2016 Silvan Calarco 4.0.1.19-2mamba - require sshfs and x86_64: patch for nx libs path, kde path and openmamba in Xsession