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
. But then I saw
this another post and it suggested installing kde via this way
Code:
sudo dnf install @kde-desktop
. I believe both these commands give similar results. The first one with @kde-desktop-environment installs a little over 400 packages where as the one I most recently installed @kde-desktop installed about 375 packages. Also, I removed kde-desktop-environment before installing @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
. I was also thinking I might be able to force the kde session by modifying startwm.sh in this directory>
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
wm_start()
{
if [ -r /etc/default/locale ]; then
. /etc/default/locale
export LANG LANGUAGE
fi
# debian
if [ -r /etc/X11/Xsession ]; then
pre_start
. /etc/X11/Xsession
post_start
exit 0
I've tried quite a few things and nothing has allowed me to connect to KDE (Plasma) via XRDP. Appreciate any insight. I've managed to connect to KDE/Plasma directly from my laptop and then start a remote session to Gnome. This is not ideal and I'm thinking of trying xfce next.