xRDP with Xfce
ToddAndMargo
ToddAndMargo at zoho.com
Fri Apr 4 05:44:11 CEST 2025
On 4/1/25 9:51 PM, Enrico Tröger wrote:
> Hi,
>
>> Fedora 41
>> Xfce 4.18
>> xrdp-0.10.2-11.fc41.x86_64
>> tigervnc-server-1.15.0-2.fc41.x86_64
>>
>> Anyone know how to configure xRDP to work with Xfce?
>>
>> I get the VNC login and then I get dumped out after
>
> Why do you use VNC and xrdp at the same time?
>
> I'm using xrdp on Debian with Xfce and Remmina as client
> and this works fine. I don't think I have configured anything
> explicitly to get it running.
>
>
>> $ cat /etc/xrdp/startwm.sh
>> # test -x /etc/X11/Xsession && exec /etc/X11/Xsession
>> # exec /bin/sh /etc/X11/Xsession
>> exec /usr/bin/xfce4-session
>
> My startwm.sh looks like this one:
> https://salsa.debian.org/debian-remote-team/xrdp/-/blob/master/debian/startwm.sh
>
> xrdp can be configured to be quite verbose in its logfile/syslog, maybe
> you could try enable more verbose log levels and then check the logs.
>
> Regards,
> Enrico
Figured it out:
missing from my directions was "xorgxrdp":
# dnf -y install xrdp xorgxrdp
and
# systemctl enable xrdp.service
# systemctl start xrdp.service
# systemctl enable xrdp-sesman.service
# systemctl start xrdp-sesman.service
Also, from your link (the exec `/bin/sh`):
# cat /etc/xrdp/startwm.sh
# test -x /etc/X11/Xsession && exec /etc/X11/Xsession
# exec /bin/sh /etc/X11/Xsession
# exec /usr/bin/xfce4-session
exec /bin/sh /usr/bin/startxfce4
# exec /bin/sh /etc/X11/Xsession
Thank you for the help!
More information about the Xfce
mailing list