Bug#882246: xrdp: startwm.sh fails to set default Debian $PATH upon login
Wolfgang Schweer
wschweer at arcor.de
Mon Nov 20 17:07:44 UTC 2017
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: startwm.sh.patch
Type: text/x-diff
Size: 365 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-remote-team/attachments/20171120/eacc2c41/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-remote-team/attachments/20171120/eacc2c41/attachment.sig>
More information about the pkg-remote-team
mailing list