mirror of https://github.com/neutrinolabs/xrdp
45 lines
642 B
Bash
Executable File
45 lines
642 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# edit this file to run whatever window manager you want
|
|
# defaults to running kde
|
|
|
|
# for kde
|
|
if [ -d /opt/kde3/bin ]; then
|
|
export PATH=/opt/kde3/bin:$PATH
|
|
fi
|
|
if [ -d /opt/kde/bin ]; then
|
|
export PATH=/opt/kde/bin:$PATH
|
|
fi
|
|
if [ "'which startkde'" != "" ]; then
|
|
startkde
|
|
exit 0
|
|
fi
|
|
if [ "'which kde'" != "" ]; then
|
|
kde
|
|
exit 0
|
|
fi
|
|
|
|
# gnome
|
|
#if [ "'which gnome'" != "" ]; then
|
|
# gnome
|
|
# exit 0
|
|
#fi
|
|
|
|
# blackbox
|
|
#if [ "'which blackbox'" != "" ]; then
|
|
# blackbox
|
|
# exit 0
|
|
#fi
|
|
|
|
# fvwm95
|
|
#if [ "'which fvwm95'" != "" ]; then
|
|
# fvwm95
|
|
# exit 0
|
|
#fi
|
|
|
|
# fall back on xterm
|
|
if [ "'which xterm'" != "" ]; then
|
|
xterm
|
|
exit 0
|
|
fi
|