Hello community,

here is the log from the commit of package xrdp for openSUSE:Factory checked in 
at 2017-06-04 01:56:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xrdp (Old)
 and      /work/SRC/openSUSE:Factory/.xrdp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xrdp"

Sun Jun  4 01:56:38 2017 rev:5 rq:498689 version:0.9.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/xrdp/xrdp.changes        2017-04-11 
09:41:32.099832792 +0200
+++ /work/SRC/openSUSE:Factory/.xrdp.new/xrdp.changes   2017-06-04 
01:56:39.987008039 +0200
@@ -1,0 +2,47 @@
+Sat May 20 07:36:25 UTC 2017 - [email protected]
+
+- Update to version 0.9.2
+  + RemoteFX codec and Bitmap updates support are enabled
+  + TLS ciphers suites and version, and connected computer name is
+    now logged
+  + Miscellaneous RemoteFX codec mode improvements
+- Update to version 0.9.1
+  + Support for TLS security layer (preferred over RDP layer
+    if supported by the client)
+  + Support for disabling deprecated SSLv3 protocol and
+    selecting custom cipher suites in xrdp.ini
+  + Support for bidirectional fastpath
+    (enabled in both directions by default)
+  + More configurable login screen
+  + Support for new virtual channels:
+    - rdpdr: device redirection
+    - rdpsnd: audio output
+    - cliprdr: clipboard
+    - xrdpvr: xrdp video redirection channel
+      (can be used along with NeutrinoRDP client)
+  + Support for disabling virtual channels globally or
+    by session type
+  + Allow to specify the path for backends (Xorg, X11rdp, Xvnc)
+  + Multi-monitor support
+  + xrdp-chansrv stroes logs in ${XDG_DATA_HOME}/xrdp now
+- New sub packages for shared libraries and development files
+  + libpainter0
+  + librfxencode0
+  + xrdp-devel
+- Drop patches merged by the upstream
+  + xrdp-fix-buildtime-warnings.patch
+  + xrdp-Allow-sessions-with-32-bpp.patch.patch
+  + xrdp-vnc-enable-32-bpp-support-for-Xvnc-it-actually-works.patch
+  + xrdp-Fix-support-for-32-bpp-clients-connecting-to-16-bpp-.patch
+- Refresh patches
+  + xrdp-pam.patch
+    - its main part has been merged by the upstream
+  + xrdp-default-config.patch
+    - keep to use Xvnc as a default backend instread of Xorg
+      (upstream default)
+  + xrdp-disable-8-bpp-vnc-support.patch
+  + xrdp-openSUSE-logo.patch
+- Add xrdp-do-not-execute-psuedo-login-shell.patch
+  + prevent ~/.profile from being executed twice
+
+-------------------------------------------------------------------

Old:
----
  xrdp-0.9.0~git.1456906198.f422461.tar.gz
  xrdp-Allow-sessions-with-32-bpp.patch.patch
  xrdp-Fix-support-for-32-bpp-clients-connecting-to-16-bpp-.patch
  xrdp-fix-buildtime-warnings.patch
  xrdp-vnc-enable-32-bpp-support-for-Xvnc-it-actually-works.patch

New:
----
  xrdp-0.9.2.tar.gz
  xrdp-do-not-execute-psuedo-login-shell.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xrdp.spec ++++++
--- /var/tmp/diff_new_pack.M442P9/_old  2017-06-04 01:56:40.626917633 +0200
+++ /var/tmp/diff_new_pack.M442P9/_new  2017-06-04 01:56:40.630917069 +0200
@@ -18,32 +18,26 @@
 
 %define _fwdefdir %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services
 Name:           xrdp
-Version:        0.9.0~git.1456906198.f422461
+Version:        0.9.2
 Release:        0
 Summary:        Remote desktop protocol (RDP) server
 License:        Apache-2.0 and GPL-2.0+
 Group:          System/X11/Utilities
 Url:            https://github.com/neutrinolabs/xrdp
