From owner-freebsd-ports@freebsd.org Fri Feb 15 18:31:41 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 E25EB14E45EB for ; Fri, 15 Feb 2019 18:31: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 00EA8769CD; Fri, 15 Feb 2019 18:31:39 +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 4CA2A777DF; Fri, 15 Feb 2019 11:31:38 -0700 (MST) DKIM-Filter: OpenDKIM Filter v2.10.3 stig.purplehat.org 4CA2A777DF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unfs.us; s=mail; t=1550255498; bh=jeEbfWnB3O3XRM1QdNeFt5Rc598AF5q/nJHzb6Dy1n4=; h=From:Subject:To:Date:From; b=KB39AYLaKyDnGt1GatTh9O/Bvy3ArGg96Vfs8kfsZWmV9R4c7hVSj9HklBaOEodp/ DpE4fKgvWjx8+KzoVLA3Wb8g3nEAf7clyxCY42Uqt0OZzkH6NY3Uff3WJ8JGx/5BbW YYPzKmPEhkqMbVAXh+KJr0gXYkZ63yZtbGmqDNMo= Received: from stig.purplehat.org ([50.243.134.106]) by localhost (stig.purplehat.org [50.243.134.106]) (maiad, port 10024) with ESMTP id 90189-06; Fri, 15 Feb 2019 11:31:37 -0700 (MST) 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 4DFAA777DB; Fri, 15 Feb 2019 11:31:37 -0700 (MST) DKIM-Filter: OpenDKIM Filter v2.10.3 stig.purplehat.org 4DFAA777DB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unfs.us; s=mail; t=1550255497; bh=jeEbfWnB3O3XRM1QdNeFt5Rc598AF5q/nJHzb6Dy1n4=; h=From:Subject:To:Date:From; b=ozoVPehyhGW9Swqt487HWHHKMxsK7vYdJ8ZJ/VGdX9/vObWBNsL6knwrZnSOC8wcm eroRgqZGFp1OZ3I16iUjt9eyeybcHlh2jzeVS4Xt5wSC1YrpICQzBSQRPyoyz4M0U6 EFM1Qv8JDPZNAVl8qEYC19ntLZKuir9L8u4fW0oQ= From: "Janky Jay, III" Subject: net/xrdp: Issue(s) with Channels/Clipboard. To: meta@FreeBSD.org, freebsd-ports@freebsd.org Openpgp: preference=signencrypt Autocrypt: addr=jankyj@unfs.us; prefer-encrypt=mutual; keydata= xsDiBEcuxicRBADQumS0LVqiUzy+FSHHfzMmIVD7J9p+5DxYWOHWxDAOfIfCKxd032v/T6f6 CGt7szJ54QtZUPcXe9JLcm4wtu1bGrZ/bWRiExOKeREKREJ7Tw3CasFFSg2/QUUNpkovipP6 MA7yHzDWF1Vph0gSRxuoM3zHd8mUKyG0GL2DdWfClwCghPBFz8cO/UzNTwhQCdQ2YKbA3ssD /3HFuy9fKT9VnAgMnDW6Uc1WVq6OHN+7qZYcwyV9d4C+53f+bErBO90EIuOopnaIPd8yPNoB IIyVohVOVKkSrXvOfIH4rImbu+k4HRdPXA+X4ga2Bq/izl6d6gCt+Rgb7viQdaEJp5WIwHJU GE1/2mhsd0hKYN0t1CgxgR8lV4q8BACbOyQiQptqnXUdFwxCBAKMhJb/YJ8Zwl5uyg0KGFYX Owteg+X2pv44iC+eAX36JFa2U9IjQgnxPc9yN4WSSW/d7l0P/NWbVVZFEYIOLcmp8LwZgbzy WXDzIDBHBZg8Cl0u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:31:36 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Pjimh4grCba3BjyfNkW1QPVLtRO6rwNt2" X-Virus-Scanned: Maia Mailguard X-Rspamd-Queue-Id: 00EA8769CD X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=unfs.us header.s=mail header.b=KB39AYLa; dkim=pass header.d=unfs.us header.s=mail header.b=ozoVPehy; 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 [-7.85 / 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)[]; R_SPF_ALLOW(-0.20)[+a]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_ATTACHMENT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[unfs.us:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[106.134.243.50.list.dnswl.org : 127.0.10.0]; MX_GOOD(-0.01)[mx2.purplehat.org,stig.purplehat.org]; DMARC_POLICY_ALLOW(-0.50)[unfs.us,none]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_SHORT(-0.97)[-0.974,0]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+]; IP_SCORE(-1.87)[ip: (-9.86), ipnet: 50.128.0.0/9(1.10), asn: 7922(-0.50), country: US(-0.07)]; 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: Fri, 15 Feb 2019 18:31:41 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Pjimh4grCba3BjyfNkW1QPVLtRO6rwNt2 Content-Type: multipart/mixed; boundary="WpiMZIvEHJnvgVFcsrcKDn71o8GsuOps6"; protected-headers="v1" From: "Janky Jay, III" To: meta@FreeBSD.org, freebsd-ports@freebsd.org Message-ID: Subject: net/xrdp: Issue(s) with Channels/Clipboard. --WpiMZIvEHJnvgVFcsrcKDn71o8GsuOps6 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi All, So, I noticed this quite a while back but it didn't bother me too much. However, my curiosity has gotten the best of me and now I want to find out what's going on. I'm running net/xrdp (version 0.9.9,1 installed via pkg) on two different, headless FBSD 11.2-Rp9 systems and they're behaving differently with 100% identical configurations. On both, the xrdp and sesman services start without any errors at all. However, on one of the systems upon authentication during login, I get the below errors in the xrdp.log file: [DEBUG] xrdp_wm_log_msg: connected ok [ERROR] xrdp_mm_connect_chansrv: connect failed trying again... [DEBUG] Closed socket 20 (AF_UNIX) [ERROR] xrdp_mm_connect_chansrv: connect failed trying again... [DEBUG] Closed socket 20 (AF_UNIX) [ERROR] xrdp_mm_connect_chansrv: connect failed trying again... [DEBUG] Closed socket 20 (AF_UNIX) [ERROR] xrdp_mm_connect_chansrv: connect failed trying again... [ERROR] xrdp_mm_connect_chansrv: error in trans_connect chan This is very similar to the issue reported at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231210 but the issue was closed with "works as expected". Apparently, that's not the case on all systems? 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. What is even more strange is that for about 3-4 months or so, this system began connecting to channels like normal and and worked liked the other. Then, suddenly, stopped connecting one day (I'm not sure when it stopped but it would've been in the last 2 months or so?). On the system that works without any issues, I see the "chansrv" connection successful after authentication and login is immediate: [DEBUG] xrdp_wm_log_msg: connected ok [DEBUG] xrdp_mm_connect_chansrv: chansrv connect successful All software is up-to-date on both systems and, as mentioned before, configuration files are absolutely identical. So, I'm curious as to why one is able to connect to channels while the other is not? If anyone has any ideas or wants additional info/logs/etc... I'm all ears and will be more than happy to provide any additional details. Regards, Janky Jay, III --WpiMZIvEHJnvgVFcsrcKDn71o8GsuOps6-- --Pjimh4grCba3BjyfNkW1QPVLtRO6rwNt2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQT3labtx1DPvRcqv5cYrcyxRslmfgUCXGcFiAAKCRAYrcyxRslm fm1tAJwN7JPRHB6vpVhXI1y+bj5e37vebwCfU0SmmCYCToO3WubH4CiBuV/6Ros= =jlbZ -----END PGP SIGNATURE----- --Pjimh4grCba3BjyfNkW1QPVLtRO6rwNt2--