I found the workaround for this.
The steps are below.
1. #zypper in xrdp
2. #openssl req -x509 -newkey rsa:4096 -keyout key.pem -sha256 -nodes -out cert.pem -days 365 -subj "/CN=$(hostname)"
3. #zypper in gnome-basic
4. #systemctl enable xrdp
5. #systemctl start xrdp