-Source0:        xrdp-%{version}.tar.gz
+Source0:        
https://github.com/neutrinolabs/xrdp/releases/download/v0.9.2/xrdp-%{version}.tar.gz
 Source1:        xrdp.fw
 Source2:        sysconfig.xrdp
 Source3:        force_stop
 Source4:        openSUSE.bmp
 Source100:      %{name}-rpmlintrc
-# PATCH-FIX-OPENSUSE xrdp-pam.patch bnc#441750 - [email protected]
+# PATCH-FIX-OPENSUSE xrdp-pam.patch - [email protected] refreshed by 
[email protected]
 Patch1:         xrdp-pam.patch
-# PATCH-FIX-UPSTREAM xrdp-fix-buildtime-warnings.patch - [email protected] -- 
fix warnings in build time, backported from upstream devel branch
-Patch2:         xrdp-fix-buildtime-warnings.patch
-# PATCH-FIX-OPENSUSE xrdp-default-config.patch - [email protected] -- 
Adjust default settings to openSUSE standards
+# PATCH-FIX-OPENSUSE xrdp-default-config.patch - [email protected] 
refreshed by [email protected] -- Adjust default settings to openSUSE standards
 Patch3:         xrdp-default-config.patch
 # PATCH-FIX-OPENSUSE xrdp-disable-8-bpp-vnc-support.patch bsc#991059 - 
[email protected] -- disable 8 bpp support for vnc connections
 Patch4:         xrdp-disable-8-bpp-vnc-support.patch
-# PATCH-FIX-UPSTREAM xrdp-Allow-sessions-with-32-bpp.patch.patch bsc#1022098 - 
[email protected] -- Allow sessions with 32 bpp
-Patch5:         xrdp-Allow-sessions-with-32-bpp.patch.patch
-# PATCH-FIX-UPSTREAM 
xrdp-vnc-enable-32-bpp-support-for-Xvnc-it-actually-works.patch bsc#1022098 - 
[email protected] -- vnc: enable 32 bpp support for Xvnc, it actually works
-Patch6:         xrdp-vnc-enable-32-bpp-support-for-Xvnc-it-actually-works.patch
-# PATCH-FIX-UPSTREAM 
xrdp-Fix-support-for-32-bpp-clients-connecting-to-16-bpp-.patch bsc#1022098 - 
[email protected] -- Fix support for 32-bpp clients connecting to 16-bpp VNC
-Patch7:         xrdp-Fix-support-for-32-bpp-clients-connecting-to-16-bpp-.patch
+# PATCH-FIX-UPSTREAM xrdp-do-not-execute-psuedo-login-shell.patch - 
[email protected]
+Patch5:         xrdp-do-not-execute-psuedo-login-shell.patch
 # PATCH-FEATURE-SLE xrdp-avahi.diff bnc#586785 - [email protected] -- Add 
Avahi support
 Patch11:        xrdp-avahi.diff
 # PATCH-FIX-SLE xrdp-filter-tab-from-mstsc-on-focus-change.patch bnc#601996 
bnc#623534 - [email protected] -- filter the fake tab key which is used to 
notify the session
@@ -64,11 +58,13 @@
 BuildRequires:  libXrandr-devel
 BuildRequires:  libavahi-devel
 BuildRequires:  libtool
+BuildRequires:  nasm
 BuildRequires:  openssl-devel
 BuildRequires:  pam-devel
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(systemd)
 Requires:       xorg-x11-Xvnc
+Recommends:     xorgxrdp
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -76,15 +72,35 @@
 connection from rdesktop and Microsoft's own terminal server / remote
 desktop clients.
 
+%package devel
+Summary:        Development files for xrdp
+Group:          Development/Libraries/Other
+Requires:       libpainter0 = %{version}
+Requires:       librfxencode0 = %{version}
+
+%description devel
+This package contains the development headers for xrdp
+
+%package -n libpainter0
+Summary:        Library for manipulating memory bitmaps
+Group:          Development/Libraries/Other
+
+%description -n libpainter0
+This package contains libraries for manipulating memory bitmaps
+
+%package -n librfxencode0
+Summary:        Library for JPEG2000 codec for RDP
+Group:          Development/Libraries/Other
+
+%description -n librfxencode0
+This package contains libraries for JPEG2000 codec for RDP
+
 %prep
 %setup -q
 %patch1 -p1
