RDP is usually notation for Microsoft Windows Remote Desktop.
But you can try VNC.
On the "server" device, the laptop, open Terminal
:
sudo apt-get install x11vnc
sudo ufw allow 5900/tcp
x11vnc
Edit: If you get error like XOpenDisplay failed. No -display or DISPLAY.
and it fails, try running DISPLAY=:0 x11vnc
. Shouldn't be an issue with graphical edition (Desktop), but thought to mention it if someone else trys it in other circumstances.
See more details eg here: https://linuxconfig.org/how-to-share-your-desktop-in-linux-using-x11vnc
To see local IP open Terminal
again and type:
ip a
Look for something like inet 192.xxx.xxx.xxx
or inet 172.xxx.xxx.xxx
(can be 10. as well, but usually its 192.). That's your IP.
Also in Terminal try
hostname
That's name of your laptop.
On "client" device, your PC:
sudo apt install tigervnc-viewer
Enter either IP
or hostname
of your "server" laptop, port 5900
(default), and try connecting.
Also, make sure firewall is setup, that's what "ufw allow 5900/tcp
" did, but could be other firewall (unlikely), or local/hardware firewall (also unlikely, but have to mention it).
If that works, you can setup a password and other parameters.