I have an Android phone running 5.0 (CM12) that has "cast screen" on the quick settings page, but no devices are listed. I don't own a Chromecast, but I have an Ubuntu HTPC running 14.04 and Kodi.
What can I do to make the HTPC a receiver and show up on the network?
Currently, i am finding a way to perform the casting operation by the default cast screen button given in the drop down menu for android 4.4 above(most probably). But there is another way using software and apps available in the Google Play Store.
In both of these cases its as simple as installing the android app on your android device and adding the extension for the corresponding app installed and then just launch the extension and connect to the available network available from your android device. Note-> Both These extensions are for Chrome.
Check this list: http://www.topalternativeto.com/vysor
If you are still having problems with getting started just Google the application names and you would find someone making money with your required video on youtube.
You can do this with the use of AllCast Receiver for Chrome and Mirror on your Android phone.
Solution grabbed from: makeuseof.com
In addition to the answers above, you can't try using an Apple AirPlay sender app for Android in conjunction with Shairport-sync, which is available from this PPA. Just do
to install it. I personally have not tried it out, tu it looks promising. If you just want to cast from the YouTube app or Google Play Music, there are a few older Google Cast receivers you can try. For instance, if you have Chromium or a derivative you can try CR Cast, which while no longer on the Chrome Web Store, still works happily on my Raspberry Pi. You will need to download as a zip and lad in the extension manually though. You can also try Nodecast which runs on NodeJS. You'll need to run it as root for it to work right. Just note that the previous two options don't support full screen mirroring, just YouTube.