summaryrefslogtreecommitdiffstats
path: root/net-misc/xrdp/files/startwm.sh
blob: 751c26a9873e2169b3cd590042acd0ec08336c5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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