On 4/5/25 4:47 PM, ToddAndMargo via users wrote:
Hi All,

Fedora 41
xrdp-0.10.2-11.fc41.x86_64

I have a customer that I set up a FC41 server with xRDP.

Problem:  Only my account can log in to xRDP.  (Everyone
works from console login and Samba.)

The other users (all of them) get this error message in
/var/log/xrdp.log

[INFO ] xrdp_wm_log_msg: User does not exist, or could not be authenticated

And no, I did not goof their passwords.

I also do not have AlwaysGroupCheck configured
     # grep -i AlwaysGroupCheck /etc/xrdp/sesman.ini
     AlwaysGroupCheck=false

Why does my account work and theirs does not?

Yours in confusion,
-T

Figured it out.  I missed doing step 5:

[5]  copy startwm.sh to the users you want xRDP addess:
    $ cp /etc/xrdp/startwm.sh $HOME/.


My xRDP how to:

Install Xrdp Server to connect to Fedora Desktop Xfce from the Windows Remote Desktop feature.

Also see:
   Installing XRDP on Fedora 25
   xrdp.install.configure.txt

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/

Note: see 6 and 7 below for sample client run strings


[1]  Install and Start Xrdp Server.
     # dnf -y install xrdp xorgxrdp xrdp-selinux

     # systemctl enable xrdp.service
     # systemctl start xrdp.service
     # systemctl enable xrdp-sesman.service
     # systemctl start xrdp-sesman.service

[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].  ignore the complaining about the `ip` line
        [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
     # exec /usr/bin/startxfce4

     chmod 755 /etc/xrdp/startwm.sh
     # systemctl restart xrdp


[5]  copy startwm.sh to the users you want xRDP addess:
    $ cp /etc/xrdp/startwm.sh $HOME/.


[6] Connect from Windows clients.
     <Win><R> mstsc.exe

     An example on Windows 11.
        --> Open Start Menu
          --> [Windows Tool]
             --> [Remote Desktop Connection]


[7] Connect from Linux clients.

     An example on Fedora 41.
     # dnf install freerdp
$ /usr/bin/xfreerdp /u:todd /title:"KVM-Fedora-Xfce-Mate" +clipboard /drive:temp,/home/temp /printer:HLL2300D,"Brother HLL2300D" /size:92%% +auto-reconnect /v:192.168.aaa.bbb:xxxx

--
_______________________________________________
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

Reply via email to