Use /usr/libexec/Xorg for Xorg session on Fedora and RHEL8+.

This commit is contained in:
Bojan Smojver 2021-01-01 12:28:47 +11:00
parent 95ab88ec27
commit 6fc88eeb68
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff -ruN xrdp-0.9.15-v/sesman/sesman.ini xrdp-0.9.15/sesman/sesman.ini
--- xrdp-0.9.15-v/sesman/sesman.ini 2020-12-29 01:06:46.000000000 +1100
+++ xrdp-0.9.15/sesman/sesman.ini 2021-01-01 12:20:29.626573656 +1100
@@ -94,7 +94,7 @@
; CentOS 7 : param=/usr/bin/Xorg or param=Xorg
; CentOS 8 : param=/usr/libexec/Xorg
;
-param=Xorg
+param=/usr/libexec/Xorg
; Leave the rest paramaters as-is unless you understand what will happen.
param=-config
param=xrdp/xorg.conf

View File

@ -32,6 +32,9 @@ Patch4: xrdp-0.9.10-scripts-libexec.patch
Patch5: xrdp-0.9.6-script-interpreter.patch Patch5: xrdp-0.9.6-script-interpreter.patch
Patch6: xrdp-0.9.15-arch.patch Patch6: xrdp-0.9.15-arch.patch
Patch7: xrdp-0.9.14-vnc-uninit.patch Patch7: xrdp-0.9.14-vnc-uninit.patch
%if 0%{?fedora} >= 32 || 0{?rhel} >= 8
Patch8: xrdp-0.9.15-sesman-ini.patch
%endif
BuildRequires: gcc BuildRequires: gcc
BuildRequires: libX11-devel BuildRequires: libX11-devel