# HG changeset patch # User Pascal Bellard # Date 1424628331 -3600 # Node ID 6e45d904579be97dfd68cd5eea4dae41236d79f9 # Parent e302f073e59fd12a72551ad0b1f0fe6680fc8a5f xrdp: update start scripts diff -r e302f073e59f -r 6e45d904579b xrdp/receipt --- a/xrdp/receipt Sun Feb 22 18:41:02 2015 +0100 +++ b/xrdp/receipt Sun Feb 22 19:05:31 2015 +0100 @@ -11,7 +11,7 @@ WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="libssl zlib xorg-libX11 xorg-libXfixes libxcb xorg-libXau \ -xorg-libXdmcp pam procps" +xorg-libXdmcp pam tightvnc" BUILD_DEPENDS="autoconf automake libtool pkg-config openssl-dev pam-dev \ xorg-dev" @@ -34,5 +34,9 @@ mkdir -p $fs/etc/init.d cp -a $install/* $fs/ mv $fs/etc/xrdp/xrdp.sh $fs/etc/init.d/xrdp - sed -i 's|/usr/local|/usr|;s|xrdp\.sh|xrdp|' $fs/etc/init.d/xrdp + sed -i -e 's|/usr/local|/usr|;s|xrdp\.sh|xrdp|' \ + -e 's|--noheading -C||' \ + -e 's/grep -q -i/grep -v grep | &/' \ + $fs/etc/init.d/xrdp + sed -i 's|gnome|lxde-session &|' $fs/etc/xrdp/startwm.sh }