Help with Configuring XRDP to use KDE instead of Gnome for desktop Fedora 37 (Wayland)
I'm able to connect to the session from Windows 10 using terminal server but when I connect via xrdp it's coming up with Gnome instead of KDE. Original post I followed.
However, whenever I connect via xrdp it always brings up Gnome instead of KDE. Initially I installed kde via the link above via Code:
sudo dnf install @kde-desktop-environment Code:
sudo dnf install @kde-desktop After that I also ran these commands from that thread. $ sudo systemctl set-default graphical.target $ sudo systemctl disable gdm $ sudo syste$ sudo systemctl disable gdm Now when I boot up I'm greeted with a KDE like splash screen (I think) and I'm able to see what's called Gnome-Plasma or X11-Plasma in the available desktop sessions among others (Gnome-Wayland). What's odd is when I used to always setup my Linux xrdp sessions with an xfce lightweight desktop environment I would always default to the xfce via remote desktop which I like since it ran faster. I'm wondering if I should just install xfce also to see if that allows me to connect to KDE via XRDP session. Gnome is not ideal since it's not fast via RDP and I think KDE would work better. Also, initially I could not connect to my GUI on the laptop and then connect and bring up a RDP (xsession) again on my desktop. I tried to follow a few other post by adding xClient session via Code:
echo startkde >~xsession xrdp]$ ls reconnectwm.sh startwm-bash.sh startwm.sh I believe I might be able to modify . etc/X11/Xsession to start the KDE desktop via startkde instated of "Xsession".?? EG> Code:
#start the window manager |
This link might help: https://askubuntu.com/questions/1237...-connect-issue
Has some extra steps yo did not list and it has the full path to startkde in the .xession. |
Quote:
I'm currently trying to set the desktop environment by running this command. Code:
sudo update-alternatives –config x-session-manager Code:
sudo update-alternatives –config x-session-manager echo "/usr/bin/startplasma-x11" > ~/.xsession I think I'll give this command a try now. I confirmed that session exist. cd /usr/bin [styles@asus bin]$ sta startplasma-wayland startplasma-x11 start-statd startx startxfce4 stat |
Thanks for the feedback @uteck! I managed to get this working today. This is what else I did.
Ran this> Code:
echo "/usr/bin/startplasma-x11" > ~/.xsession So, I removed this file. Next, I created this instead. Code:
echo "startplasma-x11" > ~/.Xclients Code:
chmod a+x ~/.Xclients I can also easily switch to startxfce4 by changing from startplasma-x11 to startxfce4 in the.Xclients file. I'll probably stick with XFCE since it's even better/quicker than KDE. Gnome was not good for RDP. That's one issue down. Now I believe I need to create a separate user or allow concurrent logons because if I'm logged into Gnome Desktop on my Laptop and KDE on my RDP session with the same user account it causes issues. Like if I logout of one or the other it will usually reset the other system back to logon splash screen. Either that or through up a system error. I don't remember having issues with this before but a new user account or some sort of tweak to startwm.sh should resolve that. So, moving further along with this Fedora 37 and really liking it! Aside from a very difficult issue disabling the touchscreen which I need to get back to. |
Quote:
|
Quote:
It's always nice to know of a few ways to go about fixing things in Linux. Usually you can find multiple solutions to an issue. This was an interesting one but I'm really happy to be able to use XFCE and/or Plasma/KDE on XRDP now. Big difference and I think I prefer both over Gnome for logging in directly. Gnome is not that intuitive when it comes to displaying what programs you have installed in a nice organized manner like KDE and XFCE do. Other than than Gnome seems pretty good and can be tweaked to allow better program access. |
All times are GMT -5. The time now is 12:26 PM. |