Install the xrdp package to the Raspberry Pi. This package will allow remote desktop on your Raspberry Pi.
sudo apt-get install xrdp
Retrieve the Raspberry Pi’s local IP address you can do that by using the following command.
hostname -I
My Raspberry Pi 4 is ready!!