-%patch2 -p1
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
-%patch6 -p1
-%patch7 -p1
 %if ! 0%{?is_opensuse}
 %patch11 -p1
 %patch12 -p1
@@ -118,8 +134,9 @@
 ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcxrdp
 ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcxrdp-sesman
 
-# remove init script that conflicts with systemd service
-rm -rf %{buildroot}/%{_initddir}
+# remove a certification file generated during make and
+# use certification file created at the post phase
+rm -rf %{buildroot}/%{_sysconfdir}/xrdp/cert.pem
 
 %fdupes -s %{buildroot}
 
@@ -151,6 +168,14 @@
 %service_del_postun xrdp-sesman.service
 %restart_on_update
 
+%post -n libpainter0 -p /sbin/ldconfig
+
+%postun -n libpainter0 -p /sbin/ldconfig
+
+%post -n librfxencode0 -p /sbin/ldconfig
+
+%postun -n librfxencode0 -p /sbin/ldconfig
+
 %files
 %defattr(-,root,root)
 
@@ -159,7 +184,6 @@
 %dir %{_sysconfdir}/xrdp
 %dir %{_sysconfdir}/xrdp/pulse
 %config %{_fwdefdir}/xrdp
-%config(noreplace) %{_sysconfdir}/default/xrdp
 %config(noreplace) %{_sysconfdir}/pam.d/xrdp-sesman
 %config(noreplace) %{_sysconfdir}/xrdp/sesman.ini
 %config(noreplace) %{_sysconfdir}/xrdp/xrdp.ini
@@ -184,4 +208,21 @@
 %ghost %config(noreplace) %{_sysconfdir}/xrdp/rsakeys.ini
 %config %{_localstatedir}/adm/fillup-templates/sysconfig.xrdp
 
+%files devel
+%defattr(-,root,root)
+%{_includedir}/painter.h
+%{_includedir}/rfxcodec_*
+%{_includedir}/xrdp_*
+%{_libdir}/libpainter.so
+%{_libdir}/librfxencode.so
+%{_libdir}/pkgconfig/libpainter.pc
+%{_libdir}/pkgconfig/rfxcodec.pc
+%{_libdir}/pkgconfig/xrdp.pc
+
+%files -n libpainter0
+%{_libdir}/libpainter.so.*
+
+%files -n librfxencode0
+%{_libdir}/librfxencode.so.*
+
 %changelog


++++++ xrdp-0.9.0~git.1456906198.f422461.tar.gz -> xrdp-0.9.2.tar.gz ++++++
++++ 260005 lines of diff (skipped)

++++++ xrdp-default-config.patch ++++++
--- /var/tmp/diff_new_pack.M442P9/_old  2017-06-04 01:56:41.246830055 +0200
+++ /var/tmp/diff_new_pack.M442P9/_new  2017-06-04 01:56:41.250829489 +0200
@@ -1,153 +1,105 @@
-From 9359e6228d702dc4d3cc8057c05e2b3bae267406 Mon Sep 17 00:00:00 2001
-From: Felix Zhang <[email protected]>
-Date: Wed, 17 Aug 2016 17:07:32 +0800
-Subject: [PATCH] default config
-
----
- instfiles/xrdp.service |  7 +++---
- instfiles/xrdp.sh      |  4 ++--
- sesman/sesman.ini      | 18 ++++-----------
- xrdp/xrdp.ini          | 62 ++++++++------------------------------------------
- 4 files changed, 20 insertions(+), 71 deletions(-)
-
-diff --git a/instfiles/xrdp.service b/instfiles/xrdp.service
-index 7bb076d..93117d4 100644
---- a/instfiles/xrdp.service
-+++ b/instfiles/xrdp.service
-@@ -1,14 +1,13 @@
- [Unit]
- Description=xrdp daemon
--Requires=xrdp-sesman.service
--After=syslog.target network.target xrdp-sesman.service
-+After=syslog.target network.target
- 
- [Service]
- Type=forking
- PIDFile=/var/run/xrdp.pid
- EnvironmentFile=/etc/sysconfig/xrdp
--ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS
--ExecStop=/usr/sbin/xrdp $XRDP_OPTIONS --kill
-+ExecStart=/etc/xrdp/xrdp.sh start
-+ExecStop=/etc/xrdp/xrdp.sh stop
- 
- [Install]
- WantedBy=multi-user.target
-diff --git a/instfiles/xrdp.sh b/instfiles/xrdp.sh
-index 3e72743..630fa5b 100755
---- a/instfiles/xrdp.sh
-+++ b/instfiles/xrdp.sh
-@@ -17,8 +17,8 @@
- # Description: starts xrdp
- ### END INIT INFO
- 
--SBINDIR=/usr/local/sbin
--LOG=/dev/null
-+SBINDIR=/usr/sbin
-+LOG=/var/log/xrdp.log
- CFGDIR=/etc/xrdp
- 
- if ! test -x $SBINDIR/xrdp
 diff --git a/sesman/sesman.ini b/sesman/sesman.ini
