From 86ecad1197c04520d98ac62a8906e7b55a8b6e8d Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Sat, 4 Jun 2005 23:48:50 +0000 Subject: [PATCH] added instfiles --- instfiles/pam.d/xrdp | 4 ++++ instfiles/sesman.ini | 5 +++++ instfiles/startwm.sh | 4 ++++ instfiles/xrdp.ini | 28 ++++++++++++++++++++++++++++ instfiles/xrdpstart.sh | 4 ++++ 5 files changed, 45 insertions(+) create mode 100644 instfiles/pam.d/xrdp create mode 100644 instfiles/sesman.ini create mode 100755 instfiles/startwm.sh create mode 100644 instfiles/xrdp.ini create mode 100755 instfiles/xrdpstart.sh diff --git a/instfiles/pam.d/xrdp b/instfiles/pam.d/xrdp new file mode 100644 index 00000000..6b00672e --- /dev/null +++ b/instfiles/pam.d/xrdp @@ -0,0 +1,4 @@ +#%PAM-1.0 +auth required /lib/security/pam_userpass.so +auth required /lib/security/pam_unix.so shadow use_first_pass +account required /lib/security/pam_unix.so diff --git a/instfiles/sesman.ini b/instfiles/sesman.ini new file mode 100644 index 00000000..d01e8d2f --- /dev/null +++ b/instfiles/sesman.ini @@ -0,0 +1,5 @@ + +[globals] +auth=pam +xserver=Xvnc :%d -geometry %dx%d -depth %d -bs +wm=startkde diff --git a/instfiles/startwm.sh b/instfiles/startwm.sh new file mode 100755 index 00000000..2b9c75b0 --- /dev/null +++ b/instfiles/startwm.sh @@ -0,0 +1,4 @@ +#!/bin/sh +startkde +#blackbox +#fvwm95 diff --git a/instfiles/xrdp.ini b/instfiles/xrdp.ini new file mode 100644 index 00000000..e12dde9a --- /dev/null +++ b/instfiles/xrdp.ini @@ -0,0 +1,28 @@ + +[globals] +bitmap_cache=yes +bitmap_compression=yes + +[vnc1] +name=sesman +lib=./libvnc.so +username=ask +password=ask +ip=127.0.0.1 +port=-1 + +[vnc2] +name=console +lib=./libvnc.so +ip=127.0.0.1 +port=5900 +username=na +password=ask + +[vnc3] +name=vnc-any +lib=./libvnc.so +ip=ask +port=ask5900 +username=na +password=ask diff --git a/instfiles/xrdpstart.sh b/instfiles/xrdpstart.sh new file mode 100755 index 00000000..b91a65af --- /dev/null +++ b/instfiles/xrdpstart.sh @@ -0,0 +1,4 @@ +#!/bin/bash +cd /usr/local/xrdp +./xrdp& +./sesman wait&