Date: Thu, 9 Aug 2018 23:26:21 +0000 From: Koichiro IWAO <meta@vmeta.jp> To: David Newman <dnewman@networktest.com> Cc: freebsd-questions@freebsd.org Subject: Re: xrdp configuration and xfce4 Message-ID: <0101016521032eb2-f262b8e9-b49d-4698-b7fa-b164846438d8-000000@us-west-2.amazonses.com> In-Reply-To: <ae825563-6242-d7d9-9458-3003fde1b4f3@networktest.com> References: <d3534b9a-4061-5f6b-e94c-68646700f194@networktest.com> <caf921f910fe2dec5d4a6ed19e682cef@freebsd.org> <7d12e2d7-e8e6-53d0-3c62-d3ca8868f9be@networktest.com> <20180808013151.sia5lgegjcxu2pr3@icepick.vmeta.jp> <3d2a1aa3-94de-e4e7-bb1d-a54ff7a92f94@networktest.com> <010101651cc2eaf1-3b1f8145-18bd-4665-bdf9-767470f85a3d-000000@us-west-2.amazonses.com> <ae825563-6242-d7d9-9458-3003fde1b4f3@networktest.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>> Again, in xrdp context, ~/.xinitrc or ~/.xsession doesn't affect. >> Forget >> it and >> see /usr/local/etc/xrdp/startwm.sh or ~/startwm.sh. > > Partial success! xfce4 now starts automatically with a local startwm.sh > file. Which did you try? ~/startwm.sh? If you got success with ~/startwm.sh, there might be a bug of xrdp. Some people reported similar issue to yours. Let me break down the issue and help us improve xrdp before looking at clipboard issue. 1. remove ~/startwm.sh 2. confirm /usr/local/etc/xrdp/startwm.sh starts startxfce4 3. login via xrdp 4. you'll see xterm 5. see /var/log/xrdp-sesman.log 6. you'll see the log like this [20180710-23:08:24] [CORE ] waiting for window manager (pid 41266) to exit [20180710-23:08:24] [CORE ] error starting default wm for user meta - pid 41266 [20180710-23:08:25] [DEBUG] errno: 2, description: No such file or directory [20180710-23:08:25] [DEBUG] execlp3 parameter list: [20180710-23:08:25] [DEBUG] argv[0] = startwm.sh [20180710-23:08:25] [DEBUG] argv[1] = startwm.sh If you see the log like this, xrdp is failing to find /usr/local/etc/xrdp/startwm.sh. If you specify the full path to startwm.sh in sesman.ini, it should work. Try it. Don't forget to restart xrdp-sesman after you edited sesman.ini. ``` DefaultWindowManager=/usr/local/etc/xrdp/startwm.sh ``` Thank you for your cooperation. -- `whois vmeta.jp | nkf -w` meta <meta@vmeta.jp>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0101016521032eb2-f262b8e9-b49d-4698-b7fa-b164846438d8-000000>