19日 8月 2021
This article will describe installing KDE desktop environment and XRDP, and connecting to KDE desktop environment via XRDP.
Table of Contents
1 Install KDE desktop environment
Install KDE desktop environment with this.
2 Install XRDP
#!/bin/sh -esudo apt install -y xrdpsudo sed -e ‘s/^new_cursors=true/new_cursors=false/g’ -i /etc/xrdp/xrdp.inisudo systemctl enable xrdpsudo systemctl restart xrdpecho “startplasma-x11” > ~/.xsessionD=/usr/share/plasma:/usr/local/share:/usr/share:/var/lib/snapd/desktopC=/etc/xdg/xdg-plasma:/etc/xdgC=${C}:/usr/share/kubuntu-default-settings/kf5-settingscat <<EOF > ~/.xsessionrcexport XDG_SESSION_DESKTOP=KDEexport XDG_DATA_DIRS=${D}export XDG_CONFIG_DIRS=${C}EOFcat <<EOF | sudo tee /etc/polkit-1/localauthority/50-local.d/xrdp-NetworkManager.pkla[xrdp-Netowrkmanager]Identity=unix-group:sudoAction=org.freedesktop.NetworkManager.network-controlResultAny=noResultInactive=yesResultActive=yesEOFcat <<EOF | sudo tee /etc/polkit-1/localauthority/50-local.d/xrdp-packagekit.pkla[xrdp-packagekit]Identity=unix-group:sudoAction=org.freedesktop.packagekit.system-sources-refreshResultAny=noResultInactive=yesResultActive=yesEOFsudo systemctl restart polkit
3 Connect to KDE desktop environment via XRDP
Use Xorg as a session type. Windows Remote Desktop Connection is as the following.
]]> tagPlaceholderカテゴリ: xrdp, kde, en, ubuntu-2004