There is a thing which is called miracast, it can mirror the display of the Android phone to another monitor, but my screen doesn't have this function, am I possible to do it in Ubuntu?

  • Take a look at Airdroid.
    – Jos
    Jul 29 '16 at 6:21
  • Is this topic still up? @JulianLai
    – Liso
    Dec 21 '16 at 1:37


Scrcpy is an open source alternative that sounds promising, but I get across this bug. I didn't want to use TeamViewer, LogMeIn or AirDroid.

This alternative also let you remotely use the phone from Ubuntu.

  1. Install adb: sudo apt install adb.
  2. Install scrcpy (if you meet the requirements): sudo snap install scrcpy.
  3. Enable adb debugging, the device should be listed on adb devices. Maybe you need to move to PTP and little more.

When you get the message the Allow USB debugging? The computer's RSA key fingerprint is: [a fingerprint] is possible to check it with following command (the public key might be in ~/.android or ~/snap/scrcpy/current/.android/):

cut -d" " -f1 adbkey.pub | openssl base64 -A -d -a | openssl md5 -c

Also, scrcpy --help:

The project is very active, keep track of releases and update often.

If you like GUIs try guiscrcpy (source), a scrcpy front-end written in Python pip3 install --upgrade guiscrcpy --user. Maybe some day will be the open source alternative to Microsoft's Your Phone.

Screen Stream over HTTP

Screen Stream over HTTP is a nice open source alternative, also on F-Droid.



Easy and no sign up crap. Just install it and on the app switch screen sharing on:


Then on your browser (hopefully Firefox) pointing to your mobile's IP:


Nice related AskUbuntu answer.

  • Scrcpy works ...it works on amazon fire also
    – munish
    Apr 19 '20 at 16:51

You can use Teamviewer (sign-up needed)

  1. download it for your computer here.
  2. download Teamviewer host for your phone here

you will get a secure connection between them and are able to control the screen and phone fully.


I was able to do it easily with Ashot. It's an open source project, programmed in Java, so you just download and run (assuming you have Android Studio already set up).

When you extract the folder, run java -jar AShot-1.1.jar. It will ask you for the Android SDK. Browse to it, and select your path (something like /home/yourUserName/Android/Sdk/). It should connect automatically and display the Android screen that is connected via USB. If you get an error in connection, copy the adb executable from platform-tools/ to tools/ and try again.

To copy:

cd Android/Sdk
cp platform-tools/adb tools/

It has a slight delay, so it's not good for streaming video, but good enough for presentations.


Screen Stream is another app that can do this. You install the app on your Android device, and then connect to it through wifi (or optionally 3G) from your PC using a normal webbrowser.

Internally, the app captures the screen and sends it as a MJPEG stream to the browser. It is not super-fast, so unsuitable for video, but it works well enough for showing other stuff.

The app is open source and available from F-droid and the normal Google Play Store


There is a Google Cast app for your Android phone you need to download.

Google Cast Extension for Chrome is discontinued because of remotedesktop.google.com.

  • Thanks, but is there any way to do it without Chrome browser?
    – JulianLai
    Jul 29 '16 at 6:34
  • The Google Cast plugin in Chrome appears to be for sending rather than receiving?
    – nsandersen
    Nov 26 '16 at 12:05
  • Yes you need the app for sending Nov 26 '16 at 15:19
  • This plugin not supported anymore
    – fghj
    Jul 28 '17 at 12:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.