Follow the method you are more comfortable with, as each one works with virtually all Linux distributions. All you need to have is a modern browser for wireless broadcasting. If you want to cast your Android screen to your Linux desktop or laptop without using any wires or hassling with developer options and advanced settings, you have two viable options: AirDroid and Screen Cast.
1. AirDroid (Wireless)
AirDroid is great for when you want to operate your phone without having to use any special interfaces or third-party apps on your computer. It’s not just a simple screen casting app. Instead, it acts as a full software suite for operating the phone through your computer, which happens to also contain the ability to cast your phone’s screen to it.
2. Screen Cast (Wireless)
If you want an alternative that features slightly lower latency and doesn’t include much added fluff on top, you can use a free app called Screen Cast. It’s a minimal option that casts your Android screen wirelessly as long as both your system and the Android device are on the same network. If you are not on the same network or not able to cast your screen wirelessly, you can achieve the same result by connecting your Android device via USB.
3. Vysor (Wired, USB)
Linking the Android Device to Linux
However, most of the interesting settings are locked behind a paywall. With the Pro version, you can also cast your Android screen wirelessly, but with the other two options discussed here, you really don’t need to pay for wireless mirroring. Image credit: Wikimedia Commons All screenshots by Miguel Leiva-Gomez.
Make absolutely sure you’re on the same network as your phone. It doesn’t matter if the computer is connected through Ethernet and the phone is on WLAN. As long as they’re operating on the same subnet (in most cases, this means the same router), you should be fine.Wait a little bit. Sometimes it can take up to two minutes for devices to discover each other.Doubled-check that the addresses you type in the address bar on your browser are correct. Remember, address-based connections via a browser to wireless devices in both the wireless methods we discussed require HTTP, so make sure you type “http://” instead of “https://” before the address.Restart the router. It works sometimes.We’ve noticed that AirDroid might lag severely in device discovery when connecting to the lower-frequency band on your router. If your router has both 2.4GHz and 5GHz bands, create a wireless network on the 5GHz and connect your phone to it.
For wired connections:
Check whether the USB cable is damaged. Switch it out for another one.Make sure you have “USB Debugging” toggled and enabled. Some versions of Android de-toggle the option as soon as you plug it in or out.Make sure that Android is in PTP mode when plugged in. Select “Transfer photos” (not “Transfer files”) in USB connection options as soon as you plug it in.