Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
xrdp
xrdp-default-config.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xrdp-default-config.patch of Package xrdp
From 9359e6228d702dc4d3cc8057c05e2b3bae267406 Mon Sep 17 00:00:00 2001 From: Felix Zhang <fezhang@suse.com> 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 --- 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 -X11DisplayOffset=10 +# Default: 200 +X11DisplayOffset=200 ## MaxSessions - maximum number of connections to an xrdp server # Type: integer @@ -58,16 +57,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 diff --git a/xrdp/xrdp.ini b/xrdp/xrdp.ini index 34adb07..a48ec48 100644 --- a/xrdp/xrdp.ini +++ b/xrdp/xrdp.ini @@ -70,7 +70,7 @@ use_fastpath=both #ls_title=My Login Title # 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 ls_width=350 @@ -113,9 +113,9 @@ ls_btn_cancel_height=30 [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] @@ -140,67 +140,25 @@ tcutils=true # 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 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 +delay_ms=2000 -[xrdp3] +[xrdp2] name=console lib=libvnc.so ip=127.0.0.1 port=5900 username=na password=ask -#delay_ms=2000 - -[xrdp4] -name=vnc-any -lib=libvnc.so -ip=ask -port=ask5900 -username=na -password=ask -#pamusername=asksame -#pampassword=asksame -#pamsessionmng=127.0.0.1 -#delay_ms=2000 - -[xrdp5] -name=sesman-any -lib=libvnc.so -ip=ask -port=-1 -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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor