Talk:Xrdp

From ArchWiki
Latest comment: 8 February by Oloco in topic Don't forget to configure PAM

dbus-run-session vs dbus-launch

Does anyone know the difference between dbus-run-session and dbus-launch? I'm 90% the first should be used in the "Black screen with a desktop environment" section, but can anyone confirm this? Ta180m (talk) 02:27, 26 July 2021 (UTC)Reply[reply]

Many sources online are suggesting different things: https://www.linuxquestions.org/questions/slackware-14/kde-plasma-notifications-from-cron-4175692441/#post6233148 https://wiki.gentoo.org/wiki/KDE#No_display_manager For KDE Plasma, I found that /usr/lib64/plasma-dbus-run-session-if-needed startplasma-x11 seems to give the best results. Ta180m (talk) 20:09, 2 September 2021 (UTC)Reply[reply]

Nice config script

Found this: https://gist.github.com/GregaVrbancic/71f8e9891f4f70032a9e5882a88839ce Might be useful for you too. Tharbad (talk) 09:44, 12 January 2022 (UTC)Reply[reply]

Xorg parameters in sesman.ini

This guide doesn't cover everything to get xorgxrdp working if you aren't using the root user to login, which seems smarter.

Some discussions I've seen reference making a file Xwrapper.config in /etc/X11 and putting in "allowed_users=anybody". My understanding is that this method is insecure.

In /etc/xrdp/sesman.ini I changed the "param=Xorg" to "param=/usr/lib/Xorg" and "param=xorg.conf" to "param=/etc/X11/xrdp/xorg.conf" in order to get a non-root session.

Don't forget to configure PAM

as read an tested in arch-xrdp-config.sh (github.com)

Adapt the xrdp pam config:

/etc/pam.d/xrdp-sesman

auth include system-remote-login

account include system-remote-login

password include system-remote-login

session include system-remote-login Oloco (talk) 16:04, 8 February 2024 (UTC)Reply[reply]