xrdp/xrdp-get-it-working.patch

130 lines
2.5 KiB
Diff

diff -ur a/instfiles/pam.d/xrdp-sesman b/instfiles/pam.d/xrdp-sesman
--- a/instfiles/pam.d/xrdp-sesman 2014-06-09 18:53:00.000000000 +0530
+++ b/instfiles/pam.d/xrdp-sesman 2014-06-09 18:53:26.000000000 +0530
@@ -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 required pam_loginuid.so
+session include common-session
diff -ur a/sesman/sesman.ini b/sesman/sesman.ini
--- a/sesman/sesman.ini 2014-06-09 18:53:00.000000000 +0530
+++ b/sesman/sesman.ini 2014-06-09 18:53:26.000000000 +0530
@@ -28,16 +28,9 @@
[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
diff -ur a/xrdp/xrdp.ini b/xrdp/xrdp.ini
--- a/xrdp/xrdp.ini 2014-06-09 18:52:59.000000000 +0530
+++ b/xrdp/xrdp.ini 2014-06-09 18:56:57.000000000 +0530
@@ -55,7 +55,8 @@
#
# top level window background color in RGB format
-ls_top_window_bg_color=009cb5
+#ls_top_window_bg_color=009cb5
+ls_top_window_bg_color=000000
# width and height of login screen
ls_width=350
@@ -65,7 +66,7 @@
ls_bg_color=dedede
# logo
-ls_logo_filename=
+ls_logo_filename=/usr/share/xrdp/openSUSE.bmp
ls_logo_x_pos=55
ls_logo_y_pos=50
@@ -94,9 +95,9 @@
[Logging]
LogFile=xrdp.log
-LogLevel=DEBUG
-EnableSyslog=1
-SyslogLevel=DEBUG
+LogLevel=ERROR
+EnableSyslog=0
+SyslogLevel=ERROR
# LogLevel and SysLogLevel could by any of: core, error, warning, info or debug
[channels]
@@ -119,16 +120,6 @@
# for debugging xrdp, add following line to section xrdp1
# chansrvport=/tmp/.xrdp/xrdp_chansrv_socket_7210
-[xrdp1]
-name=sesman-X11rdp
-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
@@ -145,39 +136,6 @@
username=na
password=ask
-[xrdp4]
-name=vnc-any
-lib=libvnc.so
-ip=ask
-port=ask5900
-username=na
-password=ask
-#pamusername=asksame
-#pampassword=asksame
-#pamsessionmng=127.0.0.1
-
-[xrdp5]
-name=sesman-any
-lib=libvnc.so
-ip=ask
-port=-1
-username=ask
-password=ask
-
-[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
-
# You can override the common channel settings for each session type
#channel.rdpdr=true
#channel.rdpsnd=true