-index a58af38..e60aaa9 100644
+index 8225ee44..37c78169 100644
 --- a/sesman/sesman.ini
 +++ b/sesman/sesman.ini
-@@ -15,11 +15,10 @@ TerminalServerAdmins=tsadmins
- AlwaysGroupCheck = false
- 
- [Sessions]
--
- ## X11DisplayOffset - x11 display number offset
- # Type: integer
--# Default: 10
+@@ -18,7 +18,7 @@ AlwaysGroupCheck=false
+ ;; X11DisplayOffset - x11 display number offset
+ ; Type: integer
+ ; Default: 10
 -X11DisplayOffset=10
-+# Default: 200
 +X11DisplayOffset=200
  
- ## MaxSessions - maximum number of connections to an xrdp server
- # Type: integer
-@@ -58,16 +57,9 @@ Policy=Default
+ ;; MaxSessions - maximum number of connections to an xrdp server
+ ; Type: integer
+@@ -50,9 +50,9 @@ Policy=Default
  
  [Logging]
  LogFile=xrdp-sesman.log
 -LogLevel=DEBUG
 -EnableSyslog=1
 -SyslogLevel=DEBUG
--
--[X11rdp]
--param1=-bs
--param2=-ac
--param3=-nolisten
--param4=tcp
--param5=-uds
 +LogLevel=ERROR
 +EnableSyslog=0
 +SyslogLevel=ERROR
  
- [Xvnc]
- param1=-bs
+ [X11rdp]
+ param=X11rdp
 diff --git a/xrdp/xrdp.ini b/xrdp/xrdp.ini
-index 34adb07..a48ec48 100644
+index cb6d7c36..f4c75c88 100644
 --- a/xrdp/xrdp.ini
 +++ b/xrdp/xrdp.ini
-@@ -70,7 +70,7 @@ use_fastpath=both
+@@ -74,7 +74,7 @@ grey=dedede
  #ls_title=My Login Title
  
- # top level window background color in RGB format
+ ; top level window background color in RGB format
 -ls_top_window_bg_color=009cb5
 +ls_top_window_bg_color=000000
  
- # width and height of login screen
+ ; width and height of login screen
  ls_width=350
-@@ -113,9 +113,9 @@ ls_btn_cancel_height=30
+@@ -117,9 +117,9 @@ ls_btn_cancel_height=30
  
  [Logging]
  LogFile=xrdp.log
 -LogLevel=DEBUG
--EnableSyslog=1
+-EnableSyslog=true
 -SyslogLevel=DEBUG
 +LogLevel=ERROR
-+EnableSyslog=0
++EnableSyslog=false
 +SyslogLevel=ERROR
- # LogLevel and SysLogLevel could by any of: core, error, warning, info or 
debug
+ ; LogLevel and SysLogLevel could by any of: core, error, warning, info or 
debug
  
- [channels]
-@@ -140,67 +140,25 @@ tcutils=true
- # chansrvport=/tmp/.xrdp/xrdp_chansrv_socket_7210
+ [Channels]
+@@ -148,34 +148,24 @@ tcutils=true
+ ; Session types
+ ;
  
