Decouple xrdp from xorgxrdp, causing repeated installation issues in RHEL.
This commit is contained in:
parent
65f983efe8
commit
0c1109091e
@ -28,6 +28,10 @@ to run, put the following into /etc/X11/Xwrapper.config:
|
|||||||
|
|
||||||
allowed_users = anybody
|
allowed_users = anybody
|
||||||
|
|
||||||
|
Note that xorgxrdp is not installed and configured by default. Each build
|
||||||
|
depends on specific binary version of Xorg, which tends to create very strict
|
||||||
|
installation dependencies that can be an inconvenience in EPEL.
|
||||||
|
|
||||||
SELinux
|
SELinux
|
||||||
=======
|
=======
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
diff -ruN xrdp-0.9.9-v/xrdp/xrdp.ini xrdp-0.9.9/xrdp/xrdp.ini
|
diff -ruN xrdp-0.9.11-v/xrdp/xrdp.ini xrdp-0.9.11/xrdp/xrdp.ini
|
||||||
--- xrdp-0.9.9-v/xrdp/xrdp.ini 2018-12-25 15:49:32.000000000 +1100
|
--- xrdp-0.9.11-v/xrdp/xrdp.ini 2019-08-20 01:41:37.000000000 +1000
|
||||||
+++ xrdp-0.9.9/xrdp/xrdp.ini 2019-01-11 19:29:37.622677165 +1100
|
+++ xrdp-0.9.11/xrdp/xrdp.ini 2019-09-15 21:30:19.352135681 +1000
|
||||||
@@ -153,15 +153,6 @@
|
@@ -178,14 +178,14 @@
|
||||||
; Some session types such as Xorg, X11rdp and Xvnc start a display server.
|
; Some session types such as Xorg, X11rdp and Xvnc start a display server.
|
||||||
; Startup command-line parameters for the display server are configured
|
; Startup command-line parameters for the display server are configured
|
||||||
; in sesman.ini. See and configure also sesman.ini.
|
; in sesman.ini. See and configure also sesman.ini.
|
||||||
@ -13,11 +13,18 @@ diff -ruN xrdp-0.9.9-v/xrdp/xrdp.ini xrdp-0.9.9/xrdp/xrdp.ini
|
|||||||
-ip=127.0.0.1
|
-ip=127.0.0.1
|
||||||
-port=-1
|
-port=-1
|
||||||
-code=20
|
-code=20
|
||||||
-
|
+#[Xorg]
|
||||||
|
+#name=Xorg
|
||||||
|
+#lib=libxup.so
|
||||||
|
+#username=ask
|
||||||
|
+#password=ask
|
||||||
|
+#ip=127.0.0.1
|
||||||
|
+#port=-1
|
||||||
|
+#code=20
|
||||||
|
|
||||||
[Xvnc]
|
[Xvnc]
|
||||||
name=Xvnc
|
name=Xvnc
|
||||||
lib=libvnc.so
|
@@ -197,25 +197,25 @@
|
||||||
@@ -172,25 +163,34 @@
|
|
||||||
#xserverbpp=24
|
#xserverbpp=24
|
||||||
#delay_ms=2000
|
#delay_ms=2000
|
||||||
|
|
||||||
@ -27,15 +34,7 @@ diff -ruN xrdp-0.9.9-v/xrdp/xrdp.ini xrdp-0.9.9/xrdp/xrdp.ini
|
|||||||
-ip=ask
|
-ip=ask
|
||||||
-port=ask5900
|
-port=ask5900
|
||||||
-username=na
|
-username=na
|
||||||
+[Xorg]
|
-password=ask
|
||||||
+name=Xorg
|
|
||||||
+lib=libxup.so
|
|
||||||
+username=ask
|
|
||||||
password=ask
|
|
||||||
+ip=127.0.0.1
|
|
||||||
+port=-1
|
|
||||||
+code=20
|
|
||||||
+
|
|
||||||
+#[vnc-any]
|
+#[vnc-any]
|
||||||
+#name=vnc-any
|
+#name=vnc-any
|
||||||
+#lib=libvnc.so
|
+#lib=libvnc.so
|
10
xrdp.spec
10
xrdp.spec
@ -13,7 +13,7 @@ Summary: Open source remote desktop protocol (RDP) server
|
|||||||
Name: xrdp
|
Name: xrdp
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 0.9.11
|
Version: 0.9.11
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://www.xrdp.org/
|
URL: http://www.xrdp.org/
|
||||||
Source0: https://github.com/neutrinolabs/xrdp/releases/download/v%{version}/xrdp-%{version}.tar.gz
|
Source0: https://github.com/neutrinolabs/xrdp/releases/download/v%{version}/xrdp-%{version}.tar.gz
|
||||||
@ -24,7 +24,7 @@ Source4: openssl.conf
|
|||||||
Source5: README.Fedora
|
Source5: README.Fedora
|
||||||
Source6: xrdp.te
|
Source6: xrdp.te
|
||||||
Patch0: xrdp-0.9.9-sesman.patch
|
Patch0: xrdp-0.9.9-sesman.patch
|
||||||
Patch1: xrdp-0.9.9-xrdp-ini.patch
|
Patch1: xrdp-0.9.11-xrdp-ini.patch
|
||||||
Patch2: xrdp-0.9.4-service.patch
|
Patch2: xrdp-0.9.4-service.patch
|
||||||
Patch3: xrdp-0.9.2-setpriv.patch
|
Patch3: xrdp-0.9.2-setpriv.patch
|
||||||
Patch4: xrdp-0.9.10-scripts-libexec.patch
|
Patch4: xrdp-0.9.10-scripts-libexec.patch
|
||||||
@ -46,9 +46,8 @@ BuildRequires: checkpolicy, selinux-policy-devel
|
|||||||
BuildRequires: %{_hardlink}
|
BuildRequires: %{_hardlink}
|
||||||
|
|
||||||
# tigervnc-server-minimal provides Xvnc (default for now)
|
# tigervnc-server-minimal provides Xvnc (default for now)
|
||||||
|
# xorgxrdp is another back end, depends on specific Xorg binary, omit
|
||||||
Requires: tigervnc-server-minimal
|
Requires: tigervnc-server-minimal
|
||||||
# xorgxrdp is another back end (small, so require it too)
|
|
||||||
Requires: xorgxrdp
|
|
||||||
Requires: xorg-x11-xinit
|
Requires: xorg-x11-xinit
|
||||||
Requires: util-linux
|
Requires: util-linux
|
||||||
Requires: %{name}-selinux = %{epoch}:%{version}-%{release}
|
Requires: %{name}-selinux = %{epoch}:%{version}-%{release}
|
||||||
@ -267,6 +266,9 @@ fi
|
|||||||
%{_datadir}/selinux/*/%{name}.pp
|
%{_datadir}/selinux/*/%{name}.pp
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Sep 15 2019 Bojan Smojver <bojan@rexurive.com> - 1:0.9.11-3
|
||||||
|
- Decouple xrdp from xorgxrdp, causing repeated installation issues in RHEL.
|
||||||
|
|
||||||
* Tue Aug 27 2019 Bojan Smojver <bojan@rexurive.com> - 1:0.9.11-2
|
* Tue Aug 27 2019 Bojan Smojver <bojan@rexurive.com> - 1:0.9.11-2
|
||||||
- Increment release for rebuild in F31.
|
- Increment release for rebuild in F31.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user