I have installed XRDP on SLES12 but the systemd does not start this service as xrdp.service service file is missing. I know that it could be started by typing:
/etc/xrdp/xrdp.sh start but I want it to be started after the reboot.
Create a systemd service file:
sles15:~ # vim /usr/lib/systemd/system/xrdp.service
and then a symlink:
sles15:~ # ln -s /usr/lib/systemd/system/xrdp.service /etc/systemd/system/xrdp.service
now turn the XRDP service on, for start at next boot.
sles15:~ # systemctl enable xrdp
sles15:~ # systemctl is-enabled xrdp
So, the XRDP will be started after the reboot 😉 And now another problem occurred, we connected to XRDP on SUSE12 and got a black screen 😛
To fix this issue you need to switch to icewm and at lest get a screen 😉 Just edit /etc/xrdp/startwm.sh and pretend the list of Session with “icewm”.
sles15:~ # vim /etc/xrdp/startwm.sh
#SESSIONS="gnome-session blackbox fluxbox startxfce4 startkde xterm"
I am a bit surprised that a package like XRDP made it into SLES in such a broken state. Well, have to wait for SP1.