- [xrdp1]
--name=sesman-X11rdp
+-[Xorg]
+-name=Xorg
 -lib=libxup.so
--username=ask
--password=ask
--ip=127.0.0.1
--port=-1
--xserverbpp=24
--code=10
--
--[xrdp2]
- name=sesman-Xvnc
- lib=libvnc.so
++[Xvnc]
++name=Xvnc
++lib=libvnc.so
  username=ask
  password=ask
  ip=127.0.0.1
  port=-1
--#delay_ms=2000
-+# delay in milliseconds before connecting to Xvnc
-+# to avoid race condition:
-+# https://github.com/neutrinolabs/xrdp/issues/182
+-code=20
++#xserverbpp=24
 +delay_ms=2000
  
--[xrdp3]
-+[xrdp2]
- name=console
- lib=libvnc.so
+-[X11rdp]
+-name=X11rdp
++[Xorg]
++name=Xorg
+ lib=libxup.so
+ username=ask
+ password=ask
  ip=127.0.0.1
+ port=-1
+-xserverbpp=24
+-code=10
+-
+-[Xvnc]
+-name=Xvnc
+-lib=libvnc.so
+-username=ask
+-password=ask
+-ip=127.0.0.1
+-port=-1
+-#xserverbpp=24
+-#delay_ms=2000
++code=20
+ 
+ [console]
+ name=console
+@@ -184,28 +174,7 @@ ip=127.0.0.1
  port=5900
  username=na
  password=ask
 -#delay_ms=2000
 -
--[xrdp4]
+-[vnc-any]
 -name=vnc-any
 -lib=libvnc.so
 -ip=ask
@@ -159,7 +111,7 @@
 -#pamsessionmng=127.0.0.1
 -#delay_ms=2000
 -
--[xrdp5]
+-[sesman-any]
 -name=sesman-any
 -lib=libvnc.so
 -ip=ask
@@ -167,24 +119,7 @@
 -username=ask
 -password=ask
 -#delay_ms=2000
--
--[xrdp6]
--name=rdp-any
--lib=librdp.so
--ip=ask
--port=ask3389
--
--[xrdp7]
--name=neutrinordp-any
--lib=libxrdpneutrinordp.so
--ip=ask
--port=ask3389
--username=ask
--password=ask
 +delay_ms=2000
  
- [Session manager]
- name=Session manager
--- 
-2.6.6
-
+ [neutrinordp-any]
+ name=neutrinordp-any

++++++ xrdp-disable-8-bpp-vnc-support.patch ++++++
--- /var/tmp/diff_new_pack.M442P9/_old  2017-06-04 01:56:41.258828359 +0200
+++ /var/tmp/diff_new_pack.M442P9/_new  2017-06-04 01:56:41.258828359 +0200
@@ -1,44 +1,38 @@
-From a0c6305f00fa61e48b79c1edd6de83fb8107e386 Mon Sep 17 00:00:00 2001
-From: Felix Zhang <[email protected]>
-Date: Tue, 30 Aug 2016 20:03:35 +0800
+From: Fuminobu TAKEYAMA <[email protected]>
+Date: Mon, 01 May 2017 08:13:41 +0000
 Subject: [PATCH] disable 8 bpp vnc support
 
