What is the best way to cast screen in Ubuntu from MOBILE to PC and vice versa

in windows 10 operating system they have Project to This PC and connect software to cast screen wirelessly what are some good ways to cast our Phone/PC screen wirelessly in Ubuntu. previously i have seen some techniques in kali to mirror our mobile screen to PC, we have to enable developer mode and USB Debugging feature in android and then we have to install ADB tools in kali then we can connect through USB cable. but here in Ubuntu which is the best option to share our **MOBILE to PC and PC to MOBILE wirelessly. please suggest some good softwares to do this in Ubuntu.

Without server

https://tigervnc.org/

With server

2 Likes

Not sure if applicable here, but for demonstration purposes on our community meeting I used:

  1. ScreenStream
    Install it through F-Droid and connect via wifi on the PC (Browser, IP is shown on Smartphone screen)
  2. KDEConnect
    Nice connection tool (for KDE, obviously) with the ability to show Smartphone screen on the PC (via wifi)
  3. scrcpy (just for the record, this uses a wired connection to the phone)
    You install it in the terminal via:

apt-get install snapd
snap install core
snap install scrcpy
systemctl restart snapd.service

You have to activate “USB debugging” on the smartphone and then you can fire up the following command to show the Smartphone screen on the desktop of the PC:

snap run scrcpy --max-size 1024 --always-on-top --show-touches

You can even use your mouse to navigate “on the phone”.

1 Like