diff options
Diffstat (limited to 'net-misc/xrdp/files/startwm.sh')
-rw-r--r-- | net-misc/xrdp/files/startwm.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net-misc/xrdp/files/startwm.sh b/net-misc/xrdp/files/startwm.sh new file mode 100644 index 0000000..751c26a --- /dev/null +++ b/net-misc/xrdp/files/startwm.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +# try hard to respect Gentoo's wm choice +. /etc/profile +[ -f /etc/rc.conf ] && . /etc/rc.conf +export XSESSION + +USERINITRC="$HOME/.xinitrc" +if [ -f "$USERINITRC" ]; then + . "$USERINITRC" +else + . /etc/X11/xinit/xinitrc +fi |