+Refresh the patch from Felix Zhang
+
 Xvnc drops support for 8 bpp since 1.4.0. Trying to launch Xvnc in
 8 bpp will cause it to dump core (bsc#991059).
 ---
- vnc/vnc.c | 9 ++++++---
- 1 file changed, 6 insertions(+), 3 deletions(-)
+ vnc/vnc.c | 8 ++++++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
 
 diff --git a/vnc/vnc.c b/vnc/vnc.c
-index bb04726..c3ee3bf 100644
+index b0eb29b3..db593da0 100644
 --- a/vnc/vnc.c
 +++ b/vnc/vnc.c
-@@ -950,11 +950,14 @@ lib_mod_connect(struct vnc *v)
-     check_sec_result = 1;
- 
-     /* only support 8 and 16 bpp connections from rdp client */
--    if ((v->server_bpp != 8) && (v->server_bpp != 15) &&
-+    if ((v->server_bpp != 15) &&
-             (v->server_bpp != 16) && (v->server_bpp != 24))
+@@ -1011,15 +1011,19 @@ lib_mod_connect(struct vnc *v)
+     /* check if bpp is supported for rdp connection */
+     switch (v->server_bpp)
      {
--        v->server_msg(v, "VNC error - only supporting 8, 15, 16 and 24 bpp 
rdp "
-+        v->server_msg(v, "VNC error - only supporting 15, 16 and 24 bpp "
-                       "connections", 0);
-+        if (v->server_bpp == 8)
-+            v->server_msg(v, "VNC error - 8 bpp support is dropped "
-+                      "since Xvnc 1.4.0", 0);
+-        case 8:
+         case 15:
+         case 16:
+         case 24:
+         case 32:
+             break;
+         default:
+-            v->server_msg(v, "VNC error - only supporting 8, 15, 16, 24 and 
32 "
++            v->server_msg(v, "VNC error - only supporting 15, 16, 24 and 32 "
+                           "bpp rdp connections", 0);
++            if (v->server_bpp == 8)
++            {
++                v->server_msg(v, "VNC error - 8 bpp support is dropped "
++                              "since Xvnc 1.4.0", 0);
++            }
          return 1;
      }
- 
-@@ -985,7 +988,7 @@ lib_mod_connect(struct vnc *v)
-         v->server_msg(v, text, 0);
-         g_sleep(v->delay_ms);
-     }
--    
-+
-     g_sprintf(text, "VNC connecting to %s %s", v->ip, con_port);
-     v->server_msg(v, text, 0);
-     error = g_tcp_connect(v->sck, v->ip, con_port);
--- 
-2.6.6
 

++++++ xrdp-do-not-execute-psuedo-login-shell.patch ++++++
commit 97b6b8c2f2988eb570d04c6d7929d0090f887798
Author: Fuminobu TAKEYAMA <[email protected]>
Date:   Thu May 4 10:49:57 2017 +0900

    startwm.sh: do not call psuedo shell for /etc/X11/xdm/Xsession
    
    Since /etc/X11/xdm/Xsession calls user's login shell, startwm.sh
    may not execute the psuedo code; It causes executing
    ~/.profile twice.

diff --git a/sesman/startwm.sh b/sesman/startwm.sh
index b81d3646..452917a4 100755
--- a/sesman/startwm.sh
+++ b/sesman/startwm.sh
@@ -1,34 +1,5 @@
 #!/bin/sh
 
-#start the window manager
-wm_start()
-{
-  if [ -r /etc/default/locale ]; then
-    . /etc/default/locale
-    export LANG LANGUAGE
-  fi
-
-  # debian
-  if [ -r /etc/X11/Xsession ]; then
-    . /etc/X11/Xsession
-    exit 0
-  fi
-
-  # el
-  if [ -r /etc/X11/xinit/Xsession ]; then
-    . /etc/X11/xinit/Xsession
-    exit 0
-  fi
-
-  # suse
-  if [ -r /etc/X11/xdm/Xsession ]; then
-    . /etc/X11/xdm/Xsession
-    exit 0
-  fi
-
-  xterm
-}
-
 # Execution sequence for interactive login shell - pseudocode
 #
 # IF /etc/profile is readable THEN
@@ -77,6 +48,43 @@ post_start()
   return 0
 }
 
+#start the window manager
+wm_start()
+{
+  if [ -r /etc/default/locale ]; then
+    . /etc/default/locale
+    export LANG LANGUAGE
+  fi
+
+  # debian
+  if [ -r /etc/X11/Xsession ]; then
+    pre_start
+    . /etc/X11/Xsession
+    post_start
+    exit 0
+  fi
+
+  # el
+  if [ -r /etc/X11/xinit/Xsession ]; then
+    pre_start
+    . /etc/X11/xinit/Xsession
+    post_start
+    exit 0
+  fi
+
+  # suse
+  if [ -r /etc/X11/xdm/Xsession ]; then
+    # since the following script run a user login shell,
+    # do not execute the pseudo login shell scripts
+    . /etc/X11/xdm/Xsession
+    exit 0
+  fi
+
+  pre_start
+  xterm
+  post_start
+}
+
 #. /etc/environment
 #export PATH=$PATH
 #export LANG=$LANG
@@ -91,8 +99,6 @@ post_start()
 # includes
 # auth       required     pam_env.so readenv=1
 
-pre_start
 wm_start
-post_start
 
 exit 1
++++++ xrdp-openSUSE-logo.patch ++++++
--- /var/tmp/diff_new_pack.M442P9/_old  2017-06-04 01:56:41.286824404 +0200
+++ /var/tmp/diff_new_pack.M442P9/_new  2017-06-04 01:56:41.286824404 +0200
@@ -1,25 +1,23 @@
-From f90a6e8ec3f15adca3af5716f550412dc0f56fc8 Mon Sep 17 00:00:00 2001
-From: Felix Zhang <[email protected]>
-Date: Fri, 5 Aug 2016 17:03:50 +0800
+From: Fuminobu TAKEYAMA <[email protected]>
+Date: Mon, 01 May 2017 08:19:06 +0000
 Subject: [PATCH] change logo in login dialog for openSUSE
 
+refresh the patch from Felix Zhang
+
 ---
  xrdp/xrdp.ini | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/xrdp/xrdp.ini b/xrdp/xrdp.ini
-index df3f97e..d49826a 100644
+index cb6d7c36..0f5b1def 100644
 --- a/xrdp/xrdp.ini
 +++ b/xrdp/xrdp.ini
-@@ -84,7 +84,7 @@ ls_bg_color=dedede
+@@ -88,7 +88,7 @@ ls_bg_color=dedede
  
- # logo
- # full path to bmp-file or file in shared folder
+ ; logo
+ ; full path to bmp-file or file in shared folder
 -ls_logo_filename=
 +ls_logo_filename=/usr/share/xrdp/openSUSE.bmp
  ls_logo_x_pos=55
  ls_logo_y_pos=50
  
--- 
-2.6.6
-

++++++ xrdp-pam.patch ++++++
--- /var/tmp/diff_new_pack.M442P9/_old  2017-06-04 01:56:41.298822709 +0200
+++ /var/tmp/diff_new_pack.M442P9/_new  2017-06-04 01:56:41.298822709 +0200
@@ -1,27 +1,9 @@
-From d744afa31f03fdc182343d483e54f7594a385478 Mon Sep 17 00:00:00 2001
-From: Felix Zhang <[email protected]>
-Date: Mon, 1 Aug 2016 17:08:04 +0800
-Subject: [PATCH] pam
-
----
- instfiles/pam.d/xrdp-sesman | 9 +++++----
- 1 file changed, 5 insertions(+), 4 deletions(-)
-
-diff --git a/instfiles/pam.d/xrdp-sesman b/instfiles/pam.d/xrdp-sesman
-index 789ce8f..745f75c 100644
---- a/instfiles/pam.d/xrdp-sesman
-+++ b/instfiles/pam.d/xrdp-sesman
-@@ -1,5 +1,6 @@
- #%PAM-1.0
--@include common-auth
--@include common-account
--@include common-session
--@include common-password
-+auth        include        common-auth
-+account     include        common-account
-+password    include        common-password
-+session     include        common-session
-+session     required       pam_loginuid.so
--- 
-2.6.6
-
+diff --git a/instfiles/pam.d/xrdp-sesman.suse 
b/instfiles/pam.d/xrdp-sesman.suse
+index a7c7836c..8868613d 100644
+--- a/instfiles/pam.d/xrdp-sesman.suse
++++ b/instfiles/pam.d/xrdp-sesman.suse
+@@ -3,3 +3,4 @@ auth        include     common-auth
+ account     include     common-account
+ session     include     common-session
+ password    include     common-password
++session     required    pam_loginuid.so


Reply via email to