Re-run the above installation commands once the error is solved.
Step 4: Start XRDP Service
When you want to start xrdp service, you need to run or start two services for xrdp. Run below commands to start xrdp,
$ xrdp [This command open port 3389]
$ xrdp-sesman [This command open port 3350]
Step 5 : Stop XRDP Service
Here we don’t have init script to start,stop xrdp service but I will soon provide you same. Until that time if you want to restart the XRDP service then you need to first kill the XRDP then run the above start commands again. Follow below commands to stop xrdp service
$ ps aux | grep xrdp
$ kill -9 XRDP-PID XRDP-SESMAN-PID
$ rm -rf /var/run/xrdp.pid /var/run/xrdp-sesman.pid
OpenSuse to stop service use below commands,
$ xrdp -kill
$ xrdp-sesman -k
That’s it our installation process has been completed. Do remember one thing you need to follow these steps on both the machines. You need to install it on the client and remote systems as well.
Step 6: Take Rdesktop
Now you will be able to take GUI of other machine using below simple command. Check the screenshot for your reference.
$ rdesktop -g 90% 192.168.1.125
When you entered the above command you will get the screen like below shows in the snapshot.