{{tag>howto suse sles opensuse leap rdp xrdp kde}}
====== SLES xrdp/RDP howto ======
* https://www.opensuse-forum.de/thread/65158-von-windows-10-per-rdp-auf-opensuse-leap-15-2/
* https://askubuntu.com/questions/1237288/20-04-xrdp-kde-plasma-connect-issue
* https://www.dirk-hagedorn.de/?p=2060
* https://askubuntu.com/questions/1283452/how-to-get-the-default-desktop-environment-while-using-rdp
* https://en.opensuse.org/SDB:KDE_install
* https://www.opensuse-forum.de/thread/63903-probleme-mit-xrdp-bei-opensuse-leap-15-2/
* https://www.opensuse-forum.de/thread/64836-aufl%C3%B6sung-%C3%A4ndern-vnc/?postID=291095&highlight=xrdp#post291095
* https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/thread/6IF6Z67FGZN5267YRI42WYRUNUAPUIH4/
* https://build.opensuse.org/package/show/home:jacraig:xrdp/pipewire-module-xrdp
* https://www.cyberciti.biz/faq/set-up-a-firewall-using-firewalld-on-opensuse-linux/
* https://software.opensuse.org//download.html?project=multimedia%3Aproaudio&package=pipecontrol
* https://en.opensuse.org/openSUSE:Pipewire
zypper ref && zypper dup && zypper in -t pattern kde kde_plasma
systemctl set-default graphical.target
zypper ref && zypper dup && zypper in xrdp xorgxrdp
sed -i "s/ SESSION=\"gnome\"/ SESSION=\"plasma\"/g" /etc/xrdp/startwm.sh
update-alternatives --config default-xsession.desktop
There are 2 choices for the alternative default-xsession.desktop (providing /usr/share/xsessions/default.desktop).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/share/xsessions/plasma5.desktop 25 auto mode
1 /usr/share/xsessions/icewm-session.desktop 15 manual mode
* 2 /usr/share/xsessions/plasma5.desktop 25 manual mode
Press to keep the current choice[*], or type selection number:
2
install -vbD --owner=root --group=root --mode=0644 -T <(cat << 'EOF'
## Supported server options to pass to vncserver upon invocation can be listed
## in this file. See the following manpages for more: vncserver(1) Xvnc(1).
## Several common ones are shown below. Uncomment and modify to your liking.
##
securitytypes=vncauth,tlsvnc
# desktop=sandbox
geometry=1920x1080
# localhost
alwaysshared
EOF
) /etc/vnc/config
systemctl enable --now xrdp
firewall-cmd --get-default-zone
public
firewall-cmd --zone=public --add-service=rdp --permanent
success
firewall-cmd --list-services --permanent
sdhcpv6-client rdp ssh
firewall-cmd --reload
success
----
~~DISCUSSION~~