Unable to RDP as Root

Continuing the discussion from VM hangs and does not complete boot:

@eliassal RDP failed on both VM or just one of them? Are your second VM using KDE since you have kdm installed? If yes your second VM using KDE, can you login with Xog session instead of wayland session (selector on the bottom right on the desktop login screen)?

Update:

It’s doesn’t matter. I heard we could use wayland to rdp.

I resspponded as after switching to xfce4 desktop i was able to RDP with root. But still not able to RDP to a new fresh f35 VN or test purposes. Here is the link for the thread

What is wayland? I use either mstsc or MobaTerm which works fine with the other 2 fedora VMs for which I configured xrdp + vnctiger long time ago

Can you rdp with regular user?

  • If yes then you need to configure file /etc/xrdp/sesman.ini. Find part [Security] then set AllowRootLogin=true.
  • If no, then check /etc/xrdp/sesman.ini find part [Globals] then find ListenPort=<port number>. Take note the port number and follow the guide number 2 here on allowing RDP port number.

Wayland is the default window manager in Fedora nowdays. It replaces xorg (X11), but since it is new it still has some issues. During login you can select to use wayland or xorg. On the screen where you enter your password at the bottom right is a gear that allows the selection.

1 Like

When you’re running gnome, in a terminal can you do
echo $XDG_SESSION_TYPE

To see if you’re running Wayland.

As far as I know you can’t run a gnome Wayland session as root locally, I would think the same applies to rdp but I’m not 100% sure.

HI, sorry for late response as I was not in office yesterday here is the output

[salam@salamlinux ~]$ echo $XDG_SESSION_TYPE
x11

Anyway, I rebooted the VM and I was able to RDP after I added
[Xvnc]$ section in xrdp.ini
and creating ~.xsession inside it I have put

xfce4-session

1 Like