From owner-freebsd-questions@freebsd.org Wed Aug 8 16:32:43 2018 Return-Path: Delivered-To: freebsd-questions@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 0D4B61061577 for ; Wed, 8 Aug 2018 16:32:43 +0000 (UTC) (envelope-from o1e9.cherkasov@yandex.com) Received: from forward103o.mail.yandex.net (forward103o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::606]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8DAE584EB9 for ; Wed, 8 Aug 2018 16:32:42 +0000 (UTC) (envelope-from o1e9.cherkasov@yandex.com) Received: from mxback17j.mail.yandex.net (mxback17j.mail.yandex.net [IPv6:2a02:6b8:0:1619::93]) by forward103o.mail.yandex.net (Yandex) with ESMTP id C1A36588190E for ; Wed, 8 Aug 2018 19:32:39 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback17j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Apclaeev0z-WdYOZW8E; Wed, 08 Aug 2018 19:32:39 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1533745959; bh=uh4PwJAWgqRq8xuykzzaADo7EGZf/SMygmtRQ7/lXXc=; h=Reply-To:Subject:To:References:From:Message-ID:Date:In-Reply-To; b=wigS+uJqPk1f0mzyDw2aNMV60QJW5R4uz+MITluWTKw2QS87ngbJtlDFPmFHJgS7t hot/p6939x+E97karrwRa8vS38YDMbpoCdgUnknQuZPDBtU5sjQmRAtoNbXcFY0Aor XAt4bFdQ+6GMURK9Z/2czKUk8sQ0jkCe+RU7MsZo= Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Yafz4ox6Cr-WcmiiJtW; Wed, 08 Aug 2018 19:32:38 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1533745959; bh=uh4PwJAWgqRq8xuykzzaADo7EGZf/SMygmtRQ7/lXXc=; h=Reply-To:Subject:To:References:From:Message-ID:Date:In-Reply-To; b=wigS+uJqPk1f0mzyDw2aNMV60QJW5R4uz+MITluWTKw2QS87ngbJtlDFPmFHJgS7t hot/p6939x+E97karrwRa8vS38YDMbpoCdgUnknQuZPDBtU5sjQmRAtoNbXcFY0Aor XAt4bFdQ+6GMURK9Z/2czKUk8sQ0jkCe+RU7MsZo= Authentication-Results: smtp4j.mail.yandex.net; dkim=pass header.i=@yandex.com Reply-To: o1e9@member.fsf.org Subject: Re: xrdp configuration and xfce4 To: freebsd-questions@freebsd.org References: <7d12e2d7-e8e6-53d0-3c62-d3ca8868f9be@networktest.com> <20180808013151.sia5lgegjcxu2pr3@icepick.vmeta.jp> <3d2a1aa3-94de-e4e7-bb1d-a54ff7a92f94@networktest.com> From: Oleg Cherkasov Message-ID: Date: Wed, 8 Aug 2018 18:32:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <3d2a1aa3-94de-e4e7-bb1d-a54ff7a92f94@networktest.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2018 16:32:43 -0000 On 08. aug. 2018 04:10, David Newman wrote: > On 8/7/18 6:31 PM, Koichiro Iwao wrote: >> On Tue, Aug 07, 2018 at 06:24:15PM -0700, David Newman wrote: >>> Not sure what changes I would make in startxm.sh to automate this. The >>> existing script has file locations for X on Linux distros. >> >> Really? >> >> ``` >> #!/bin/sh >> startxfce4 >> ``` >> >> That's all. > > Sorry, no go. > > A startwm.sh script with just these two lines produces a black screen > with one xterm and doesn't start xfce, let alone deal with the > copy/paste problem. > > Also tried with '/usr/local/bin/xfce4-session' but got the same results. > > Either of these is exactly the same outcome as using the default > startxm.sh script supplied with xrdp from the pkg repo. > > I am restarting the xrdp service and exiting the xterm after each attempt. > > If you have this working successfully with a similar environment -- > Microsoft RDP client on a Mac connecting to xrdp 0.9.x on FreeBSD 11.2 > -- are you able to share your xrdp.ini and startwm.sh files? Have you tried to make ~/.xsession file with: #! /bin/sh startxfce4