I had a script to cleanup dead or locked sessions.
Kill first X11rdp or X11vnc or Xorg
after that, cleanup files: in subdirs from /tmp:
#!/bin/bash
function clean-xrdp
{
if [ $# -eq 0 ]; then
return
fi
LISTXRDPFILES="/tmp/.X$1-lock /tmp/.X11-unix/X$1
/tmp/.xrdp/xrdpapi_$1 /tmp/.xrdp/xrdp_disconnect_display_$1
/tmp/.xrdp/xrdp_display_$1"
for i in $LISTXRDPFILES; do
test -e $i && echo "rm -f $i"
test -e $i && rm -f $i
done
}
killall Xorg
killall X11rdp
sleep 10
for i in $(seq 10 80); do
clean-xrdp $i
done
Emmanuel
Le 11/08/2015 06:50, Stacey Liao a écrit :
Hello Jay,
thanks for your responding. :)
However, the problem is like the following link...
xrdp_mm_process_login_response: login failed
http://linuxtoolkit.blogspot.tw/2013/03/xrdpmmprocessloginresponse-login-failed.html
<http://linuxtoolkit.blogspot.tw/2013/03/xrdpmmprocessloginresponse-login-failed.html>
thus, I want to figure out how to solve the issue, can you help me?
Stacey
2015-08-08 5:29 GMT+08:00 Jay Sorg <jay.s...@gmail.com
<mailto:jay.s...@gmail.com>>:
Hi Stacey,
You should be able to kill the Xvnc / X11rdp / or Xorg to reset
the session.
Jay
On Wed, Aug 5, 2015 at 8:31 AM, Stacey Liao <staceyt...@gmail.com
<mailto:staceyt...@gmail.com>> wrote:
> Hello xrdp developer,
>
> I got a problem about sessions which could not be deleted when
the session
> timeout or other situations. How can I close the zombie
sessions? Could you
> apply it?
>
> Thanks for your reading,
> Stacey
> Aug. 05
>
>
>
------------------------------------------------------------------------------
>
> _______________________________________________
> xrdp-devel mailing list
> xrdp-devel@lists.sourceforge.net
<mailto:xrdp-devel@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/xrdp-devel
>
------------------------------------------------------------------------------
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel
------------------------------------------------------------------------------
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel