Package: xrdp
Version: 0.9.4-1
Severity: minor

Hi,

it seems that $PATH is set to something different than the Debian 
default path (as per /etc/profile).

This patch (also attached) worked for me to get the correct and user 
specific $PATH. 

--- a/startwm.sh        2017-11-16 00:58:26.560463287 +0100
+++ b/startwm.sh        2017-11-01 17:56:13.042371563 +0100
@@ -2,6 +2,10 @@
 # xrdp X session start script (c) 2015 mirabilos
 # published under The MirOS Licence
 
+if test -r /etc/profile; then
+       . /etc/profile
+fi
+
 if test -r /etc/default/locale; then
        . /etc/default/locale
        test -z "${LANG+x}" || export LANG

Wolfgang
--- a/startwm.sh	2017-11-16 00:58:26.560463287 +0100
+++ b/startwm.sh	2017-11-01 17:56:13.042371563 +0100
@@ -2,6 +2,10 @@
 # xrdp X session start script (c) 2015 mirabilos
 # published under The MirOS Licence
 
+if test -r /etc/profile; then
+	. /etc/profile
+fi
+
 if test -r /etc/default/locale; then
 	. /etc/default/locale
 	test -z "${LANG+x}" || export LANG

Attachment: signature.asc
Description: PGP signature

Reply via email to