Hi All,
Fedora 41
Xfce 4.12
I am trying to set up xRDP with Xfce. When I log into
xRDP from mstsc.exe (Windows 10), I am prompted (session = Xorg)
from my user name and password. After entering it, I get a blue
screen that eventually times out with
Can't create session for user todd -X server could
not be started.
What am I doing wrong?
-T
This is the instructors I am following:
Install Xrdp Server to connect to Fedora Desktop Xfce from the Windows
Remote Desktop feature.
References:
https://www.server-world.info/en/note?os=Fedora_41&p=desktop&f=6
https://www.reddit.com/r/debian/comments/1hzuvww/how_to_switch_from_gnome_to_xfce_for_xrdp/
https://idroot.us/install-xrdp-centos-8/
[1] Install and Start Xrdp Server.
# dnf -y install xrdp
# systemctl enable --now xrdp
# systemctl start xrdp
[2] vi /etc/xrdp/xrdp.ini
Replace the port with a masked port
For example:
port=Not_3389
comment out all of [Xvnc] and [X11rdp]
uncomment all of [Xorg]
[Xorg]
name=Xorg
lib=libxup.so
username=ask
password=ask
ip=127.0.0.1
port=-1
code=20
; Frame capture interval (milliseconds)
h264_frame_interval=16
rfx_frame_interval=32
normal_frame_interval=40
# systemctl restart xrdp
[3] If Firewalld is running, allow RDP port.
# firewall-cmd --add-port=[port_you_chose]/tcp
# firewall-cmd --runtime-to-permanent
# firewall-cmd --reload
[4] vi /etc/xrdp/startwm.sh
# test -x /etc/X11/Xsession && exec /etc/X11/Xsession
# exec /bin/sh /etc/X11/Xsession
exec /usr/bin/xfce4-session
chmod 755 /etc/xrdp/startwm.sh
# systemctl restart xrdp
[5] Connect from Windows clients.
<Win><R> mstsc.exe
An example on Windows 11.
--> Open Start Menu
--> [Windows Tool]
--> [Remote Desktop Connection]
--
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue