[SOLVED] No sound playing files from internal disk as root

Forum Forums New users New Users and General Questions [SOLVED] No sound playing files from internal disk as root

  • This topic has 4 replies, 2 voices, and was last updated May 2-3:46 pm by punranger.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #82502
    Member
    punranger

      I recently installed a large internal storage disk to organize backups of my original audio and video files. By default, I need to access the files on this drive as root. But the peculiar thing is that when I try to play these files, there is no sound coming through my sound card. This possibly has something to do with the fact that I’m using an external sound card, an old Digidesign Mbox2. Why is sound blocked when I’m playing these files as root, whereas sound works as it should when I’m playing files as a regular “home” user? I tried accessing the same files through a Linux Mint distro I had around, and there was no issue playing sound from the storage disk. Mint didn’t ask for root privileges to access the storage disk either, so therefore I’m guessing it has something to do with root access in antiX. Grateful for any help.

      • This topic was modified 1 year ago by punranger.

      antiX linux: The best way to revive an old computer - https://www.youtube.com/watch?v=JCTaUAP6sSg

      #82503
      Member
      PPC
        Helpful
        Up
        0
        ::

        Mint didn’t ask for root privileges to access the storage disk either,

        antiX, for some security reason, requires users to use elevated previleges when mounting external partitions. There are some posts here in the forum about how to solve that- and, I guess, that would solve your problem- please search for those threads, I don’t know how to do it by heart…

        Edit: probably you need to do this- https://www.antixforum.com/forums/topic/cannot-mount-internal-ntfs-partitions-only-as-root/#post-66183

        P.

        • This reply was modified 1 year ago by PPC.
        #82513
        Member
        punranger
          Helpful
          Up
          0
          ::

          sudo geany /etc/udevil/udevil.conf

          changing the commented line # allowed_internal_devices to:

          allowed_internal_devices = *

          This did the trick. Thank you!

          I thought that giving the file manager root access would suffice to allow the disk to send sound through my system, as it allows the video to be displayed on screen, but clearly I was wrong. It seems to be a strange security setting that you’re allowed to view a (video) file and modify it, but not HEAR it.

          antiX linux: The best way to revive an old computer - https://www.youtube.com/watch?v=JCTaUAP6sSg

          #82522
          Member
          PPC
            Helpful
            Up
            0
            ::

            It seems to be a strange security setting that you’re allowed to view a (video) file and modify it, but not HEAR it.

            Lol! You misunderstood me – the “security setting” part I was referring to was needing elevated privileges to mount partitions… The fact that you, in “sudo mode” can’t hear sound is probably because the part of the system that processes sound was not enabled for the root user (only for your regular user), therefor, no sound 🙂

            …the fix I suggested was in the sense of not needing elevated privileges to mount the partition where the file was, so you can play it as “regular user”, with sound!

            I’m glad your problem was so easily solved!

            P.

            #82527
            Member
            punranger
              Helpful
              Up
              0
              ::

              Hey PPC, thanks for the reply! I’m still wrapping my head around several aspects of Linux thinking, so I misunderstand a lot 😀

              I did not think to check wether my root user could play sound to begin with, I actually took that for granted. It still seems a strange thing to think that sound playback could be enabled for my regular user, but not for root. The lesson is – once again – never take anything for granted.

              antiX linux: The best way to revive an old computer - https://www.youtube.com/watch?v=JCTaUAP6sSg

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.