Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Aug 2018 10:57:42 -0700
From:      David Newman <dnewman@networktest.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: xrdp configuration and xfce4
Message-ID:  <2a4a6b24-b0ec-a1e8-2e52-00cf1703e193@networktest.com>
In-Reply-To: <b30465dd-4a7e-a9fc-6bf1-ae41b8da3a93@yandex.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> <b30465dd-4a7e-a9fc-6bf1-ae41b8da3a93@yandex.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/8/18 9:32 AM, Oleg Cherkasov wrote:
> 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. T=
he
>>>> 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 result=
s.
>>
>> 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?
>=20
> Have you tried to make ~/.xsession file with:
>=20
> #! /bin/sh
> startxfce4

Previously the .xsession file was just 'startxfce4'.

But adding the '#! /bin/sh' line and restarting xrdp did not change the
behavior: It's still a black screen with one xterm, and no xfce4 desktop
or copy/paste support.

Of course startxfce4 will run manually from the xterm but along with
copy/paste, those are the problems I'm looking to solve.

Thanks.

dn





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2a4a6b24-b0ec-a1e8-2e52-00cf1703e193>