Here we go. I got my laptop, which I want to be accessed from my PC. Both run Ubuntu 20.04. The same private WIFI network is used by both devices. How can I achieve that?
So my goal is to:
- Run my PC.
- Connect to my laptop with GUI.
- Be able to manipulate my laptop from my PC in realtime with benefits of few screens I got attached to my PC and high quality image.
RDP is usually notation for Microsoft Windows Remote Desktop.
But you can try VNC.
On the "server" device, the laptop, open
Terminal
:Edit: If you get error like
XOpenDisplay failed. No -display or DISPLAY.
and it fails, try runningDISPLAY=: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:Look for something like
inet 192.xxx.xxx.xxx
orinet 172.xxx.xxx.xxx
(can be 10. as well, but usually its 192.). That's your IP. Also in Terminal tryThat's name of your laptop.
On "client" device, your PC:
Enter either
IP
orhostname
of your "server" laptop, port5900
(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.