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&