From 192446c47e31266be2df6aa58f62b74cf8dcbcac Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Sat, 18 Feb 2006 05:42:59 +0000 Subject: [PATCH] documentation and script file changes --- install.txt | 8 ++++++++ instfiles/startwm.sh | 5 ++++- sesman/startwm.sh | 24 ++++++++++++++++++++---- 3 files changed, 32 insertions(+), 5 deletions(-) diff --git a/install.txt b/install.txt index c193273b..d2138eb3 100644 --- a/install.txt +++ b/install.txt @@ -31,6 +31,7 @@ files. files and location /usr/local/xrdp/startwm.sh - script that starts the window manager + You may need to edit this file to run your window manager. /etc/sesman.ini - sesman configuration file /etc/rsakeys.ini - rsa stuff /etc/xrdp.ini - xrdp configuration file @@ -41,4 +42,11 @@ Sesman and xrdp both have to be running as root. You should set them to start when the system starts. You can use xrdp_control.sh script to start them. +To completely remove xrdp + remove directory /usr/local/xrdp + remove directory /etc/xrdp + remove file /var/run/xrdp.pid + remove file /var/run/sesman.pid + remove any startup links added to /etc/init.d or /etc/rcX.d + jay.sorg@gmail.com diff --git a/instfiles/startwm.sh b/instfiles/startwm.sh index 2b9c75b0..5f02d7f2 100755 --- a/instfiles/startwm.sh +++ b/instfiles/startwm.sh @@ -1,4 +1,7 @@ #!/bin/sh -startkde +# +# not used, the one in sesman directory is used +# +#startkde #blackbox #fvwm95 diff --git a/sesman/startwm.sh b/sesman/startwm.sh index b190631c..e28b00dd 100755 --- a/sesman/startwm.sh +++ b/sesman/startwm.sh @@ -1,5 +1,21 @@ #!/bin/sh -startkde -#blackbox -#fvwm95 -#xterm +if [ "'which startkde'" != "" ]; then + startkde + exit 0 +fi +if [ "'which kde'" != "" ]; then + kde + exit 0 +fi +if [ "'which blackbox'" != "" ]; then + blackbox + exit 0 +fi +if [ "'which fvwm95'" != "" ]; then + fvwm95 + exit 0 +fi +if [ "'which xterm'" != "" ]; then + xterm + exit 0 +fi