xrdp init script issue (using partedmagic)
Status: Beta
Brought to you by:
jsorg71
Hi,
I've run into an issue using "PartedMagic". The init script of xrdp falsely claims the daemon is running, always.
It greps for a process 'xrdp', but as the init script is named 'xrdp' as well...
The following works for me:
The "grep -v $0" ignores lines that match the name of the init script itself (e.g. /etc/init.d/xrdp)
--- snip ---
--- xrdp__old 2018-02-07 23:05:30.936970026 -0900
+++ xrdp 2018-02-07 23:04:47.783973395 -0900
@@ -46,7 +46,7 @@
is_xrdp_running()
{
is_sesman_running()
{
--- snip ---
Best,
Robert
xrdp-0.9.4-i586-1_pmagic.txz