Hello based people of lemmy,

I have recently started trying out BSDs as an alternative to Linux and found out that Spotify isn’t supported. Before you say try it in a browser this doesn’t work as spotify has DRM that doesn’t work on BSD OSes.

Now is there a way to stream music similar to Spotify? I know there is a downloader program available.

Furthermore do you know what self-hosted options are available? I already have a basic *arr stack and am always up for convoluted server and Linux hijinks.

  • areyouevenreal@lemm.eeOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    I already have an Ubuntu system bootstrapped. It doesn’t work. I think I messed it up somehow. Do you have a specific guide?

      • areyouevenreal@lemm.eeOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months ago

        Those steps are outdated. I specifically had to lookup spotify’s directions for installing on Ubuntu as the public key has changed I think. It’s also just sort of freezes, it doesn’t close or anything. There is a message about the GPU drivers I don’t really understand and probably can’t fix as that’s a kernel issue.

        • amigan@lemmy.dynatron.me
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 months ago

          Spotify is just an electron app. You can disable any GPU access just like you can with chrome via a flag.

          My point is, unless spotify is trying to call a heretofore unimplemented syscall, it can be made to run. The linuxulator is basically as good as native.

          • areyouevenreal@lemm.eeOP
            link
            fedilink
            English
            arrow-up
            1
            ·
            11 months ago

            Yeah tbh I made a mess of the Linux environment. I am gonna reinstall and see what happens. There are other potentially GPU related things going on on this system though so IDK. Like I could disable it for that one application but that wouldn’t fix the other issues if that makes sense.

            The Linuxulator is cool but I kind of don’t trust it. Maybe I will try Linux containers.

            • amigan@lemmy.dynatron.me
              link
              fedilink
              English
              arrow-up
              1
              ·
              11 months ago

              My advice is to ditch GhostBSD, you are basically putting yourself further into the corner than you already are by trying to use FreeBSD on the desktop.

              Linux binaries run just by a syscall shim. There’s not much to trust or distrust. If all the syscalls are implemented and mapped to native FreeBSD syscalls, the thing works. Otherwise, it doesn’t.

              • areyouevenreal@lemm.eeOP
                link
                fedilink
                English
                arrow-up
                1
                ·
                11 months ago

                Oh I am sure the kernel support is great. I am more having issues working with chroots directly. I am much more at home managing docker and lxc which are more isolated. I just broke something trying to remove a couple chroots while stuff was still mounted - I think I nuked /home. You don’t really have that issue with docker containers or lxc, it’s a simple command to remove.

                • amigan@lemmy.dynatron.me
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  11 months ago

                  More isolated in which way? You should probably read up on how all this stuff is actually implemented, it will clarify your understanding of what is going on rather than just throwing commands at the wall and seeing what sticks.

                  • areyouevenreal@lemm.eeOP
                    link
                    fedilink
                    English
                    arrow-up
                    1
                    ·
                    11 months ago

                    I mean docker and especially lxc do a lot more than just chroot. They use cgroups, namespaces, and other stuff that’s beyond my paygrade. LXC remaps user IDs for example. That’s without getting into tech like gvisor and runsc that further isolates them by restricting system calls and re implementing some of them to increase security. Obviously there are things like privileged containers which have fewer restrictions, but those are the exception not the rule. From what I understand of chroot it only really restricts what files it can see; there is a reason why android supports chroots + termux but not a full docker install. Chroots to me are mainly used for bootstrapping systems and recovering systems. They aren’t meant for real virtualization or server work by themselves if you catch my drift.