summaryrefslogtreecommitdiffstats
path: root/sesman/startwm.sh
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2006-02-20 04:20:54 +0000
committerjsorg71 <jsorg71>2006-02-20 04:20:54 +0000
commitd7e7beae5ee6d974ae21ef7c2e0058c29de37b79 (patch)
treef7c8851e77f16db70bae0b3574935f8a71dda5d2 /sesman/startwm.sh
parent192446c47e31266be2df6aa58f62b74cf8dcbcac (diff)
downloadxrdp-proprietary-d7e7beae5ee6d974ae21ef7c2e0058c29de37b79.tar.gz
xrdp-proprietary-d7e7beae5ee6d974ae21ef7c2e0058c29de37b79.zip
added kde path if needed
Diffstat (limited to 'sesman/startwm.sh')
-rwxr-xr-xsesman/startwm.sh39
1 files changed, 31 insertions, 8 deletions
diff --git a/sesman/startwm.sh b/sesman/startwm.sh
index e28b00dd..193eed78 100755
--- a/sesman/startwm.sh
+++ b/sesman/startwm.sh
@@ -1,4 +1,15 @@
#!/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
@@ -7,14 +18,26 @@ if [ "'which kde'" != "" ]; then
kde
exit 0
fi
-if [ "'which blackbox'" != "" ]; then
- blackbox
- exit 0
-fi
-if [ "'which fvwm95'" != "" ]; then
- fvwm95
- 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