From nobody Thu Aug 22 03:17:27 2024 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wq7g40QvWz5TR7F for ; Thu, 22 Aug 2024 03:17:36 +0000 (UTC) (envelope-from meta@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wq7g357sfz4fmn; Thu, 22 Aug 2024 03:17:35 +0000 (UTC) (envelope-from meta@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724296655; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=09mmmn16f9cbtbbbrXlExyybcZRVq7RY3iUJJDpwAHM=; b=uInE7raYwB/akt19i0TasUh8DsASgiJkUyg01T7k5C7T2A95L1kniyB3ybmhaWWGAxz3+H 9UhX9EVedID0VVmESQ4hMTkt9GzG16zD36E8S36Q/o1IAmZ4IY/FL5HTbTckvduuLVrqnb Vvyj6gGC4mZpj5JGgLoCjJZIeHktaw4Odses+2GNBrIxkdNwz9kB0ld+1wfLBCbGD1sOZg rIt9sB2lFMCkex+1hpzhmXPFIBecvJSqQKvEtOA2hqUMJz1ESa1L91MN0u14N9aFGdPqCb 80+C4gbBWkr28kyPZL+Dank4iBkd0UqwVyhSjXCXEQINPCczOI1bvcKUl2kl1w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724296655; a=rsa-sha256; cv=none; b=e2033PuFmJUZkOrvLfB+KJLfnpWceh1XUsrZRj4N/IjKmTK6C9ZnJ0AirG3igLX7X3PTDX o8Xrnxy2/prk8mXw4FKL7PbEu/9+Yr/X4Vcm02HJD6jvvq9lPMeswfR4o5H1FOE4BTJ3Xx OBzW6CshPx0NwyMBIYUuRARCO36okEsXFuEmMG3nKBQOHK+kJqV6I7BvBFjNFmmHFbKRUJ Xof46AM4B7cR29qjE30xYceyQDGKwyVJe11yy6LQUP27yLTCAjDrHPhbqPwJ6XIaXFm5Vp qvYRhkyqWRWdY2z4DgwMCP565RJ7epY0L3vKYCjMM+wQcPDAJ2tf6Q2S/V2D5g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724296655; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=09mmmn16f9cbtbbbrXlExyybcZRVq7RY3iUJJDpwAHM=; b=jnpVRddQM8u0yWj2McCxlDxFYtDULP9iUhanyg6mx4l9An+YQEiaCtV5ANMNs5pO+a0Opv 9sy3syyXDz9GFxB/L1gTg4W/70mZD/GVMhyKM/gq6Ydhyz5uiNvEav0gL5Zgc34J7rR+We BkYgPEouoYlV3IxgLVXhacDAjrNCYkjd1L6IirVpmtGPveiZSa/YMF3+rXtKTz7E4Z5eVU QEVTy0afGj/mXvexLhidRhshV5k2FHSCRI3PcgbxXqJ9c/ljqLjwQHPxkFQKYnzpfcLDIO Fn0IoWE+m+dJ6gEN9FM0BYyleyVOCP9wv1p4x8JW6scP7S/WvFsrvgj6J6Z7Gg== Received: from [IPV6:2403:bd80:c100:401:55e:6ed3:68e6:ee14] (unknown [IPv6:2403:bd80:c100:401:55e:6ed3:68e6:ee14]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: meta/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Wq7g2506Nz13kl; Thu, 22 Aug 2024 03:17:34 +0000 (UTC) (envelope-from meta@FreeBSD.org) Message-ID: <7d928288-5dea-48d7-8d8d-811246d6573f@FreeBSD.org> Date: Thu, 22 Aug 2024 12:17:27 +0900 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: FreeBSD Port: xrdp-0.10.1,1 To: Hiroshi Nishida Cc: ports@FreeBSD.org References: <9f826934-ec67-4b87-a9f9-1e1243e6181a@asusa.net> From: Koichiro Iwao Content-Language: en-US Autocrypt: addr=meta@FreeBSD.org; keydata= xsFNBFlIyz8BEADgClot1kNGKq9+Xe2lUrYGoCrfFINU040grerWZtXHH7kWK2CoIubx+mTe /IgI7q2MvwujP7bSW5pp7zk0UvbNl64IWQIGTzLyTL2Mc9nFnsCA/tgzI+XqnNAEnbOl6DST sDDlqLRtXkdOiC+om1NiGCiTJ/QsWtCuIm59YgUacAYIQxnOH0A5vl148JxRJ7mcats9eZJl gGpvCRrPCOGFnsfZw/V6zhbW+uC9Ezf6KoQDHn0HwivqsIN6zZoo2tiZV9m9qv25i/vsQZmz W9IifSZaJT2xWb6k1g6FLFQMkfl1GiGVXzSAsva/gnQctnE5neBWIBMx9uEeHK8N4woNZxd6 boLgwH669NeLVpqQZotYdw31uAQ2gsF+yvRsLVa7t/BS0hKkUQbGMOy3JPM3SaRhd77KbCPe toI5S+cluJEhNYZ6QvYD7+O/Cth9SLZVrUEvZj9jaKWkFKB5uTV4FJ9AaXqgLWm4xANWz3d4 UGbdabTHFT5eitzb7Ua6zSrtRfpJdLUjlmi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lmCHO5fvYo4WutvUmvJ1CSipvE4Cb2SPNjBe59MBEC lz+/sFANn9L+OPAYvit2xrxOEWcg7txyAgtR1eWwf0u2YGYjQ+CTcoyJC/SmpNTZE2jyW2vV fFen/gc0KWLhFl8PRGYK5TTILlw40Nx3QE8z2fG1gB27YFvqKpLgvPpdhKZ1zIUYzK3pN2Za 6CSW64wxTGd7GlgLtp3CuNodSsvhWysAGKSt1J9jwaLKOUGfPqr2J+6TGb8mh0FiawGb41M0 cWd7NlTFY5ztEC9tpZzwL+aNDErKb8CbQ7JoqGAPCfRw1hw+Cku25PiCBufaRqLglxqWFF/g PtmdQTw6FqOQZ64rO6Eg8tcehEBOTNVrmsU= In-Reply-To: <9f826934-ec67-4b87-a9f9-1e1243e6181a@asusa.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, First of all, thank you for resolving user's issue in the community. To be accurate, xrdp/xorg.conf is not a part of net/xrdp but x11-drivers/xorgxrdp. The changeset you suggested is only needed if users made local modifications to xrdp/xorg.conf because upstream and FreeBSD package already have such configurations. $ wget https://github.com/neutrinolabs/xorgxrdp/releases/download/v0.10.2/xorgxrdp-0.10.2.tar.gz $ tar zxf xorgxrdp-0.10.2.tar.gz $ grep GPU xorgxrdp-0.10.2/xrdpdev/xorg.conf Option "AutoAddGPU" "off" GPUDevice "" # pkg fetch xorgxrdp -o /tmp # cd /tmp/All # tar xf xorgxrdp-0.10.2_1.pkg # grep GPU etc/X11/xrdp/xorg.conf Option "AutoAddGPU" "off" GPUDevice "" xorgxrdp v0.9.20 doesn't have such configurations however upgrading from v0.9 to v0.10 wil automatically replace the new configuration file that includes the two lines you added and works fine unless there are local modifications to the config. There are very few cases where a user would need to edit xrdp/xorg.conf, few users will encounter the issue. I don't take users' issues lightly but the first thing users should try when something's going wrong is to try the factory default configuration. I would rather recommend the following steps. Then they can be aware of local modifications that they made. # pkg remove xorgxrdp # mv /etc/X11/xrdp/xorg.conf /etc/X11/xrdp/xorg.conf.bak # pkg install xorgxrdp On 2024/08/22 8:19, Hiroshi Nishida wrote: > To whom it may concern: > > As I (ScopeDog) posted to > https://forums.freebsd.org/threads/xrdp-does-not-show-the-gnome-gui.92174/#post-667635, remote desktop works with root but not with a non-root user. > > The solution is also described there but would you please apply the > following patch to /etc/X11/xrdp/xorg.conf? > > |@@ -12,6 +12,7 @@ Option "DefaultServerLayout" "X11 Server" Option > "DontVTSwitch" "on" Option "AutoAddDevices" "off" + Option "AutoAddGPU" > "off" EndSection Section "Module" @@ -57,6 +58,7 @@ Section "Screen" > Identifier "Screen (xrdpdev)" Device "Video Card (xrdpdev)" + GPUDevice > "" Monitor "Monitor" DefaultDepth 24 SubSection "Display"| > > > Thank you very much. > > -- > Hiroshi Nishida, PhD > ASUSA Corporation > nishida@asusa.net > -- meta