Hello everyone! I would like to part ways with my Google Chromecast. Fortunately, I had an extra Raspberry Pi 4B (4GB version) in my drawer, which I used to install LineageOS. Afterwards, I installed F-Droid and a customized launcher to give it a more AndroidTV-like appearance.

Now, I have a couple of questions:

  1. What can I use as an alternative to Google’s screencasting?
  2. Is it advisable to enable SSH with root access on the Raspberry Pi?

Thanks!

  • thisisawayoflife@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    There’s no reason to allow root to login to anything via ssh. Add a specific user to the Wheel group and that user can sudo whatever they need to do. Just make sure to disable password authentication and only allow certificates.

      • thisisawayoflife@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        To answer the casting question, the Google cast API used to introduce a lot of breaking changes so many 3rd party apps had a lot of instant over the years.

        You could build something yourself using Google SDKs or try to update an older framework that might be abandoned. Raspicast looks fairly recent but I think it’s just the android app and it uses a deprecated RPi OS. RaspberryCast hasn’t been updated since 2018.

        It looks ripe for the development of you’ve got the time and dev chops, otherwise it’s going to be super hacky and unreliable at best.

  • uzay@infosec.pub
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    If there’s any decent alternative to Google Cast, I’d love to know because I’ve never found one. You can use Kodi to receive links to Youtube videos and play them, and spotify hast their own built-in casting, but for everything else I’ve got nothing.

    • MattMckenzy@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      I’m currently working hard on something to fill this void! I’ve made HomeHook v2 as a web app and HomeCast as an mpv interface installed on my HTPC and some Pis I have around the house!

      I still need to document the installation procedure but if you’re interested in playing stuff from Jellyfin and YouTube, feel free to send me a message and I’ll see if I can help out!

  • JoeyJoeJoeJr@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    It’s not exactly what you’re looking for, and won’t be as seamless, but you might be able to leverage scrcpy.

    It uses adb (you may need a fullfat distro for this - lineage may not support it), and allows you to view and control your Android device from a computer. It can also handle audio, and can be used wirelessly. The one caveat is protected content will probably not show up in the mirror - e.g. if you cast your screen and try to stream Netflix, it will likely be unable to send the Netflix video over. The last time I tested, it depended on the specific app, and which APIs they used under the hood (at the time, YouTube worked, Netflix did not).

    • Lemongrab@lemmy.one
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Can you not disable or spoof the protected content flag. I think i saw a Xposed module for that.

  • dingdongitsabear@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    I’m using macast and jellyfin-mpv-shim. I can send almost anything to my PC from my phone and have it played in full screen.

  • MrPear@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Do you specificly want to cast your screen? Or do you want to cast things like YouTube videos and music?