How did I connect to CentOS 7.6 KDE desktop from Windows 7 via xrdp?

Step 1

yum update
yum groupinstall -y 'KDE' 'X Windows System'
yum groupinstall -y 'Development Tools'
systemctl set-default graphical.target
yum update
yum install finger cmake patch gcc make autoconf libtool automake pkgconfig openssl-devel gettext file pam-devel libX11-devel libXfixes-devel libjpeg-devel flex bison gcc-c++ libxslt perl-libxml-perl xorg-x11-font-utils xmlto-tex git libXrandr-devel nasm xorg-x11-server-devel xorg-x11-server-Xorg
yum install fuse-devel lame-devel libXfont-devel libXfont2-devel

Step 2

apt-get install git autoconf libtool pkg-config gcc g++ make  libssl-dev libpam0g-dev libjpeg-dev libx11-dev libxfixes-dev libxrandr-dev  flex bison libxml2-dev intltool xsltproc xutils-dev python-libxml2 g++ xutils libfuse-dev libmp3lame-dev nasm libpixman-1-dev xserver-xorg-dev
BD=`pwd`
mkdir -p "${BD}"/git/neutrinolabs
cd "${BD}"/git/neutrinolabs
wget https://github.com/neutrinolabs/xrdp/releases/download/v0.9.10/xrdp-0.9.10.tar.gz
tar xvfz xrdp-0.9.10.tar.gz
cd "${BD}"/git/neutrinolabs/xrdp-0.9.10
./bootstrap
./configure --enable-fuse --enable-mp3lame --enable-pixman
make
make install
cd "${BD}"/git/neutrinolabs
wget https://github.com/neutrinolabs/xorgxrdp/releases/download/v0.2.9/xorgxrdp-0.2.9.tar.gz
tar xvfz xorgxrdp-0.2.9.tar.gz
cd "${BD}"/git/neutrinolabs/xorgxrdp-0.2.9
./bootstrap
./configure XRDP_CFLAGS=-I~/git/neutrino/xrdp/common XRDP_LIBS=" "
make
make install

Step 3

systemctl enable xrdp
systemctl enable xrdp-sesman
systemctl start xrdp-sesman
systemctl start xrdp

Step 4

firewall-cmd --permanent --add-port=3389/tcp
firewall-cmd --permanent --add-port=3389/udp
firewall-cmd --reload

github.com/neutrinolabs/xrdp/wiki/Building-on-Centos-7.3-Minimal-install-with-KDE