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
nish...@asusa.net
--
meta <m...@freebsd.org>