From owner-freebsd-ports@freebsd.org Wed Jun 5 13:56:40 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7018B15AE880 for ; Wed, 5 Jun 2019 13:56:40 +0000 (UTC) (envelope-from jankyj@unfs.us) Received: from stig.purplehat.org (stig.purplehat.org [50.243.134.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 12B8283F95; Wed, 5 Jun 2019 13:56:38 +0000 (UTC) (envelope-from jankyj@unfs.us) Received: from localhost (bill.goatse.unfs.us [50.243.134.106]) by stig.purplehat.org (Postfix) with ESMTP id 7B080CDBD9; Wed, 5 Jun 2019 07:56:31 -0600 (MDT) DKIM-Filter: OpenDKIM Filter v2.10.3 stig.purplehat.org 7B080CDBD9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unfs.us; s=mail; t=1559742991; bh=KP7G2JtqElXLILj8owh4h6z9THltuEUHc/qbRCl4UlE=; h=From:To:Cc:References:Subject:Date:In-Reply-To:From; b=UhNFMME2WLyLugC1hVS5bfNRwjPRlS5WZVXZFgjW5+H/STUdARw+5ePLb/SINbzk/ aWhqWReR78gXWERbnJ0u8y/P62men0Yr2NDjDRsX1jWk7OwzV+nH4y1BzHns8fWc+v dtsMah2Gum63qsKcsVUH1ZpAOwTz9x//l03xUfVo= Received: from stig.purplehat.org ([50.243.134.106]) by localhost (stig.purplehat.org [50.243.134.106]) (maiad, port 10024) with ESMTP id 92243-07; Wed, 5 Jun 2019 07:56:30 -0600 (MDT) Received: from drp01-dev.enwd.co.sc.charterlab.com (chtr-lin-v.purplehat.org [172.30.30.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jankyj@unfs.us) by stig.purplehat.org (Postfix) with ESMTPSA id 41DD3CDBD6; Wed, 5 Jun 2019 07:56:30 -0600 (MDT) DKIM-Filter: OpenDKIM Filter v2.10.3 stig.purplehat.org 41DD3CDBD6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unfs.us; s=mail; t=1559742990; bh=KP7G2JtqElXLILj8owh4h6z9THltuEUHc/qbRCl4UlE=; h=From:To:Cc:References:Subject:Date:In-Reply-To:From; b=Mxluxxsr1/13gjU/AL20ndbyJurGCjux93+K6IGr7JBo6WKQ9IIOJUwXmBbAttKd3 GLP3KLmlTO9FY3G4sxUJQUJXsZX+wVku9xiES3OsT8J8nBwM66IOYjvlY0jZnSDryc JnZHxaRPaclzimeUc785n0P2CXOinMc7hSqM7AE0= From: "Janky Jay, III" To: Koichiro Iwao Cc: freebsd-ports@freebsd.org References: <20190217013706.nzqj3zlhmgtusbnl@icepick.vmeta.jp> <0c964258-8f24-74a4-b592-d4132128bdf0@unfs.us> <18ef06f5-076b-9941-e951-4eb3c47570b5@unfs.us> Openpgp: preference=signencrypt Autocrypt: addr=jankyj@unfs.us; prefer-encrypt=mutual; keydata= xsFNBFyk7aQBEADHdKidCW3Ai+vyDWzcbj8sNIRm7wbK6UajIjRGowptrfHfK+0wvvUQQm11 AbcEH7tUVzaHg0zxiL/kCyL7KrmzSMrFxzuFVFNq0kSmBCrhG/kmCuYBAyABt45Ugb6sF2wT 52OFhGiR40MMU9emPrBI8UmqXbaEq66pCtPh3GzSRU1+f0YDyWSrwSI3m4dA9mVVjXnA0+qA sAPJLcgNVdf1rdyjOprwvM2Ovwr6dgAIpjmrm6LEDcjepvQWXyQDnja6v4jqGjl0UYFaDwQ6 5och1vI8W1gn1o2C6PeCKKZba0mU0PADJv4dCoQBsOek4J7cSWxqzu1rpLNcx1koYChYtbmL KFsE6Lj3qgEjvxgeOsoIoOl+j2wu8F0JwSfYTBS5psCQKiySv0BpY4JuLBg5Pf9dNES3n5n5 pqWbbtVhq5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zwa/Z6GF8C68QeVaHIVQ4NwM3w3bRc0fQVM38azV5Dt09MoFexjMGmmxcIIdh7w9kjxH0sqW qIzyr0iJ8NCqpJCdzRcoFwLFU8e6h/zmulkWKBgdUUf+cdFCyAjQXt+5N9DqYKFEUQQ1X/fM emZJ3MwcJRHlP6ShhfJw/omfBOh+c+5t96a+qImMlRsDerCpLjsHD7k4sh8b/EIRMw3fn06u 44bKcFRPgaGJuHWrXKWUN704jkJ2v6DLod6i2FJIpbJ8hMcaQs5ihXzO0Yphpfor0jWup+Jg kV+0qxs9j9FjMGGoahgLUf/zLxG7S0AubG54RpcAl6f0kXpUQ8jW8HlNaMpUIj2ftY8iuVx9 MFutZ8YIYK7M6zqqXGvoKKZBZM2ZOY7HfZ2rIjve0m2FJYShxw== Subject: Re: net/xrdp: Issue(s) with Channels/Clipboard. Message-ID: <1ed7c110-27f4-e4ff-2e5a-52eae2517e25@unfs.us> Date: Wed, 5 Jun 2019 07:56:29 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <18ef06f5-076b-9941-e951-4eb3c47570b5@unfs.us> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard X-Rspamd-Queue-Id: 12B8283F95 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unfs.us header.s=mail header.b=UhNFMME2; dkim=pass header.d=unfs.us header.s=mail header.b=Mxluxxsr; dmarc=pass (policy=none) header.from=unfs.us; spf=pass (mx1.freebsd.org: domain of jankyj@unfs.us designates 50.243.134.106 as permitted sender) smtp.mailfrom=jankyj@unfs.us X-Spamd-Result: default: False [-5.22 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[unfs.us:s=mail]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[unfs.us:+]; MX_GOOD(-0.01)[mx2.purplehat.org,stig.purplehat.org]; RCVD_IN_DNSWL_NONE(0.00)[106.134.243.50.list.dnswl.org : 127.0.10.0]; NEURAL_HAM_SHORT(-0.97)[-0.971,0]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[unfs.us,none]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-1.34)[ip: (-9.88), ipnet: 50.128.0.0/9(3.15), asn: 7922(0.11), country: US(-0.06)]; ASN(0.00)[asn:7922, ipnet:50.128.0.0/9, country:US]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jun 2019 13:56:40 -0000 I think I may have found an/the issue here. Comparing two systems (one that works and one that does not), I noticed that "/usr/local/sbin/xrdp-chansrv" was not even running on system that wasn't working. So, I manually ran it to find it was missing some libraries which I checked with "ldd": #~ ldd /usr/local/sbin/xrdp-chansrv /usr/local/sbin/xrdp-chansrv: libcommon.so.0 => /usr/local/lib/xrdp/libcommon.so.0 (0x800267000) libSM.so.6 => /usr/local/lib/libSM.so.6 (0x800280000) libICE.so.6 => /usr/local/lib/libICE.so.6 (0x80028a000) libXfixes.so.3 => /usr/local/lib/libXfixes.so.3 (0x8002a7000) libXrandr.so.2 => /usr/local/lib/libXrandr.so.2 (0x8002af000) libX11.so.6 => /usr/local/lib/libX11.so.6 (0x8002bc000) libfdk-aac.so.2 => not found (0) libopus.so.0 => /usr/local/lib/libopus.so.0 (0x8003fd000) libmp3lame.so.0 => not found (0) libthr.so.3 => /lib/libthr.so.3 (0x80046f000) libcrypto.so.111 => /lib/libcrypto.so.111 (0x80049a000) libssl.so.111 => /usr/lib/libssl.so.111 (0x800787000) libc.so.7 => /lib/libc.so.7 (0x80081c000) libXext.so.6 => /usr/local/lib/libXext.so.6 (0x800c0f000) libXrender.so.1 => /usr/local/lib/libXrender.so.1 (0x800c23000) libxcb.so.1 => /usr/local/lib/libxcb.so.1 (0x800c2f000) libm.so.5 => /lib/libm.so.5 (0x800c58000) libXau.so.6 => /usr/local/lib/libXau.so.6 (0x800c8a000) libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x800c8f000) Here, I noticed that both "libfdk-aac" and "libmp3lame" are missing which is keeping xrdp-chansrv from starting. I was able to install "fdk-aac-2.0.0" via "pkg install" without any issues but installing "audio/lame" does not appear to be an option via "pkg". Apparently, there is a licensing issue. So, this needed to be built from ports. I would imagine that these are important to people using sound (I am not) so some audio dependencies should remain. However, I'm not sure it should be "audio/lame" if there is not a package available for it. Perhaps finding an alternative or removing it as a dependency from the xrdp-devel package? Not sure. Anyhow, getting these two libs installed fixed the chansrv timeout issue for me. So, hopefully that can help troubleshoot the package install of xrdp-devel (I haven't tried the port but I'd imagine it probably works fine). Regards, Janky Jay, III On 5/8/19 4:00 PM, Janky Jay, III wrote: > Hello Koichiro, > >     Is there any update to this? I've since upgraded both systems to > FBSD 12.0-RELEASE-p3 and there have also been (I think) two (2) xrdp > port/pkg updates as well but the problem still remains the same. > Connections to chansrv work 100% of the time on one system and 0% of the > time on the other. > >     Also, can you please provide a link to the GH post/report that you > created? I'd like to take a look and follow that as well if I can. > Thanks again! > > Regards, > Janky Jay, III > > On 2019-02-17 12:23, Janky Jay, III wrote: >> Hello Meta, >> >> On 2/16/19 6:37 PM, Koichiro Iwao wrote: >>> On Fri, Feb 15, 2019 at 11:31:36AM -0700, Janky Jay, III wrote: >>>> This also causes the connection to take 16 seconds to open XFCE4 once >>>> it finally gives up on channels. I see 4 errors so I'm guessing there's >>>> a 4 second timeout between attempts. Something similar to the >>>> issue/recommendation reported at >>>> https://github.com/neutrinolabs/xrdp/issues/1288. I've tried the >>>> recommended disallowing of channels to see if it would connect faster >>>> but it does nothing. Still attempts the connections to "chansrv" and >>>> takes 16 seconds. >>> I don't think that is recommended in the upstream issue. Just he reporter >>> tried as workaround. Who recommended? As commented in the ticket, disabling >>> all channels don't stop connecting to chansrv. That's why *not to >>> connect when all channels disabled* feature is suggedted. >>> >>     I should have worded that differently. I suppose "recommended" was >> incorrect. It was just a thought to see whether or not >> disable/re-enabling might give me more insight into what was happening >> via the logs (I tried adding the DEBUG log line to sesman.ini as well >> but there was no relevant information). >> >>> I know some people have the same issue and already recoeded to upstream >>> GH issue. Hang tight. If I need to know more detail of reproduction, >>> I might ask you help. >>> >>> I also reproduce the issue but not 100%. >>> >>     Sounds good! I can reproduce 100% of the time on one system right >> now so if there is anything I can do to help, I will certainly do that. >> Thank you! >> >> Regards, >> Janky Jay, III >>