AudioPhile Linux
  • Email
  • Google+
  • Linkedin
  • Twitter
Follow us on Twitter @AudiophileLinux
  • Home
  • News
  • Documentation
  • Screenshots
  • Download
  • Articles
  • About
  • FAQ
  • Contact
Navigation
Search the site...

AP Linux v4 install instructions

April 16, 2017 / Marko / Documentation
391

If you haven’t already, grab your copy of new AP-Linux here.

April 5th 2018. There has been some issues with upstream Arch packages so install brakes when you want to upgrade packages. Check down for the fix…

DISCLAIMER! This installation can ERASE all your data if you don’t know what you are doing. We are not responsible for any of your data or hair loss. If you feel uncomfortable working with Linux disk tools, and you have sensitive data, make a backup first.

Requirements:
– USB thumb drive to burn the iso file
– blank disk or free partition on the disk. Use at least 25GB minimum.
– internet access

Put/burn the iso on the thumb drive, power up your PC and select to boot from USB. Standard Arch Linux boot will appear. Just press enter and wait for system to boot. If you don’t know how to burn/put iso file on the USB thumb drive, there’s a lot of documentation on the internet. It all depends which operating system or software you use. But if you using Linux, it’s easy. In terminal just do this:

dd bs=4M if=/path/to/apl-v4.iso of=/dev/sdX status=progress && sync

where /dev/sdX is your thumb drive. Make sure you put correct /dev/sdX or you will loose all the data on that disk.

After boot finishes, use this commands:

If you have 4K Monitor, the fonts will be very small. Execute this command if you have 4K Monitor:

# setfont ter-232b

Then:
‘fdisk -l’ command will list disks and partitions on your machine.
This is needed for you to know where you are going to install AP-Linux. When you are sure where you are going to install AP-Linux, write down on peace of paper your disk name. For example “/dev/sda”.

Now we need to create partition for AP-Linux on that disk. Warning! If you have existing operating system or any data on the disks, this steps can overwrite and delete all of your data. Make sure that you know what you are doing. You can use two different tools for creating the partition for AP-Linux.
Fdisk or Cfdisk.

If you are for example going to use “/dev/sda” disk to create partition for AP-Linux, execute this commands:

# fdisk /dev/sda
 or
# cfdisk /dev/sda

Cfdisk is more user friendly tool. If you are asked “Select label type” in cfdisk, it’s important to choose “dos” because otherwise you will not be able to finish installation (GRUB bootloader will not work).

Creating a partition with fdisk begins with typing “n” and then “p”. Saving with “w”. With cfdisk is different. Create new partition for AP-Linux and select “Write” to save new partition table. Quit to get back to the terminal.

Then again type:
# fdisk -l
to view your new partition tables. If you used disk /dev/sda, then you should see your new partition. For example as /dev/sda1.

Now you have to create a file system on that partition. mkfs.ext4 command will do that for you. Again be very careful in the next step.

# mkfs.ext4 /dev/sdXX. Replace /dev/sdXX with your partition. For example

# mkfs.ext4 /dev/sda1

Mount that partition to /mnt folder

# mount /dev/sda1 /mnt

Then type these commands:

# time cp -ax / /mnt
# arch-chroot /mnt /bin/bash
# cd /etc/apl-files

The next command will ask you to put your username and password and install some packages.

# ./runme.sh

Answer “yes” to question and wait till it finishes. If there are no errors, continue with

# grub-install --target=i386-pc /dev/sda

Replace /dev/sda with your disk, then execute this:

# grub-mkconfig -o /boot/grub/grub.cfg

Next command will set up super user password.

# passwd root

Next command will setup your timezone

# ln -s /usr/share/zoneinfo/Europe/Dublin /etc/localtime

Replace Europe/Dublin with your city. Full list is available with

# ls /usr/share/zoneinfo/

and

# ls /usr/share/zoneinfo/Europe

Then continue with:

# hwclock --systohc --utc
# ./autologin.sh

If you have 4k monitor execute also ./4k-mon-setup.sh

# exit
# genfstab -U /mnt >> /mnt/etc/fstab

Reboot your system, remove the USB thumb drive and let’s hope you’ve done everything OK. If you did, you will first see GRUB boot loader and your system should boot to new AP-Linux. If not, check your boot disk priority in BIOS.

To summarize, these are all commands you need to run after disk partitioning:

# mkfs.ext4 /dev/sdXX
# mount /dev/sdXX /mnt
# time cp -ax / /mnt
# arch-chroot /mnt /bin/bash
# cd /etc/apl-files
# ./runme.sh
# grub-install --target=i386-pc /dev/sdX 
# grub-mkconfig -o /boot/grub/grub.cfg
# passwd root
# ln -s /usr/share/zoneinfo/Europe/Dublin /etc/localtime
# hwclock --systohc --utc
# ./autologin.sh
# exit
# genfstab -U /mnt >> /mnt/etc/fstab
# reboot

When AP-Linux boots, open terminal. Make sure your internet is working. You can check if internet is working with:

$ ping 8.8.8.8

You should see something like this:

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
 64 bytes from 8.8.8.8: icmp_seq=1 ttl=56 time=25.9 ms
 64 bytes from 8.8.8.8: icmp_seq=2 ttl=56 time=21.9 ms
 64 bytes from 8.8.8.8: icmp_seq=3 ttl=56 time=25.4 ms

Then become root with:

$ su

Execute these commands. First command will take a while…

# pacman-key --init
# pacman-key --populate archlinux
# pacman -Sy
# pacman -S archlinux-keyring

April 5th 2018 fix. This command brakes

# pacman -Suy

The solution is to first remove libxfont like this:

# pacman -Rc libxfont

Answer yes and do it again

# pacman -Suy
# pacman -S terminus-font
# pacman -S xorg-server
# pacman -S chromium

The last command will install web browser Chromium. Use pacman -S to install other
programs like deadbeef, audacious or firefox.

We need to reboot because April 5th fix

 # reboot 

!!! Important!!!

After updating the system with “pacman -Suy”, mpd config will brake. In order to fix this you will need to do the following:

# cd /etc/apl-files
# cat mpd.service > /usr/lib/systemd/system/mpd.service
# systemctl daemon-reload
# systemctl restart mpd.service

Now we need to do few more tweaks. If you have installed AP-Linux on SSD disk, edit /etc/fstab file with

# nano /etc/fstab

and add ‘noatime,discard’ option. Your “/dev/sdX1” line should look like this

Example config:

/dev/sda1 / ext4 rw,noatime,discard,data=ordered 0 1

If you didn’t install AP-Linux on SSD, remove the ‘discard’ part.

/dev/sda1 / ext4 rw,noatime,data=ordered 0 1

What we just told our system is not to write some unnecessary file access information. This will speed up a little our machine which can be good for sound processing.

Music play setup

1. Select “List cards” from the menu

2. Put your card in /etc/mpd.conf. Select “Edit mpd.conf”

3. Change this line:
device “hw:0,0”
to:
device “hw:1,0”
if needed.

It’s better to put the name of your card in mpd.conf like this:
device “hw:PCH”

Because cards in Linux often switch numbers.

Restart mpd when you made changes to mpd.conf

Copy your music files in Music directory and launch “Play music” from the menu.

For wireless or manual IP setup, open terminal, become root and go to /etc/apl-files directory. There you will find “enable-wless.sh” script. Execute this script with ./enable-wless.sh and reboot. After reboot you will find one small icon on the right in the system tray that you can “right click” and edit your network settings.

Related

391 comments on “AP Linux v4 install instructions”

  1. Jeff says:
    April 17, 2017 at 00:30

    Any chance for Paypal?

    Reply
    • mlerota says:
      April 17, 2017 at 01:18

      I’m not a fan of Paypal…. But let’s try it. Can you try now?

      Reply
      • Luga says:
        April 17, 2017 at 14:50

        Hi!
        I would gladly pay if PayPal was available, even PayPal’s percentage.

        Reply
        • mlerota says:
          April 17, 2017 at 14:57

          For some reason I have to manually approve every Paypal transaction so I can’t enable it until this is fixed. You can use normal credit card payment via Stripe. This works without problem and it’s secure as Paypal.

          Reply
  2. blueboythc says:
    April 17, 2017 at 07:46

    Thaaank you!!
    Have a Gday and good rakja
    Cya

    Reply
  3. Samuel says:
    April 17, 2017 at 11:57

    I’ve gone through all of the steps twice. Every time I get to configuring Grub, I get this.

    “grub-install: warning: File system ‘ext2’ doesn’t support embedding.

    grub install: warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..

    grub install: error: will not procede with blocklists”

    Reply
    • mlerota says:
      April 17, 2017 at 13:13

      Did you used mkfs.ext4 or mkfs.ext2 command when creating filesystem? Be sure to use mkfs.ext4. Ext2 is old and not supported. Also check that you don’t have this filesystem from some old install on that partition. To be sure, remove it first, then reboot and create another. Then use mkfs.ext4.

      Reply
      • Samuel says:
        April 18, 2017 at 06:18

        Had some wonky issues with Grub, but I figured it out. Absolutely loving the new version! Thank you again.

        Reply
        • sethboyardee says:
          April 19, 2017 at 01:48

          how did you solve it Samuel? I’ve tried multiple times, even formatted as ext4 first, or unformatted, definitely ran mkfs.ext4 and still having the error

          Reply
    • sethboyardee says:
      April 19, 2017 at 04:54

      So I finally figured this out. First, since this is a stand-alone system (a Dell Inspiron Micro Desktop) that will be used for sending files to an external DAC (Emotiva Stealth DC-1) via USB, I didn’t care if I wiped the hard drive clean.

      So, using a program like gparted, I deleted all partitions from the disk. (You can do this with fdisk or cfdisk but I like to start from empty unformatted drive and this was easier for me to work with). I then created one primary partition….
      ….
      but the key here was to make sure I left space at the beginning of the drive for GRUB to install properly. I left 2 gigs of space at the front, unallocated. Then I created one primary partition, unformatted. (this system only had a “32” gig SSD, if yours is larger you may consider making other partitions for storage, etc).
      …..

      THEN I followed the install instructions – installed to /dev/sda and everything seemed to go well from that point onward. Formatted with mkfs.ext4 and so forth.

      Thanks!!!

      Reply
      • mlerota says:
        April 19, 2017 at 08:51

        GRUB can have problems if you had some previous installation on the disk. So if it doesn’t work, it’s best to wipe disk clean. And I never needed to left space in the beginning.

        Reply
        • Tuttifrutti says:
          April 20, 2017 at 20:31

          It’s still not working on my ssd…
          I tried everything explained above and it still didn’t install grub.

          It always says ext2…

          For me it seems like a bug.

          Reply
          • mlerota says:
            April 21, 2017 at 09:54

            Try to modify BIOS of your PC. Sometimes there’s a problem there. Or take the SSD drive to some other PC, install it there and put it back in the old one.

          • bill says:
            August 28, 2017 at 18:04

            same problem for me.

            spent days wiping drives and reinstalling, always the same problem with grub.

            Ubuntu installs with no problem on my set up

            what bios settings could cause this?

            cheers

          • Clem O says:
            November 11, 2017 at 10:39

            GRUB complains about ext2 and embedding when it doesn’t find the 1MB space between the 1st sector and the first partition clean: this happens if the HDD or SSD you are trying to install into is a drive that’s had a previous OS installation. cfdisk doesn’t clean out this space (dunno if fdisk does) when you created the partition.

            The solution I found here:

            https://github.com/slacka/WoeUSB/issues/61

            I tried (and confirm to work) uses dd :

            # dd if=/dev/zero of=/dev/sdX seek=1 count=2047

            Hope this helps.

          • mlerota says:
            November 13, 2017 at 11:12

            Thanks

  4. berez says:
    April 17, 2017 at 15:59

    Why on earth isn’t there a live install media?

    Reply
    • mlerota says:
      April 17, 2017 at 16:08

      Because I am the only one developer who works on it. And I work on it in my free time. Don’t have time or resources to create live media or proper graphical installer. The only important thing is the sound. If you closely look at install instructions, you only need to run few commands after disk partitioning and you are done.

      Reply
  5. SatKiwi says:
    April 18, 2017 at 09:50

    I just did a fresh install on an older Dell Laptop. Very well documented install. I did notice the formatting for setting the time zone needs a little TLC but otherwise everything is working as it should. I messed up my username and tried to use backspace, it didn’t actually backspace but rather add characters. I used Ctrl+c to break the script and just ran the command again.

    I can’t wait to get everything set up and ready for my garage Audio Zone.

    Reply
    • mlerota says:
      April 18, 2017 at 09:57

      If you messed up with the username, do the whole install again. Username part is bound to the sound quality. If something got messed up, you will have poor results in sound. Better do it again.

      Reply
  6. Benny says:
    April 18, 2017 at 11:13

    Install to sda4 on a W7 notebook. boot with grub without W7.
    How to recover W7?
    * absolutely love the sound quality.

    Reply
    • mlerota says:
      April 18, 2017 at 11:20

      When GRUB loads, you should be able to select W7 from the menu. If not, istall os-prober “pacman -S os-prober” Then run “# grub-mkconfig -o /boot/grub/grub.cfg” again. OS-prober should find your W7 installation.

      Reply
      • Benny says:
        April 18, 2017 at 14:57

        Works perfectly. Thank You.

        Reply
  7. sethboyardee says:
    April 19, 2017 at 04:47

    What’s the best way to set up the system to send .flac (and mp3) files to an external DAC via USB ??
    Any particular configurations, settings, programs that are needed?

    Reply
    • mlerota says:
      April 19, 2017 at 08:53

      MPD

      Reply
      • Zeljko says:
        April 20, 2017 at 17:10

        How? Any combination 0,1 in mpd.conf (device “hw:0,0”) had no result on USB DAC. DAC is listed in Card List…

        Reply
        • mlerota says:
          April 20, 2017 at 18:42

          “hw:D20” or “hw:Audio” whatever your name is in “aplay -l” or “hw:1,0” or “hw:2,0” etc….

          Reply
          • Zeljko says:
            May 3, 2017 at 15:56

            How to enable Bit Perfect playback?

  8. sethboyardee says:
    April 19, 2017 at 04:58

    Oh and regarding wireless… I had originally tried installing version 3 and had terrible time dealing with the Intel WiFi card in my system, and gave up after never getting the drivers to install, never getting the system to see the card, etc.

    This new version 4 is much better – at least it recognized the wifi card.

    I did have some configuration issues with connecting to wireless (iw, iwconfig, etc) so I eventually just dowloaded the wpa_supplicant package and the NetworkManager packages and installed that, and was able to connect to WiFi.

    Reply
  9. janos_904 says:
    April 19, 2017 at 09:32

    Thanks a lot of your big effort and time-consuming work on the new distro, AP-4 up and running on my PC :-). To create linux-bootable pen-drive using windows, I do recommend Rufus:
    https://rufus.akeo.ie/?locale=en_US
    The step “# time cp -ax / /mnt” is a bit time consuming, at least on my old AMD-based PC (Athlon X3 450).
    THANKS a lot!

    Reply
  10. andrey says:
    April 20, 2017 at 11:56

    Hello!
    Firstly – thank you for your work!
    I installed Linux today on a new computer ASRock Beebox N3150 / V. But the network card is not detected. Could you tell me how to install the driver for the network card?

    Reply
    • mlerota says:
      April 20, 2017 at 12:05

      If the network card is not recognized, then it’s not working. There’s no support in Linux kernel. No drivers. It’s better to buy cheap USB network card and use that.

      Reply
      • andrey says:
        April 20, 2017 at 12:31

        Can I ask the author to add fresh net drivers to the kernel?

        Reply
        • mlerota says:
          April 20, 2017 at 12:33

          Sorry. It’s not that simple.

          Reply
    • Thatffatnerdfromnextdoor says:
      May 23, 2018 at 21:39

      Hi andrey
      Are you sure it’s an issue with your network card?
      What’s the output of # ip a ?
      Cause the device is supported by Arch according to ASRock…
      Ik the answer is kinda late….

      Reply
  11. andrey says:
    April 20, 2017 at 16:41

    There are two hard disks in my computer (ssd) On the first disk, I installed Linux and the second disk I wanted to use to store music. When I go to the file manager, I see both disks, but I can not open the contents of the second disk. The message appears : UNABLE to ACCESS LOCATION . Not authorized to perform operation .

    What can I do ?

    Reply
    • mlerota says:
      April 22, 2017 at 15:47

      Change the ownership of that disk so you can access it with ‘chown -R username:username /directory-of-the-disk’

      Reply
      • Cole says:
        December 18, 2017 at 20:48

        I have tried this chown -R still can’t access my sperate HDD. Anything else to try?

        Reply
        • Thatffatnerdfromnextdoor says:
          May 23, 2018 at 21:48

          Hi Cole
          Do you know how you formatted the HDD?
          If you post me the output of lsblk I can may help you.
          Ik my answer is a little bit late…

          Reply
  12. andrey says:
    April 21, 2017 at 09:46

    Hello!
    I once again want to thank the author for his work. You have done a good and important job! Thank you for that!
    However, after two days of fighting version 4 I decided to return to version 3. It seems to me more stable.
    I have one important wish: Is it possible to write instructions for all versions of AP Linux that will help you configure the remote desktop? It seems to me that the music computer should be managed remotely, without using a monitor.
    Thank you in advance to the author!

    Reply
  13. janos_904 says:
    April 21, 2017 at 22:34

    The no-monitor setup is very easy with AP4 linux. You can access remotely to AP4 linux using an ssh client like putty etc at the 22 port. As a root you can switch off your PC typing the ” poweroff “command. The access of MPD server can be done remotely by cantata for example. You can run cantata on windows as well and organize your music easily.

    Reply
    • Sasha says:
      April 24, 2017 at 10:44

      I agree with you. But I need to see the desktop and not just the command line. Plus, I’d like to remotely copy music files to a computer running AP Linux. How to do it?

      Reply
    • Billy says:
      April 25, 2017 at 19:47

      Hi, Janos_904,
      I used other mpd for few yrs. I’m new to AP Linux. My cantata in other platforms and mpd client in mobile phones work seamlessly with my previous MPD linux (voyage mpd linux). Now they don’t work with AP Linux. Would you pls tell me how to make it work with cantata on other platform? Thank you very much for your help. 🙂

      Reply
      • mlerota says:
        April 26, 2017 at 17:09

        Sorry Billy. You have to read the howto docs. MPD works out of the box on AP-Linux. If you need to change something, for example where are your files or DACs you need to configure one file. /etc/mpd.conf.

        Reply
        • Billy says:
          April 26, 2017 at 17:38

          Thank you mlerota,

          Yup, I can play music with built-in Cantata, just not with other Cantata in other platform. Thank you for your concern.

          Reply
          • Jerry says:
            June 21, 2017 at 20:31

            Billy – you should check the user name and password on the ap-linux mpd.conf file. You probably aren’t using the right log in credentials.

  14. Banaroo says:
    April 23, 2017 at 06:48

    Installng to UEFI-dedicated PCs possible?
    I tried to install on Intel Compute Stick, but in vain.

    Reply
    • mlerota says:
      April 24, 2017 at 09:12

      https://wiki.archlinux.org/index.php/Unified_Extensible_Firmware_Interface

      Reply
      • marcos says:
        June 19, 2017 at 20:09

        could you write an alternating AP Linux v4 install instructions for EFI boot ?
        thanks.

        Reply
        • Joe says:
          June 28, 2017 at 20:14

          Here are the steps for EFI boot IF you are installing the x86_64 version:
          After “# mount /dev/sdXX /mnt”, where sdXX is your partition for AP-linux
          1) # mkdir -p /mnt/boot/efi;
          2) # mount /dev/sdXY /mnt/boot/efi; where sdXY is your partition for EFI system, usually /dev/sda1. Check fdisk -l for confirming.
          3) Do the rest of the steps UNTIL you hit “# grub-install –target=i386-pc /dev/sda”. Use “# grub-install” INSTEAD of “# grub-install –target=i386-pc /dev/sda”.
          4) If there is no error, keep following the instructions. Once you finish and reboot your machine, you’ll find arch uefi in boot option in BIOS.

          Good luck!

          Reply
          • Shin says:
            July 11, 2018 at 14:19

            Hi Joe,

            I followed your instruction in attempt to fix my problem not booting after grub screen appears. I am trying to install AP-Linux on a USB Flash Drive. I have UEFI and Legacy modes in BIOS Boot setting. My PC is ZBOX CI325 Nano.

            I got the below error message. Please advice!

            [root@archiso apl-files]# grub-install
            Installing for x86-64-efi platform
            grub-install:error: /boot/efi doesn’t look like an EFI partition.

            I am sorry but I have no Linux knowledge!

  15. Radek Lenhart says:
    April 23, 2017 at 11:13

    I figured it out, of course, it was sudo su

    Reply
    • mlerota says:
      April 24, 2017 at 09:10

      In install document, you forgot to set the root password.

      Reply
  16. Jeff says:
    April 23, 2017 at 12:49

    A few questions – sorry I have all my experience in Debian/Ubuntu:

    1. It seems my display is set to a larger desktop than my 1980 monitor.
    The APL background image runs off to the right.
    How do you change the Display size in Arch?

    2. Since I am running headless (Roon Server/Bridge), I don’t need Conky, Is there a
    way to stop it from starting?

    3. Ok to update Arch with pacman -Syu – or will that break things?

    4. How about updates from APL – how will that be handled?

    Thanks,

    Jeff

    Reply
    • blueboythc says:
      April 24, 2017 at 08:45

      Same here my desktop is extended outside the monitor I see only the upper right corner and I cant see the open app Unusable
      How to fix it? Using radeon driver with HD6850
      Cya

      Reply
    • mlerota says:
      April 24, 2017 at 09:19

      1. See “man fbsetbg” and then change the .fluxbox/startup file.
      2. Also in .fluxbox/startup file.
      3. It will only brake MPD when new version is out, but it can be easily
      fixed. Everything you need is in /etc/apl-files
      4. We’ll see.

      Reply
  17. Tubeman says:
    April 24, 2017 at 18:05

    is it possible to control this like Runeaudio/Volume/Moode thrue web browser

    Reply
  18. mm100 says:
    April 24, 2017 at 18:51

    An update via pacman -Syu will also update the kernel to the current version 4.10.11-1. This is no realtime kernel.

    Reply
    • mlerota says:
      April 24, 2017 at 19:09

      Yes it’s not RT kernel. But you are not using this one. Type ‘uname -a’ in terminal.

      Reply
  19. Andy says:
    April 25, 2017 at 13:55

    Firstly fantastic work, doing something like this isn’t easy in your spare time and arch can be a bit of a nightmare to set up, thanks. Happy to pay 4 euros!

    @ Jeff. You can just remove conky which is easy. Can also uninstall fluxbox, X11 etc etc. Did it myself and got a very bare bones system with all the benefits of someone else’s hard work! Don’t think it made a great deal of difference though to be fair.

    Reply
  20. Billy says:
    April 25, 2017 at 15:42

    I got stuck at grub-install, it reported that:

    “warning: Attempting to install GRUB to a disk with multiple partition labels. This is not supported yet..”
    “warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged”
    “error: will not proceed with blocklists”

    The partition in that SSD is already deleted by fdisk, and created a new partition. No matter setting it as boot or not, grub-install doesn’t work.

    Pls. help , your words will be highly appreciated. Thank you. 🙂

    Reply
    • mlerota says:
      April 25, 2017 at 16:02

      How do you create partition? With fdisk or gdisk? What do you get in “Disklabel type:” when you type “fdisk -l”?

      Reply
      • Billy says:
        April 25, 2017 at 16:06

        Dear mlerota,

        I’ve tried both fdisk, cfdisk. “Disklable type” is dos. Pls. help.

        Reply
        • mlerota says:
          April 25, 2017 at 16:24

          What “fdisk -l” says about this:
          Device Start End Sectors Size Type ?

          Reply
          • Billy says:
            April 25, 2017 at 16:35

            /dev/sdb1 2048 250069679 250067632 119.2G 83 Linux

          • mlerota says:
            April 25, 2017 at 17:02

            Try to add “–force” at the end like: “grub-install –target=i386-pc /dev/sdb –force”.

          • Billy says:
            April 25, 2017 at 18:03

            I’m sorry that –force doesn’t help.
            I’ve unplugged other HDs in the same PC during installation, but still got no luck. Pls. help. 🙁

          • Billy says:
            April 25, 2017 at 18:04

            grub-install just shows the same error messages.

          • mlerota says:
            April 25, 2017 at 18:11

            I don’t know what’s wrong with your PC. Check on the internet about your motherboard manufacturer and problems with Linux. Maybe you will find something. Maybe it’s the BIOS problem so check BIOS options. Disable the UEFI in BIOS if you have it. And try to wipe completely the disk with some other tool. Sorry, I run out of options there.

          • Billy says:
            April 25, 2017 at 18:12

            Finally the –force works and I can boot into the GUI of AP Linux, let me try, Thank you, mleorta! 😀

  21. Miguel says:
    April 26, 2017 at 14:28

    Hello,

    I installed AP linux v4 on my intel nuc last week and I also ran into the grub-install problem.
    I tried to repartition the ssd in various ways but everytime I got the message:

    “warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged”
    “error: will not proceed with blocklists”

    I have made a partition called sda1 and thought you should therefore use the command “grub-install –target=i386-pc /dev/sda1″ . After several tries, I decided to use the command without the 1 after sda and voila it worked!
    I guess some people also makes this mistake so I think this may be helpful.

    Thanks for the hard work on the AP linux! I do not have paypal so I choose the limited download but I hope to be able to donate for this very nice piece of softare soon…

    Reply
    • mlerota says:
      April 26, 2017 at 14:35

      Yes I think many people put /dev/sda1 instead of /dev/sda when installing Grub. Thanks. I will highlight this in documentation.

      Reply
  22. Billy says:
    April 26, 2017 at 16:50

    Hi, mlerota,
    I used other mpd for few yrs. I’m new to AP Linux. My cantata in other platforms and mpd client in mobile phones work seamlessly with my previous MPD linux (voyage mpd linux). Now they don’t work with AP Linux. Would you pls tell me how to make it work with cantata on other platform? Thank you very much for your help. 🙂

    Reply
  23. sethboyardee says:
    April 29, 2017 at 02:59

    Can anyone tell me how can I get a remote view program like Teamviewer to run automatically (sign on, log in, launch itself for “unattended access”) when I start up my system with AP-Linux?

    They have a startup file but I’m not sure where to copy it to.
    Thanks!!

    Reply
  24. dera says:
    April 30, 2017 at 15:09

    Hi Mlerota!

    Thanks for your fine work with AP Linux v.4. it really sounds good!

    How can I use the browsers chromium or firefox?
    I used the command “pacman -S chromium” and “pacman -S firefox”.
    Seemingly they were installed fine, but finally I can’t start these browsers from the fluxbox-menu.
    Thanks!

    Reply
  25. dave says:
    May 1, 2017 at 17:50

    You should always do “pacman -Syu” (fully update the system) before installing any applications, this is mandatory, as this installer installs packages from the iso & not the current version from the fastest mirror. Arch is a rolling distribution, it is very bad practice to pull the latest Firefox or Chromium etc from the mirror & install them over an old Arch snapshot (AP-Linux).
    Also, there will come a time when Pacman will probably not work.

    Why is there no firewall? Do people know there is not one?

    Reply
  26. dera says:
    May 2, 2017 at 11:41

    I used the commands in the following sort order:

    pacman-key –init
    pacman-key –populate archlinux
    pacman -Sy
    pacman -S chromium

    Do you have working chromium or firefox in ap-linux v.4?

    Reply
    • dave says:
      May 2, 2017 at 12:29

      Dera, try starting them from a terminal, if there is an error it will tell you.
      You should always do “pacman -Syu” to fully update the system before installing any programs, as you did not do this, it may be the root cause of your problems.
      I disagree with the installation instructions telling you to do otherwise.

      Reply
      • mlerota says:
        May 2, 2017 at 12:41

        Yes “pacman -Suy” is the correct way, but if there’s new MPD in the repos, it will overwrite the current config of MPD and MPD will not work without reconfiguration. So I just recommend “pacman -Sy” for start. If there’s a problem, “pacman -Suy”

        Reply
        • dave says:
          May 2, 2017 at 19:45

          Arch doesn’t overwrite config files, you have to do it manually, one of the reasons it is not recommended to folks new to Linux. People need to read https://wiki.archlinux.org/index.php/Pacman/Pacnew_and_Pacsave

          I’m afraid you couldn’t be more wrong in recommending people do “Pacman -Sy” instead of “Pacman -Syu”. From the Arch wiki:
          “When installing packages in Arch, avoid refreshing the package list without upgrading the system”
          See https://wiki.archlinux.org/index.php/pacman#Upgrading_packages

          A lot of the users are going to end up with broken systems in a very short time.

          Reply
          • mlerota says:
            May 3, 2017 at 16:14

            Yes Arch doesn’t overwrite config files if they are from Arch. But mine are overwritten. Like files for MPD. Yes it’s better to use “Suy”

  27. dera says:
    May 2, 2017 at 15:29

    Many thanks! now the browsers are working

    Reply
  28. Tom says:
    May 2, 2017 at 20:26

    Hi guys, Is it possible to install it along with other OS (dual boot)?

    Reply
    • mlerota says:
      May 3, 2017 at 16:09

      Yes. Grub should auto detect other OS. If it’s not working, after install, run “pacman -S os-prober” and “# grub-mkconfig -o /boot/grub/grub.cfg” again.

      Reply
  29. Michy says:
    May 3, 2017 at 03:05

    Hi mlerota!

    Many thanks for your work with AP Linux v.4. I love your great sound.
    I have a problem. I made changes to mpd.conf like the following,
    device “hw:0,0” to: device “hw:1,0” and restarted mpd.

    But Cantata won’t work though both audacious and deadbeef work.
    Any advice? Thank you in advance.

    Reply
    • Zeljko says:
      May 3, 2017 at 16:23

      I had the same problem. In the last step (MPD) I did wrong. I did not know how the problem could be solved 🙂
      I repeated the installation with the correct selection

      Reply
      • Tom says:
        May 3, 2017 at 16:26

        How do you know what to set here? It’s not clear for me :-/

        Reply
      • mlerota says:
        May 3, 2017 at 16:31

        It’s better to find your card with “aplay -l” and then put this instead of device “hw:1,0”. Like device “hw:D20”. For example if “aplay -l” lists: card 1: PCH [HDA Intel PCH], device 1: CS4208 Digital [CS4208 Digital], you put “hw:PCH”. The second thing after “card 1”.

        Reply
        • Zeljko says:
          May 3, 2017 at 17:39

          In one of the last install steps you have to choose one of two options (something about mpd, I dont remember what is exactly). I was chose the wrong one and any combination in mpd.conf had no result on USB DAC…

          Reply
        • Tom says:
          May 3, 2017 at 18:42

          Thanks mlerota, then it means I did it OK but then I don’t know why do I get this error: Unable to set hw params for PLAYBACK: Input/output error
          This is what I found in the list of the cards:
          card 0: D2Qute [2Qute], device 0: USB Audio [USB Audio]
          Subdevices: 1/1
          Subdevice #0: subdevice #0

          And this is what I have in the conf file:
          device “hw:D2Qute”

          Many thanks for your help!

          Reply
          • Tom says:
            May 3, 2017 at 18:47

            Having device “hw:0,0” gives me this error:
            [17:17:0503/114418.940158:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {“error”:”Invalid header data : sync 0x7fe version 0x2 layer 0x1 bitrate_index 0x1 sample_rate_index 0x1 channel_mode 0x3″}

        • Michy says:
          May 4, 2017 at 01:28

          It worked! Now I can get good sounds through Cantata. Thank you very much for your appropriate advice.

          Reply
  30. JG says:
    May 3, 2017 at 18:22

    Hi, is there also a description available how to remote control the AP-Linux by tablet or smartphone via VNC or similar?

    Kind regards

    Reply
  31. Ray says:
    May 3, 2017 at 20:54

    This is more easy than V3, installed and booted from usb stick without modify any config files.

    Thank you.

    Reply
  32. PHG says:
    May 3, 2017 at 23:31

    Strange behaviour with uda18-usb-and-spdif-dac(Hifime), Volume is decreased a lot.
    I don’t think that’s a problem of AP-Linux V4, other Dacs or USB to SPDIF Converters works perfect(HiFace, the first too!). On the other hand with other OS (Win7/10, Mac, AP-Linux V3.1!) uda18-usb-and-spdif-dac has no problems. A bit strange.
    I installed V3.1 and V4 on my old ZBOX and Win10 on an eSata, no problem with os-prober installed on V4 when running Grub(it takes a long time!). Because V3.1 does not support .m4a files I have to refresh MPD database always when I change the AP Versions, but it’s fast and I rarely listen to .m4a files. It seems to me that V3.1 is a bit smoother and V4 a bit more analytic, but………it seems and I think……you (should) know what I mean. Both are the best I ever heard on my (more mid-range) audio-system(s). They sound open, better resolution!
    What’s about pacman -Suy? What are the mpd files to recover? (V3.1 is not updateable anymore) And does someone knows an audio driver that streams to a file? MPD supports a Http file server(works nice) and with this kind of audio driver maybe it is possible to stream TIDAL and Spotitfy to AP-Linux? But I think MPD needs a “closed” file, so it will not work – but I want to try it.
    Big thanks to Mlerota – you are doing a great “job”, I hope you get enough money for it!

    Reply
    • mlerota says:
      May 4, 2017 at 08:17

      Thanks Phillip. I have enough money from my daily job :-). Don’t need it from AP-Linux.

      Reply
    • PHG says:
      May 14, 2017 at 19:20

      If your Dac has hardware volumen control check the volumen with alsamixer.
      (F6, select the soundcard and with + set the volumen to max. AP-Linux saves the state, not every OS does this)

      Reply
  33. Damiano says:
    May 4, 2017 at 18:28

    Hi, the AP-LINUX it is very beautiful.
    Please,I want ask information on keyborad IT.
    I have a Qwerty keybord and I want change the keyboard in format in IT on X-TERMIN.
    Please help me .

    thanks

    Reply
    • mlerota says:
      May 5, 2017 at 08:32

      Look for the setxkbmap -layout line in your .fluxbox/startup file in your home directory. Change it to it and restart.

      Reply
      • Damiano says:
        May 5, 2017 at 09:55

        thanks a lot

        Reply
  34. JG says:
    May 5, 2017 at 09:17

    Dear all,

    has anyone successfuly managed to install AP-Linux alongside with OSX on a Mac Mini? All my attempts have failed so far. I cannot achieve a working Grub installation. I think it is because of the Mac’s UEFI. Can anybody give a hint on that? You help would be very appreciated.

    Thanks

    Reply
    • mlerota says:
      May 5, 2017 at 09:36

      Not with grub but with systemd-boot.

      Reply
      • JG says:
        May 5, 2017 at 10:48

        Can you give me a hint where to find some more detailed description on that?
        Thanks a lot.

        Reply
        • JG says:
          May 8, 2017 at 12:36

          Hi mlerota, I successfuly managed it to get a bootable and well running AP-Linux insatallation on my Mac Mini. I have a Roon Server running in AP-Linux and can say that everything is running absolutely stable and smoothly, including upsampling to DSD512! Sound quality is excellent and I really prefer that solution over Windows and OSX too. Thanks for your very good work.
          JG

          Reply
          • Rory says:
            November 1, 2017 at 19:15

            Hi, I tried over and over again to install APLv4 on a Mac mini late 2012 model, not alongside OSX but just APLv4.

            Fdisked everything and followed all instructions. No errors so far. But when I boot I just got the grey ? icon and nothing ever happens. Can you please help me out here, how did you manage to get it running? Thanks in advance.

            Best regards,
            Rory

          • Marco says:
            April 18, 2018 at 05:28

            Hello. Please detail here. What command lines did you put to make your install sucefull on mac thanks

          • Marko says:
            April 18, 2018 at 09:17

            It should be the same principle. Only if you want to preserve your macos and have dual boot then is different. There are lot documentation on the internet how to install Arch linux on Mac. But instead of using official Arch image, use AP-Linux one.

  35. Damiano says:
    May 10, 2017 at 12:44

    Hi,
    I’m not familiar with Linux and I want to ask information about
    CANTATA.
    I have configured CANTATA as a sigle user, Because in multi user it did not work (he did not connect to MPD)

    That’s right ? I can use app MPDdroid with this
    configuration ?

    I tried to install GMPC, later I uninstalled CANTATA,
    GMPC does not find the MPD server, where did I go wrong ?

    Thanks for your help

    D

    Reply
    • dera says:
      May 11, 2017 at 06:36

      for MPDdroid
      in the ‘/etc/mpd.conf’ mpd config file try to add the line:
      bind_to_address “127.0.0.1”

      for cantata fail to connect
      try to delete all local configuration of cantata in ‘~/.config/cantata’ directory
      and replace the file ‘mpd.service’ in ‘/usr/lib/systemd/system’ directory with that ‘mpd.service’ what is located in the ‘/etc/apl-files’ directory

      Reply
      • Damiano says:
        May 11, 2017 at 08:16

        HI Dera,
        Thanks for the help, CANTXX is now connected, it works, but I have no audio.

        My dac is a Topping D30 24bit / 192kHz S / PDIF & USB DAC, support DSD64 and DSD128.

        With aplay -l I have the following sound cards:
        0: MID [MID Intel ..] Analogic [intel audio]
        1; X20 [xCORE] [USB Audio 2.0] [USB Audio]

        In MPD config I have entered:
        Name “USB 2.0 Audio”
        Device “hw: x20”

        or
        Device “hw: 1.0”

        In both cases I do not have audio

        Reply
        • mlerota says:
          May 11, 2017 at 08:59

          Install Deadbeef and try to play with that player. In settings select ALSA. I see that your DAC have support for Linux. So it should work. Also try running “alsamixer” in the terminal to see if your card is muted. Sometimes mute is the problem. Let me know if Deadbeef or mute worked.

          Reply
      • mlerota says:
        May 11, 2017 at 09:00

        Also try Deadbeef and “alsamixer” in terminal first to see if it works or is it muted.

        Reply
        • Damiano says:
          May 11, 2017 at 10:54

          sorry,
          I did not write this, I tried the DAC with AUDACIOUS and ALSA, the sound is spectacular.
          I have inserted the changes in the MPD.conf file in / ETC.

          Thanks for your help

          D

          Reply
          • Damiano says:
            May 11, 2017 at 13:07

            I read in your guide “Playing audio in AP-Linux with MPD” , this comment
            “…If you have DSD capable player, you should change configuration with Menu -> DAC Setup -> Set DSD-PCM playback and restart mpd service…”

            My DAC is DSD, Do I have to set the playback ? What option do I find ?

        • Damiano says:
          May 12, 2017 at 07:25

          Hi Mlerota,
          I check DAC with “alsamixer” in terminal, I have select DAC x20, after I see this situation:
          I see three indicator
          – first name “XMOS” = 00
          – second name xCORE… 0 = 100 %
          – third name xCORE… 1 = 100 %.

          con DEADBEEF player and ALSA the DAC don’t start, the player start and it stops after 1 second.

          other check I test other small DAC “MUSE DAC” (I ask to my friend), and fuction perfectly (I don’t change any configuration).

          Thanks you for your help

          Regards

          Reply
          • mlerota says:
            May 12, 2017 at 09:25

            This means that your DAC don’t have support in Linux kernel. Sorry.

          • Tom says:
            May 12, 2017 at 09:33

            It’s not particularly a DAC driver issue.
            Do you have a PCI-E USB card? I have a PPA v3 card and for some reason, it does not work with AP linux. It works on Ubuntu, OSX and Win but does not work on this AP ARCH distro. So if you have a USB card, try connecting your DAC into your mobo. Otherwise have a look at this thread that I posted on the ARCH forum, maybe you can find something useful:
            https://bbs.archlinux.org/viewtopic.php?pid=1708726#p1708726

  36. Martin P. says:
    May 11, 2017 at 14:02

    Hi, i have problem with installation, command “grub-mkconfig -o /boot/grub/grub.cfg” found only memtest86 image on /boot/memtest86+/memtest.bin , daphile image not found !! (should be something like vmlinuz) but grub nothing found , please help me . Iam booting from USB flash x86_64 kernel

    Reply
    • mlerota says:
      May 11, 2017 at 16:43

      I think you messed up something. This is not Daphile! 🙂

      Reply
      • Martin P. says:
        May 11, 2017 at 17:27

        Sorry, only “word” mistake, grubconf cannot find kernel vmlinuz-linux-rt , only memtest86, where is the problem ? , in chrooted /boot directory is memtest and syslinux , not vmlinuz … . Please help me .

        Reply
  37. Ievgenii says:
    May 11, 2017 at 14:53

    Hi everyone! 🙂

    Just some hints for people like me:

    If you want to configure mpd in mpd.conf – use Cantata standard configuration! This is very important, because if you use the “basic” configuration option – mpd.conf will not have any influence on Cantata.

    AP V4 sound is very sharp, focused and detailed.
    If you want to make it a little bit thicker and warmer – add format “*32:*” to your device configuration in mpd.conf. (if you have 32bit capable DAC) The difference is subtle, but noticeable.

    Reply
  38. Martin P. says:
    May 11, 2017 at 22:17

    Problem with missing kernel in grub config RESOLVED ! . For sucessfull installation you need working internet connection !! , without connection install script canon download necessary files from servers and cannot resolve conflict depencies. Offline installation not work !

    Reply
  39. Mentt says:
    May 11, 2017 at 22:20

    Is It possible to use AP as roon endpoint “bridge” ?

    Reply
    • mlerota says:
      May 11, 2017 at 23:28

      Yes

      Reply
  40. Jerry Korten says:
    May 12, 2017 at 03:22

    Thanks for all the work!

    Heard big differences in V3, now attempting to install V4.

    When running “Cantata First Run” I run into the following error: Connection to “Default” (localhost:6600) failed.

    I have tried editing MPD.conf directly to see what is out of sorts. Looks like the port won’t work? Any advice from anybody on the forum would be welcome.

    Thanks,

    Jerry

    Reply
    • Jerry says:
      May 12, 2017 at 14:04

      I did install deadbeef and audacious by issuing the terminal commands:
      pacman -S deadbeef
      and
      pacman -S audacious

      Which worked, but re-reading all of the posts above, I’m wondering if I “broke” MPD. Still I should be able to fix this by editing the .conf file, if I knew what the problem was. By the way when I use the linux command “hostname” it returns “apl”.

      Reply
      • Ievgenii says:
        May 12, 2017 at 21:38

        You could brake mpd only by updaiting it with Pacman -Suy, or with Pacman -S mpd.
        These are the instructions for fixing mpd after an update:

        cat /etc/apl-files/mpd.service > /usr/lib/systemd/system/mpd.service

        Mlerota gave me this command when I had the same question.

        Good luck!

        Reply
        • Jerry says:
          May 14, 2017 at 02:46

          The problem appears to be permissions. I use the command “systemctl start mpd” and the deamon fails to start. I then use “systemctl status mpd.service” and “journalctl -xe” and see that mpd has failed to access my storage device (permission denied) and fails to create a .pid file under .mpd.

          I have tried adding mpd to the root group to no avail. I did change the default name (during the installation) to my name, with my own password. Perhaps this is causing this problem?

          Thanks.

          Jerry

          Reply
          • Jerry says:
            May 14, 2017 at 13:56

            OK I did “sudo chmod -R 777 *” and “sudo chown -R *” to my music directory, and to my home directory and I’m now able to start MPD. The strange thing about Cantata is that it was not enough to say where my music library was (on a USB drive that I have to click on to mount – will change this in fstab to mount on boot) but I actually had to do a device scan. The “refresh database” didn’t do anything. Now I cannot find where “scan device” is in the menu list. It may only appear when the device isn’t scanned.

          • Lesenje says:
            August 9, 2017 at 14:04

            Can you give me detail instruction how you fixed that permission problem? Thx

  41. tubeman says:
    May 13, 2017 at 16:48

    howe can I change default GRUB to RT kernel

    Reply
    • PHG says:
      May 15, 2017 at 23:40

      install os-prober?

      Reply
  42. Hugh says:
    May 15, 2017 at 04:43

    This os is great for my htpc using kodi. Many thanks for all your hard work.

    Unfortunately, I can only get sound out of Kodi. Chrome, smplayer, etc. Don’t give audio output. I’m using an Onkyo AVR via HDMI, so there basically no connections to mess up, config is pretty simple and I know it works in Kodi via PCM and passthrough (Dolby/DTS, even the hi res).

    Alsamixer shows nothing muted.

    Any ideas?

    Reply
    • mlerota says:
      May 15, 2017 at 11:44

      Yes I know why. In ordinary Linux distributions, there’s a thing called Pulseaudio who automatically configure your browser, smplayer and the rest of the system to have sound. But this thing also do damage to “our” sound that we want. It sometimes down sample, up sample, mix and do many other things that we don’t want. That’s why this is disabled and your browser, smplayer and the rest of the things don’t work out of the box. So you have to configure this manually. Look at the file called .asoundrc in your directory. And change the ‘default “hw:0,0″‘ to something like ‘default “hw:PCH”‘. I got this values by “aplay -l” in terminal. I have:
      card 1: PCH [HDA Intel PCH], device 0: CS4208 Analog [CS4208 Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
      card 1: PCH [HDA Intel PCH], device 1: CS4208 Digital [CS4208 Digital]
      Subdevices: 1/1
      Subdevice #0: subdevice #0

      So I put “PCH”. Then restart your browser or smplayer.

      Reply
      • Hugh says:
        May 16, 2017 at 20:18

        Thanks! It took a second, but I got it to use “hw:0,3” and now it works fine!

        FYI, I tried “hw:HDMI” and “hw:PCH” but these didn’t work. I don’t know if I did something wrong, but I know you mention it’s important to have general descriptors rather than device numbers because they can change.

        aplay -l shows:

        card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
        Subdevices: 1/1
        Subdevice #0: subdevice #0
        card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
        Subdevices: 1/1
        Subdevice #0: subdevice #0
        card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
        Subdevices: 1/1
        Subdevice #0: subdevice #0
        card 1: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
        Subdevices: 1/1
        Subdevice #0: subdevice #0

        Reply
      • Ray Ton says:
        June 30, 2017 at 15:55

        Somehow I could never get it working with either hw:0,3 or hw:0,benchmark, ect….The only way I can get working is Disable only board audio device, then my benchmark dac works right away.

        Just for info if anyone has the problem with built-in audio devices.

        Reply
  43. Michael Taylor says:
    May 18, 2017 at 21:22

    Putting USB-SPDIF bridge between DAC & computer makes DAC invisible to AP-Linux. How can I get round this? MT

    Reply
    • PHG says:
      May 19, 2017 at 12:50

      You mean USB to SPDIF Converter?
      AP-Linux can’t see the DAC behind, but the Converter!

      Reply
  44. Marlon says:
    May 20, 2017 at 16:43

    Hey man, ty for the distro. The sound are more punch and detailed than 3.1, i really liked it.
    How can i get the flashplayer work on chromium? I want to use the Tidal Hifi, i tried a few things but couldn’t get it. Ty again and sorry for my bad english.

    Reply
    • mlerota says:
      May 22, 2017 at 10:13

      https://wiki.archlinux.org/index.php/chromium

      Reply
  45. Jeff says:
    May 28, 2017 at 02:55

    Runnng for a month now and the initial response to v4 is holding up just fine. In the same league as microRendu 2.5 IMHO.
    The new Sgt. Peppers is terrific on v4!

    Jeff

    Reply
    • mlerota says:
      June 8, 2017 at 10:00

      Thanks Jeff

      Reply
  46. Greg says:
    June 1, 2017 at 03:34

    Hi Marko, you mention .asoundrc – where should this file be? I think you have covered the answer in a previous reply – I have installed a usb dac/headphone amp that is recognised as a sound card, but emits nothing but hiss. As the setup works perfectly in mint, I assume it is a specific alsa issue within APL. Best wishes, Greg

    Reply
    • mlerota says:
      June 8, 2017 at 09:34

      It’s in your home directory. /home/user/.asoundrc. If you deleted it by accident, you can copy it from /etc/skel directory.

      Reply
      • Greg says:
        June 9, 2017 at 03:08

        Thanks Marko!

        Reply
  47. Mike says:
    June 5, 2017 at 01:29

    Hi,

    I’ve downloaded the iso image, but md5 doesn’t match. I can mount and dd the iso, but get a kernel panic at the start of arch image initializations.

    Any suggestion?

    Thanks,

    Mike

    Reply
    • mlerota says:
      June 8, 2017 at 09:31

      Just to download it again. md5 must match.

      Reply
  48. Radek Lenhart says:
    June 7, 2017 at 21:42

    I have a problem crashing some applications, especially those that work with video. The music goes absolutely fine, mostly I’m going through deadbeef and the improvement against V3.1 is enormous. Once I run Kodi or a Web browser and run any video with yotube, so after a few seconds, the whole PC will stiffen and nothing else but hard restart. In Version V3.1 everything was fine. Even though I have a PC mostly for music, it is an unpleasant thing I can not do any kind of concert eg from BD. Of course, is a regular update of all the packages. The configuration is: Intel Motherboard, SSD disk, BD drive, USB PCI card with jitter and 30A linear power supply

    Reply
    • mlerota says:
      June 8, 2017 at 09:30

      Sometimes this happens when new packages arrive. Arch people usually will fix this quickly. Do regularly “pacman -Suy” and the fix will come.

      Reply
  49. Ivan says:
    June 15, 2017 at 06:56

    How to setup network interface for static IP?

    Thanks

    Reply
    • Ivan says:
      June 21, 2017 at 10:57

      Founded solution at https://www.ostechnix.com/configure-static-dynamic-ip-address-arch-linux/

      Reply
  50. Leslie says:
    June 18, 2017 at 12:58

    My problem is Cantata “Connection to “Default” (localhost:6600) failed”. Why?
    First starting is alright. Cantata is work very good. After then is this problem.

    Reply
    • Ray Ton says:
      June 30, 2017 at 15:49

      I got exactly the same thing that took me a while to figure out but I forgot what I did. I believed I ran something in command that relate to below. Or something to the host. Try below while I will search the note on my pc to see what I did to fix it.

      Why don’t you run the the last 4 commands again at the bottom.

      # pacman-key –init
      # pacman-key –populate archlinux
      # pacman -Suy

      !!! Important!!!

      After updating the system with “pacman -Suy”, mpd config will brake. In order to fix this you will need to do the following:

      # cd /etc/apl-files
      # cat mpd.service > /usr/lib/systemd/system/mpd.service
      # systemctl daemon-reload
      # systemctl restart mpd.service

      Reply
    • Jerry says:
      July 11, 2017 at 15:07

      My library is 2TB and it takes a while for MPD to be fully up and running is my take on this issue. I regularly get ‘connection to “default”‘ messages but just wait and (you when you get an option to connect – connect) reconnect and things are up and running. I am running an Intel i7 fanless CPU which is no slouch either.

      Reply
      • mlerota says:
        July 11, 2017 at 15:24

        Then something is wrong. I also have large database of files and I don’t get any connection problems.
        MPD scan the files once and that’s it. You only scan it again when you add new files. Maybe you have
        some permission issues with the file storage. Make sure that the file storage has access rights for
        MPD.

        Reply
  51. Ivan says:
    June 21, 2017 at 10:53

    I have found out how to use Chord Mojo with AP-Linux
    With editor you need to make following changes to Audio section of /etc/mpd.conf and than you can play DSD native files

    [code]audio_output {
    type “alsa”
    name “Card Name”
    device “hw:Mojo”
    mixer_type “none”
    dop “no”
    dsd_native “yes”
    dsd_native_type “1”
    dsd_usb “yes”
    }[/code]

    Reply
    • Samuel says:
      July 1, 2018 at 11:01

      I’m pretty certain that Mojo only supports DSD over PCM, but I’ve confirmed your config works. Maybe it’s actually outputting DoP?

      Reply
      • Ivan Petrovic says:
        July 1, 2018 at 11:25

        Colors on the Mojo’s button showing DSD stream. Is it relevant indicator?

        Reply
  52. Ben says:
    July 2, 2017 at 14:37

    First, I want to say I’m excited by this distribution. I’d like to get back in to linux music making this summer and this seems like a great way to do it.

    Problem is, I’m having trouble with the install. Perhaps its the first step. Not sure. Don’t have enough experience. The line,

    “dd bs=4M if=/path/to/apl-v4.iso of=/dev/sdX status=progress && sync”

    doesn’t like the term “progress”.

    I also tried burning a bootable cd which didn’t work too well. It wouldn’t boot from that CD.

    I got a couple of missing this or that error messages so I redownloaded the ap linux image, but that didn’t do anything.

    Thinking maybe more automation would help, I was able to boot into an archbang live cd. I was unable to install this to the hard drive despite the automagic install process and online instructions.

    I was able to boot into a shell prompt using uefi on my strangely designed HP elitebook, but I have no idea whether that was the ap-linux shell or the archbang shell

    Reply
  53. ben says:
    July 3, 2017 at 04:17

    Was able to create some possibly helpful partioning with arch anywhere install. Starting to think my problem is with booting from usb with the HP’s weird UEFI setup — will read more :/ and try the install tips above again from this other arch-relative. If you have any tips I’m grateful, but not expecting it so no worries. I also may try finding a friend with a DVD burner to get this installed that way — seems to work okay with install CD-DVD media.

    Reply
  54. pavlos says:
    July 19, 2017 at 09:13

    Hi !
    Many thanks for the great job!

    I have a small advice for anyone who wants to install AP-Linux alongside with Windows in dual-boot and lives in a timezone with local time different than UTC.
    Because Windows treats hardware clock as local, and standard linux always treats hw clock as utc, I highly recommend to issue command (as root):
    # hwclock –systohc –local
    instead of
    # hwclock –systohc –utc
    By doing this you avoid problems with different times showed by your systems clocks.

    Reply
    • pavlos says:
      July 19, 2017 at 11:47

      Another way is to force Windows to treat hw clock as the utc time.
      Thorough description is placed in https://wiki.archlinux.org/index.php/Time

      Reply
  55. def1 says:
    July 22, 2017 at 16:35

    Hey.
    installation went smooth . after succesful reboot – no network anymore .. how ever i cannot get my network to connect .
    eth0 is shown in ifconfig
    driver is loaded but no chance to get the network up ?

    same with wifi card i installed

    ping 8.8.8.8 resolves nothing ( network unreachable )

    Reply
    • mlerota says:
      July 25, 2017 at 10:11

      What does “systemctl status dhcpcd.service” say?

      Reply
  56. Jose Alemany says:
    July 23, 2017 at 20:56

    Hi. I’m new to linux, Installing AP Linux 4 all went well till I rebooted.
    Can not load crc32c driver. Being dropped into emergency shell
    any advice?

    Reply
    • mlerota says:
      July 25, 2017 at 10:09

      Maybe this could help…https://bbs.archlinux.org/viewtopic.php?id=210673

      Reply
  57. PMartin says:
    July 27, 2017 at 10:46

    I have two questions ..

    1) How to enable battery status indicator on desktop or tray , is some method to check actual battery drain status ?

    2) My WiFi card is detected BUT, Network Manager ignore Enable Wireless menu option (nothing happen) , hardware switch is ON and lights , lot of people have this issue . Maybe old version of Network Manager ??..

    Thank you

    Reply
    • mlerota says:
      August 23, 2017 at 14:55

      For battery add this to .conkyrc
      ${color #1e90ff}Battery$alignr${battery_percent BAT0}%
      ${color #1e90ff}${battery_bar}${battery_percent BAT0}%
      ${color #1e90ff}ACPI $alignr ${acpiacadapter}

      Reply
      • Benny Chan says:
        September 14, 2017 at 12:44

        Hello Mlerota,
        I am new to Linux,
        Hope you can explain with a little more details on how to do this.
        Thank you.

        Reply
        • Benny says:
          January 22, 2018 at 09:12

          Forget to inform,
          Battery details has been added to Conky.

          Reply
          • Marko says:
            January 22, 2018 at 10:09

            I’m using this setup for laptop:
            ${color #1e90ff}Battery$alignr${battery_percent BAT0}%
            ${color #1e90ff}${battery_bar BAT0}
            ${color #1e90ff}ACPI $alignr ${acpiacadapter}

  58. Lesenje says:
    August 9, 2017 at 13:30

    I installed ap linux well but in conky I have massage “MPD not responding ” ?. I can play music well on other players and Cantata too but in a local mode, because it failed to connect … In conky my ip address is ok and internet is working well. What about VLC ? When I click on it nothing happens. Is it possible to put some shortcuts of players on the desktop and how? Also I need permission to mount internal ntfs drive. I am new in this matter. Thanks.

    Reply
  59. john says:
    August 16, 2017 at 20:50

    hi mlerota .. This is the easiest install yet .. have done 2’s and,3 .. had it installed and running in about a hour- which included a reinstall cause I tried a shortcut during the install.
    But, while editing a fluxbox config or two trying to get two desktops rather than one (dual monitors), I mnaged to lose the custom menu with the apps and mpd scripts, etc – and just now have basic fluxbox menu with non working term . I have tried a few things, but is there a way to restore the apl menus short of a reinstall?
    Thx
    John

    Reply
    • john says:
      August 23, 2017 at 18:34

      ok I have fixed it by hand but a replacement would be better …more specifically if someone could point me to a fluxbox backup menu file (” /home/user/.fluxbox/menu”) .. thanks..

      cz

      Reply
  60. junieboi says:
    August 17, 2017 at 13:56

    Hi, many thanks for the work you have done on AP-Linux, much appreciated. I am a newbie so my problem is written in plain English…sorry. The installation of V4 went well and straight forward, but once it’s running the OS freeze’s for about 5 seconds after any operation…key press, mouse usage etc. then normal operation and would then freeze again. I have reinstalled V3 on the same disk using the same laptop and that combo works fine. Any thoughts? keenly awaiting your response.

    Reply
  61. valerio says:
    August 19, 2017 at 21:18

    Hi,

    First of all many thanks for all the work developed.
    I’ve used all previous versions but I’m now trying to install v4 on a Intel NUC with SSD (where I always install) and I follow aal the steps but when I restart I can’t get it to boot…

    Thkz!

    Reply
  62. Aurumvorax says:
    August 21, 2017 at 17:12

    Once the installation was done I rebooted and got this error message:

    “User not known to the underlying authentication module”

    Now the boot is stuck in a loop.

    Any ideas?

    Reply
  63. Thomas says:
    August 27, 2017 at 17:39

    Hello,
    I’d got the latest version of AP-linux V3 and it worked good. But, one day, the second disk fell and the system crashed. So, I took this new version and I tried to install it. I respected the following but I never had sound. My DAC (Musical Fidelity) is connected to UAC2 (from M2TECH) and all is connected on PC via USB port. I tried, after reading post and information on the network, every solutions. None worked. I reinstalled AP-linux V4 but nothing…
    What’s the bug ? I think that MPD and USB are not friends… UAC2 worked with the latest version (and so USB).
    Can you help me mlerota or the community ?
    Thanks.

    Reply
    • Thomas says:
      August 27, 2017 at 19:36

      Hello,
      After the fourth resettlement, it works !!!
      I have tried all the written solutions you mentioned : hw:2,0 works !
      Sorry for the previous message… Like what, perseverance always pays!
      Thank you very much !! Good Sound !! Clear !
      I just have to configure the keyboard in French ! 🙂

      Reply
  64. Doug H says:
    August 31, 2017 at 00:59

    The installation seemed to go okay, but when I rebooted into AP Linux there is no menu in the upper left part of the desktop so I can’t access terminal (or anything). Also under “Network” heading on the right it shows no IP address. I’m using an Asus wireless adapter. Tried moving the wireless adapter from a USB 3 to 2 port, no change. Tried cycling through the workspaces, no change. Any suggestions are appreciated.

    Reply
    • Ray Ton says:
      September 9, 2017 at 18:17

      You didn’t read the full direction above

      ———-
      For wireless or manual IP setup, open terminal, become root and go to /etc/apl-files directory. There you will find “enable-wless.sh” script. Execute this script with ./enable-wless.sh and reboot. After reboot you will find one small icon on the right in the system tray that you can “right click” and edit your network settings.
      ———-

      But the first thing I recommend is hood up the wire network to update everything you want and make sure it works before change to wireless.

      There is no menu like windows. Just right click the mouse anywhere on desktop to access the menu.

      Please go back the instruction step by step and don’t skip anything that you don’t understand

      Reply
  65. Doug H says:
    August 31, 2017 at 01:00

    Should have mentioned that I installed AP Linux V4

    Reply
  66. John Casey says:
    September 2, 2017 at 15:32

    Hi

    I am trying to get audio via HDMI
    I have tried HW 1.0 and HW 1.3
    in mpd conf

    can someone tell me what to put in mpd.conf

    please see below for my setup

    cheers

    PS to install ap linux I used sda1 throughout untill the grub install where I changed to sda as sda1 did not work.

    **** List of PLAYBACK Hardware Devices ****
    card 0: SB [HDA ATI SB], device 0: ALC887-VD Analog [ALC887-VD Analog]
    Subdevices: 0/1
    Subdevice #0: subdevice #0
    card 0: SB [HDA ATI SB], device 1: ALC887-VD Digital [ALC887-VD Digital]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    /tmp/cards (END)

    Reply
  67. David says:
    September 10, 2017 at 18:21

    Hi,
    I would like to install AP Linux alongside windows 10. I can install AP Linux on its own SSD.
    I followed the instructions, which are very clear, but in the end, after reboot, I don’t have the possibility to boot on APL… in the boot option, i just can see the windows SSD. Is there something to do with EFI or something?
    Sorry to not being used with linux but it would be very nice if I could install it.
    David

    Reply
    • mlerota says:
      September 11, 2017 at 15:35

      You should be able to choose the boot disk in BIOS or with some F8 or F12 when your PC starts. It depends on the manufacturer of the motherboard.

      Reply
      • David says:
        September 11, 2017 at 16:30

        Thank you for your answer, that is exactly the problem, all I can see in the bios is the windows SSD. When the USB AP Linux is in, I can boot on USB or windows, I follow each step of the process, install AP Linux on sda (windows is on sdb) but when I reboot, take off USB stick and go to bios, the only boot option is windows.
        I probably do something wrong, I mention that I go to the bios with windows recovery reboot, and choose the advance option “modify the UEFI program”.
        Thanks for your help
        David

        Reply
        • PHG says:
          September 12, 2017 at 22:05

          Try to disconnect sdb – does sda boot?
          Try legacy (?) mode in the bios.
          If it works install os-prober “pacman -S os-prober” Then run “# grub-mkconfig -o /boot/grub/grub.cfg” again. OS-prober should find your Win installation.

          Reply
  68. Peter says:
    September 17, 2017 at 20:55

    Hi.
    Having problems installing AP. After reboot I’m choosing Archlinux, then it’s booting until the
    “blocks” display and then it stops. Nothing more happens. I think it’s the moment it normally switches into the correct resolution and shows all the following boot-steps. This is my experience with a lot of other distros I’ve installed. Could there be a problem with the X-Org server, or fluxbox and my Nvidia ION Chip?
    Regards
    Peter

    Reply
    • mlerota says:
      September 20, 2017 at 15:52

      When this happens, it’s usually that your graphic card is not supported. Try this:
      Install again and when you get to this step: “./autologin.sh” don’t do it. Pass this
      one and do the rest. This will not bring up the X after boot. So you will be able
      to login to command prompt without X window system. Then do:
      $ su
      # pacman -Suy

      Pacman command will upgrade the whole system and maybe this will include new drivers
      for your graphic card if they have it. Then try to do bring X system manually with
      “startx” or “xinit”. Hope this would help.

      Cheers

      Reply
  69. Peter says:
    September 20, 2017 at 16:42

    Thank you, I’ll try this.
    But when I use pacman -Suy the original (RT)Kernel will be upgraded (overwritten) with a generic Kernel (or another) too?

    Reply
  70. Peter says:
    September 20, 2017 at 17:53

    Done it, but when I reboot, this happens:
    starting version 232
    /dev/sda1: clean, 139711/1921360 files, 812413/7680000 blocks
    [ 2.986351] EXT4-fs (sda1): Cannot load crc32c driver.
    mount: mount(2) failed: /new_root: No such file or directory
    You are now being dropped into an emergency shell.
    sh: can’t access tty; job control turned off
    [rootfs ]#

    typing su:

    [rootfs ]# su
    sh: su: not found

    Reply
  71. Ronald says:
    October 5, 2017 at 15:29

    It was going fairly smoothly until I tried installing grub. Then came: “error: failed to get canonical path of ‘airootfs’.”
    Any clues?

    Thanks again.

    Reply
    • mlerota says:
      October 5, 2017 at 16:24

      Are you doing this in chrooted environment? Did you do “arch-chroot /mnt /bin/bash”?

      Reply
      • Jerry says:
        October 5, 2017 at 22:32

        If I recall correctly you have to install it on sda, not sda1 which device did you install it on?

        Reply
        • Ronald says:
          October 5, 2017 at 23:20

          Jerry,

          Maybe that’s where I went wrong. I did put it on sda1.
          Back to the drawing board.

          Thanks

          Reply
      • Ronald says:
        October 5, 2017 at 23:18

        Yes, used “arch-chroot/mnt/bin/bash.”

        Reply
  72. johan van de Sande says:
    October 7, 2017 at 05:34

    as Belgian with a azerty keyboard i can’t find howto set these instead of qwerty. I always used ubuntu and debian so I am not used to use comands often. but these azerty grrrrr lol
    I love these distro and face some more issues for example kodi can not see my firewire edirol fa66 , but is in the cardsettings so for the mpd. conf i enable this card. excelent music by the way congrats 🙂 I am now working in the puter with ssh because of the keyboard settings.

    is there a way to add nas networking drive for music. i used ciffs and this is working, but cannot add to my mpd

    Reply
    • mlerota says:
      October 9, 2017 at 14:31

      Yes there is a way to add NAS as a drive. Just search on the internet for “Arch linux nfs client” or “samba client” depending on what your NFS server runs.

      Reply
  73. Ronald says:
    October 15, 2017 at 19:53

    When I awoke this morning I had convinced myself I’d never get this right, and it was time to do something else…especially considering I know nothing at all about Linux. BUT, something said, “Give it one more try.” And I’m really glad I did. Clearly, the sounds coming from the speakers let me see right away why I used the piles of patience you recommended. Unfortunately, some years ago I used my allocation of Rakija (along with those belonging to several other people), so I’m afraid that option is not available to me. 🙂
    I’ve still got a few minor issues to work through, but we’ll get to those another day. Tonight, I’m just enjoying the MUSIC! Thanks a million!
    BTW…how do I send a donation?

    Reply
  74. Eaudio says:
    October 20, 2017 at 14:10

    Hello mlerota,
    you really did a great job. After Foobar < Daphile < Tinysqueeze , this is the way , effectively killing competition.
    A very good quality sound !
    However I twice installed Ap -linux , and VLC didn't want to run… I installed others softwares.

    And, is it possible to remote -control MPD by tablet ?

    Thanks for all.
    Eaudio

    Reply
    • mlerota says:
      October 20, 2017 at 16:06

      Yes. Search for MPD client on app store.

      Reply
  75. Marco says:
    October 28, 2017 at 18:12

    Just installed AP-Linux, everything went well the first time, but when I update software there are 7 packages that are always corrupted and I can’t install them.
    It seems not important, but the same things also happens with Chromium, and if I try to install Firefox instead it need one of the famous 7 packages to be installed…
    So everything fine but no browser.
    Another thing: Cantata don’t want tu use the default output I choose, and keep sending music to the loudspeaker. The other players work well instead (but I’d like to use cantata, it’s way bettere than the others…).
    Thank you for any help

    Reply
    • Clem O says:
      November 11, 2017 at 10:26

      The “7 corrupt packages” has a common author, and it appears his keyring wasn’t included or has changed recently. I got the same problem and solved it by repeating the following install sequence:

      # pacman-key –init
      # pacman-key –populate archlinux
      # pacman -Sy
      # pacman -S archlinux-keyring

      Regards,

      Clem

      Reply
  76. Coburn says:
    November 23, 2017 at 21:45

    Hello
    I installed AP Linux successfully. Now I need some advice.

    This computer is optimized for audio. This has a linear power supply, no fan, solid state hard drive and no sound card. I want to use the computer as a server to send music directly to a Sonore Signature Rendu renderer via LAN ethernet. I want to use a crossover ethernet cable to avoid having a router or hub in the signal path.

    The Sonore Rendu is a DLNA device.

    Can anyone tell me what I need to do next? I know a little bit about Linux but will need help.

    Reply
    • mlerota says:
      November 24, 2017 at 11:27

      What you are trying to do is to copy music from AP-Linux over
      ethernet to your box and then play it. This way you will not
      benefit of having AP-Linux installed. Actually it will be worse
      because AP-Linux is optimized for playing music. Not for sending
      files or “file sharing” over network. I mean it will work but
      that’s not it. What you need is file sharing server. And the best
      one is not Linux. But FreeBSD. I would suggest installing latest
      FreeBSD with ZFS filesystem and NFS server for sharing files if
      Sonore supports NFS. If not minidlna or Plex for dlna servers.
      Choose gigabit ethernet card that has good support in FreeBSD
      and you will be OK.

      Reply
  77. Reid says:
    November 29, 2017 at 00:27

    Hi mlerota

    Thank you for all work done to make this available to the public. Good Work.
    I have version 4 up and running. Play wonderful.
    Got an error in Cantana “MPD report the following error” No Such directory”. I only get this error when I mount NSF disk, but it still work.

    Did you implement Cover-art download like you did in version 3? This is not working on my setup?

    Reply
  78. Roscoe Primrose says:
    December 13, 2017 at 00:47

    I’m trying to install on a dual core atom netbook (32bit system). I can’t get past the initial boot menu as it’s trying to load boot/i686/vmlinuz, which doesn’t exist in the ISO…. Did you drop 32bit support?

    Roscoe

    Reply
    • mlerota says:
      December 20, 2017 at 12:31

      Yes. Since I think version 3.

      Reply
  79. john says:
    December 21, 2017 at 06:06

    mlerota,
    please help on:
    1. how do i make windows 10 as default os in a dual boot setup with ap-linux?
    2. can you pls recommend a picture viewer for ap-linux.
    3. i have installed ap-linux in ssd following your guide and windows 10 on first partition of another hard drive(not ssd) with “media” on the second partition. My problem is I can’t access the “media” (formatted as ntfs) in ap-linux. i didn’t follow your guide for adding another hard drive because i want the drive to be ntfs and not ext4. i tried:
    mkdir /mnt/ntfs
    mount -t ntfs /dev/sdb2 /mnt/ntfs (sdb2 is the second partition;media)
    cd /mnt/ntfs/
    mount | grep sdb2
    reboot

    In file manager, sdb2 is not showing. The above commands dooesn’t work for me. Oh i did install ntfs-3g too.
    Please help. other than the three issues, I’m very happy and thankful for your Ap-linux v4. It sounds wonderful.

    Reply
    • Ericaudio says:
      February 8, 2018 at 16:04

      John,

      for your pb :

      2. can you pls recommend a picture viewer for ap-linux.

      You can choose “Feh” or “Gpicview” . Both work on AP-Linux.

      Reply
  80. john says:
    December 23, 2017 at 07:13

    pls ignore item 3 (solved)

    Reply
  81. Luis says:
    December 27, 2017 at 18:33

    Hello to everyone,

    I just installed AP-Linux on a laptop and it runs okay. What led me to write this post is the fact that I have compared the sound quality of AP-Linux against Audirvana software because I can’t understand why two applications who claim to be bit-perfect have so different results. I can’t say now that one is better over the other, but is a fact that they sound different. Someone can explain why?
    Of course that, I have used the same output component for both software.

    Thanks to all.

    Reply
    • PHG says:
      February 26, 2018 at 12:31

      Yes I wondered about that too. If it’s played by the same Samplerate and same Bitdepth
      there should be the same bits at the output and I think in most cases there are the same bits.
      Seems to be a matter of timing, timing should be as perfect as possible, I think that’s the way AP-Linux does it.

      Reply
  82. lisa says:
    December 29, 2017 at 08:16

    Hi! Thank you for this gem.
    I tried to add a shared nfs directory of a nas, but i got stuck. First I tried it through fstab with
    192.168.0.201:/MSC /home/username/Music/NAS nfs nfsvers=3,users,ro,nofail 0 0
    where MSC is the name of the shared directory on the nas containing music and a directory called “NAS” was created in the directory /home/username/Music. The system’s response was:
    Unable to access “NAS”
    mount.nfs: access denied by server while mounting 192.168.0.201
    Then I tried to mount manually as written in https://wiki.archlinux.org/index.php/NFS#Manual_mounting
    Since both nfs3 and 4 are enabled on my nas, I tried it in both ways. For nfs3 “showmount -e servername” lists all the shared directories on the nas, but when i tried to mount “MSC” i got the same message (access denied by server). For nfs4 the root nfs directory was successfully mounted, but when I looked around there I saw nothing except the directory called Public (a factory setting).
    I guess I should set a username and password for mounting, but I did not find any option to do it in arch. Can you help me to solve this problem?

    Reply
    • lisa says:
      February 25, 2018 at 23:58

      Problem solved (or at least got around) with using samba through fstab.
      (However in File Manager with clicking on Other Locations I cannot connect to any server at the bottom on the window, since the Connect button is always dimmed.)

      Reply
  83. Luis says:
    January 10, 2018 at 12:39

    Hi,

    I modified the password in /etc/mpd.conf. Cantata is playing well after changing the password too. I would like to know what file I need to modify for what the menu in AL-Linux show me the correct sound playing instead of the message “MPD not responding”

    Reply
    • mlerota says:
      January 10, 2018 at 12:49

      After every update of mpd, you have to do:
      1. Become root
      $su
      2. run this commands
      # cat /etc/apl-files/mpd.service > /usr/lib/systemd/system/mpd.service
      # systemctl daemon-reload
      # systemctl restart mpd.service

      And this will be fixed.

      Reply
      • Luis says:
        January 10, 2018 at 13:05

        Hi,
        After running those command the problem persists. I don’t know if I explained well before.I am talking about the menu on the right side that shows system and MPD information.

        Reply
      • Luis says:
        January 10, 2018 at 16:13

        Solved. I also changed the password in .conkyrc and it has started to work.

        Reply
    • Jerry says:
      January 10, 2018 at 15:08

      How large is your database? Mine is 2TB and MPD needs some time to start up after boot. Even on an SSD drive (for the OS). You should have a “connect” button appearing. You just click on that and then go back to looking up stuff in your library and it should function.

      Reply
  84. Crojav says:
    January 18, 2018 at 21:05

    Grub-install

    “GRUB can have problems if you had some previous installation on the disk. So if it doesn’t work, it’s best to wipe disk clean.”

    I deleted all partitions on the SSD by fdisk, and gparted and I created a new partition. No matter, grub-install –target=i386-pc /dev/sda –force didn’t work.

    What helped was, before I started to install:

    # wipefs –all /dev/sda

    You do not left space in the beginning! So wipe all.

    And, “Yes I think many people put /dev/sda1 instead of /dev/sda when installing Grub.”

    Reply
  85. Andy says:
    February 8, 2018 at 08:46

    It is probably my lack of Linux knowledge (I am fine on the command line\power shell in Windows, but I have never had to play with Linux before) , but I can’t get MPD to recognise the NTFS formatted USB hard drive that all my music files are stored on. It doesn’t mount at start time, I guess I need to add an entry in fstab for that, but even when it is mounted and MPD is restarted it is not recognised, even though I can see and manipulate the files in both Filemanager and in a terminal window.

    Reply
    • Marko says:
      February 8, 2018 at 14:20

      Check the file permissions on your usb. You can do something like “chown -R your-username:your-username /path/to/mounted-usb/music”. Of course become root first with “su” in terminal.

      Reply
      • Jerry says:
        February 8, 2018 at 15:12

        Assume you have right clicked on the USB icon and selected update?

        Reply
        • Jerry says:
          February 8, 2018 at 15:23

          Sorry reply meant for Andy.

          Reply
      • Andy says:
        February 8, 2018 at 21:41

        Thanks – permissions and getting to grips with what mount actually does and how to use it did the trrick

        Reply
  86. Ericaudio says:
    February 8, 2018 at 15:55

    Hi,

    I have two problems using AP-linux :

    1- Second SSD hard disk (Winddows) on the same computer and Network hard disk, can’t be seen.
    AP-Linux tells me there’s a problem.
    USB storage is always seen in the file manager.

    2- I installed “MPD remote ” on my android phone and it needs to configure mpd server, I don’t know what IP Address to choose .
    192.168.1.1 or 192.168.1.85 (given by conky) do not work.
    For those interested, FreeFileSync /Debian is working on AP-Linux : huge time saving (audio files compare)
    Otherwise Ap-linux is THE audio source regarding the audio quality.

    Thanks for your job.
    Eric

    Reply
  87. nihil says:
    February 14, 2018 at 04:14

    Following the install procedure I spent hours getting things to work. You need to work on the installer before asking for money my friend. I’m moving back to a more reliable distro.

    Reply
  88. fraha says:
    February 14, 2018 at 13:22

    Hi, actually i´ve no idea how to change my card. Tried to follow your description, but i didn´t get it
    I like to get card 1 (USB Audio) –> DAC of my Amplifier
    But only type “alsa” works

    Reply
  89. john says:
    February 18, 2018 at 17:41

    @nihil: don’t go back yet. i believe you can do it too. before, i don’t know anything about linux but i was able to do it by following the installation instructions, this forum and google.
    this is the best distro for audio in my opinion.

    Reply
  90. john says:
    February 19, 2018 at 17:03

    @fraha try this: works for me
    dac setup> list cards (look for your dac. card 0, card 1, card 3 etc…)
    then misc> set def card> (choose your card)
    try play some music…goodluck

    Reply
  91. ruslannik says:
    March 8, 2018 at 06:50

    I followed the installation process and everything was just fine. I got the installed system. Then I updated the system following farther steps, installed chromium browser, checked if it can start and enjoyed music. After a month I needed to reinstall system. Following the installation process I installed the system again. I got the installed system again. However, I could not update the system by using command ‘pacman -Suy’. I got failed updating process. After I used command ‘pacman -Suy’ I got an error and updating process was interrupted.

    I got this error:
    error: failed to prepare transaction (could not satisfy dependencies)
    :: libxfont: removing fontsproto
    breaks dependency ‘fontsproto>=2.1.3’

    I just ignored that error and continued to install chromium browser. The installing process seemed okay, but the browser did not started.
    I checked mpd.config if it got broken as a result of update. I checked it before applying farther steps to fix it. However, mpd.config was not changed and Cantata player still could play music without any problem. Looks like the system was still not updated.
    What I did wrong? Did I skipped any installation steps? The first time everything was okay. I reinstalled system several times following step by step.. However, I got the same update error and I could not start chromium browser. I have no idea how I correctly installed the system the first time. Could anybody please help me? Thank you.

    Reply
    • Marko says:
      March 8, 2018 at 09:59

      It’s not your fault. Sometimes the upstream repository of packages gets broken.
      It can be solved. Try first “pacman -Rs libxfont” then “pacman -Suy” again.
      Then to fix mpd “cat /etc/apl-files/mpd.service > /usr/lib/systemd/system/mpd.service”
      and “systemctl daemon-reload” and “systemctl restart mpd.service”.

      Thanks

      Reply
  92. ruslannik says:
    March 10, 2018 at 07:45

    Thank you Marko. Unfortunately, the “pacman -Rs libxfont” command did not work. However, “pacman -Rdd libxfont” worked and I successfully updated the system. Could you please explain me what are differences between “pacman -Suy” and “pacman -Syu”. Which command will result in the kernel updating/upgrating? I did not find the discription of “pacman -Suy” command in pacman – ArchWiki, just the description of “pacman -Syu” command. Does it make sence to to use any of this commands if the kernel is going to be updatedg/upgrated. Thank you.

    Reply
  93. john says:
    March 11, 2018 at 20:55

    root@apl ~ # pacman -Suy
    :: Synchronizing package databases…
    core 129.7 KiB 378K/s 00:00 [############################################] 100%
    extra 1596.5 KiB 2.80M/s 00:01 [############################################] 100%
    community 4.2 MiB 2.96M/s 00:01 [############################################] 100%
    :: Starting full system upgrade…
    :: Replace compositeproto with extra/xorgproto? [Y/n]

    I’m not really sure if I should choose”Y” here. Please help.

    Reply
  94. Zdravko says:
    March 18, 2018 at 08:52

    Hi.

    I’m having a problem with SAMBA, i.e. the MPD service will not start and I receive the error message related to the problem with the file /usr/lib/libldb.so.1. The version LDB_1.1.30 required by /usr/lib/samba/lib cannot be found…

    Additionally, the OS always starts in the non-GUI mode, I always have to type “startx”. Not a big problem, just asking…

    Thanks in advance!

    Reply
    • Marko says:
      March 19, 2018 at 01:44

      I’m happy that you resolved the first problem. For the second, check the .zprofile file in your home directory. Maybe you changed username after installation.
      But it should have something like this:

      export QT_QPA_PLATFORMTHEME=qt5ct

      if [ -z "$DISPLAY" ] && [ -n "$XDG_VTNR" ] && [ "$XDG_VTNR" -eq 1 ]; then
      startx
      fi

      Reply
  95. Zdravko says:
    March 18, 2018 at 12:35

    I resolved the first problem by installing the ldb package.

    I have mounted my collection located on another PC (Ubuntu server, cifs).

    Cantata now works well with my DAC.

    Reply
  96. AP Linux says:
    March 25, 2018 at 18:33

    Hello!
    The desire to try your Linux AP turned out to be a failure.
    For 2-3 seconds, you receive a starting page AP Linux, but soon, the system throws an error. To watch the screen.
    What type of error, where to find the answer?

    Reply
    • AP Linux says:
      March 25, 2018 at 18:47

      Where can I send a screen screenshot to show what the system gives

      Reply
      • thatfatnerdfromnextdoor says:
        May 29, 2018 at 12:15

        Well… to this thread obviously… use a link from google drive or dropbox…

        Reply
        • Luis Morales says:
          May 29, 2018 at 12:43

          Please link from dropbox or something like that. I really appreciate your kind help.

          Reply
          • thatfatnerfromnextdoor says:
            May 29, 2018 at 13:42

            I am not quite sure, what you want now… You want a link to a webpage that helps you setup a link or am I wrong? Cause i can’t get you that link… you gotta go into your dropbox and share a file…

  97. Alex says:
    March 28, 2018 at 09:46

    Hi. I can’t install v4. Already deleted Win7. The process comes to grub-install and proceeds to install apk-files. Running grub-install, I receive an error “failed to get canonical
    path of airootfs.

    Reply
    • Thatffatnerdfromnextdoor says:
      May 23, 2018 at 21:56

      Hi Alex
      I had the same issue once… try the following:
      grub-install –target=i386-pc –recheck –debug –boot-directory=/mnt/usb/boot /dev/sdc
      replace sdc with the name of the device.

      Reply
      • Alex says:
        June 10, 2018 at 12:00

        Thanks. Reinstalled WINDOWS-7. Then I started the ARCHLINUX installation again. And everything began to work. Windows deleted the directory loop.

        Reply
    • Wirzubirzu says:
      May 23, 2018 at 21:59

      Hi Alex
      try:
      grub-install –target=i386-pc –recheck –debug –boot-directory=/mnt/usb/boot /dev/sdc
      replace sdc with your device

      Reply
  98. PHG says:
    April 14, 2018 at 21:33

    What’s about when pacman -Suy:
    :: Replace compositeproto with extra/xorgproto? [Y/n] n
    :: Replace damageproto with extra/xorgproto? [Y/n] n
    :: Replace dmxproto with extra/xorgproto? [Y/n] n
    :: Replace fixesproto with extra/xorgproto? [Y/n] n
    :: Replace fontsproto with extra/xorgproto? [Y/n] n
    :: Replace gnome-themes-standard with extra/gnome-themes-extra? [Y/n]
    etc.

    Reply
    • Marko says:
      April 15, 2018 at 19:59

      Just press enter and follow along. If you will have problems after that, check this line from documentation:
      pacman -Rc libxfont

      Reply
      • john says:
        April 15, 2018 at 21:43

        thank you very much

        Reply
  99. Zdravko says:
    May 4, 2018 at 19:59

    After enjoying my APL for some time I ran into a problem. We had a blackout today.

    After that I am encountering the following problem. Cantata cannot connect to MPD, and typical messages are:

    exception: Failed to bind to ‘[::]:6600’
    exception: nested: Failed to bind socket: Address already in use

    I have tried changing port number in the mpd.conf, killing mpd with mpd -kill, killall mpd and starting again etc. but to no avail…

    Any idea what happened?

    Reply
  100. Zdravko says:
    May 6, 2018 at 19:02

    I have resolved the problem, although I do not quite understand how.

    I removed the netctl package and set static address by the means of systemd.

    Now everything works again.

    Reply
  101. valerio farias says:
    May 12, 2018 at 23:14

    Just to say that before cat mpd.service > /usr/lib/systemd/system/mpd.service I have to give permissions to the file chmod 777 /usr/lib/systemd/system/mpd.service

    Reply
  102. Kevin says:
    May 19, 2018 at 16:13

    Hi I am running a virtual Parallels machine . after the latest package update for audiophile linux I cannot get x-org server to start and the VM does not load. Can anyone help with this issue?

    Reply
    • Marko says:
      May 21, 2018 at 09:39

      Why do you using virtual machine at all? The sound is bad from virtual machine…

      Reply
  103. Kevin says:
    May 21, 2018 at 14:29

    Hi I use the virtual because I don’t have a dedicated machine to use for AP Linux. The virtual machine does sound better than the mac though. Can this issue be resolved?

    Reply
  104. Wirzubirzu says:
    May 23, 2018 at 22:01

    Whenever I reply to somebody, my reply is not shown in the thread afterwards… Is there something i don’t understand?

    Reply
    • Marko says:
      May 24, 2018 at 09:29

      Because of spammers, every new comment needs to be approved. Otherwise the site would be full of junk.

      Reply
      • wirzubirzu says:
        May 24, 2018 at 14:01

        God bless you

        Reply
  105. Luis Morales says:
    May 29, 2018 at 01:55

    Dear Friends,
    Please i need your help.
    I am trying to install ap linux 4, but i got 2 issues:

    1.– after installing all according the steps, i got the message:

    “User not known to the underlying authentication module”
    Then a loop persists.

    2. Then if i omit the “autologin”” the booting seems ok but the system is not launched, just i got :

    Arch Linux 4.9.9-rt6-1-rt (tty1)

    apl login: ( here i entered user name)
    Password : ( here i entered password)

    [~]$ ( here the cursor is blinking y that´s all !!

    Anyone can guide me what i am doing wrong?

    I have the images of all the steps if needed.
    I have already wrote to info@ap-linux.com but i have not received reply yet.

    Thank you in advance.
    LuisM

    Reply
  106. thatfatnerdfromnextdoor says:
    May 29, 2018 at 14:01

    Hi Luis

    I suppose the username you entered is root…

    then you’ve done everything alrighty, but the Xserver(which i suppose is the default display server) maybe isn’t into your setup.

    That funny little cursor you’re seeing is the sweet ol’ Linux terminal cursor and he’s blinking cause he’s hungry for fresh linux meat…

    try $startx there. No idea what will happen, but it will may be pretty funny. Post the result…

    Reply
    • Luis Morales says:
      May 29, 2018 at 14:39

      Dear my friend,
      happy to tell you now i got the main screen!! thanks you!. Now , i guess i can start to know and use it.
      Dear my friend what about how to set automatic login and that “startx”, because as i explained my fisrt issue was the :

      “User not known to the underlying authentication module”
      Then a loop persists.

      How i can set auto “startx” , my idea is to turn on and forget that steps for a while, easy for any user at home 🙂

      thank you!!!!

      Reply
      • Thatffatnerdfromnextdoor says:
        May 29, 2018 at 20:35

        Dear your friend
        To be honest with you: I have never installed AP-Linux and i have absolutly no idea what our god and saviour mlerota put in that autologin script. 😀 Still waiting for my download to arrive after starting and stopping it for the past weeks(I left my credit card at home) 🙂

        So back to the point: I cannot really help you with autologin… but I don’t think that nice little login windows is that much of a problem(or is it?)
        maybe you can open the file with nano and find the error yourself…. if the login name is not root or the password is incorrect… i don’t know, but this would solve the other issue, I guess

        for the startx after login do the following:

        check if you already got this script:
        cat /root/.bashrc
        (if you get an ouput… it’s there. I don’t know this cause i still never set AP-Linux up 🙂 )

        if yes just add startx to the end of this file with the command:

        echo “startx” >> /root/.bashrc

        if no just grab yourself a copy of it at /etc/skel/ with the following command:

        cp /etc/skel/.bash_profile /root
        cp /etc/skel/.bashrc /root

        and then to the echo thing

        reboot your baby and pray to the Linux god

        Reply
  107. laurent says:
    May 29, 2018 at 20:54

    hello,
    I love this distro and i use it since a ong time without matter but now…
    I try without succes an update
    [~]# pacman -Suy
    ~
    :: Synchronizing package databases…
    core is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade…
    :: Replace compositeproto with extra/xorgproto? [Y/n]
    :: Replace damageproto with extra/xorgproto? [Y/n]
    :: Replace dmxproto with extra/xorgproto? [Y/n]
    :: Replace fixesproto with extra/xorgproto? [Y/n]
    :: Replace fontsproto with extra/xorgproto? [Y/n]
    :: Replace gnome-themes-standard with extra/gnome-themes-extra? [Y/n]
    :: Replace inputproto with extra/xorgproto? [Y/n]
    :: Replace kbproto with extra/xorgproto? [Y/n]
    :: Replace randrproto with extra/xorgproto? [Y/n]
    :: Replace recordproto with extra/xorgproto? [Y/n]
    :: Replace renderproto with extra/xorgproto? [Y/n]
    :: Replace rfkill with core/util-linux? [Y/n]
    :: Replace scrnsaverproto with extra/xorgproto? [Y/n]
    :: Replace videoproto with extra/xorgproto? [Y/n]
    :: Replace xextproto with extra/xorgproto? [Y/n]
    :: Replace xf86dgaproto with extra/xorgproto? [Y/n]
    :: Replace xf86vidmodeproto with extra/xorgproto? [Y/n]
    :: Replace xineramaproto with extra/xorgproto? [Y/n]
    :: Replace xproto with extra/xorgproto? [Y/n]
    resolving dependencies…
    looking for conflicting packages…
    error: failed to prepare transaction (could not satisfy dependencies)
    :: ffmpeg2.8: installing libvpx (1.7.0-1) breaks dependency ‘libvpx.so=4-64’
    :: ffmpeg2.8: installing libx264 (2:152.20171224-2) breaks dependency ‘libx264.so=148-64’
    :: ffmpeg2.8: installing x265 (2.8-1) breaks dependency ‘libx265.so=110-64’

    If i remove libvpx libx264 x265 it’s possible to update
    after i put this libs… again
    but cantata won’t start when i run it in a shell, i see some messages like “painter not active”
    who could hep me ?

    Sorry for my very English…

    Reply
    • Marko says:
      May 29, 2018 at 22:25

      Again there is an error in upstream repo of Arch packages. Try to remove conflicting packages with “pacman -R ffmpeg2.8” and then do pacman -Suy later.

      Reply
      • laurent says:
        May 30, 2018 at 15:22

        Hello,

        Thanks for your help. The path was not easy.
        Removing ffmpeg2.8 removed Cantata too…
        pacman -Suy give me something like that :
        :: Import PGP key 4096R/753E0F1F, “Anatol Pomozov “, created: 2014-02-04? [Y/n]
        I do :
        pacman -S archlinux-keyring
        pacman -Su

        by this way i can update :
        pacman -Suy

        next :
        pacman -S terminus-font
        pacman -S xorg-server
        pacman -S cantata
        but cantata still won’t work, so :
        pacman -Rc cantata

        I get the source of cantata :

        https://github.com/CDrummond/cantata

        and… make / make install later all works perfectly 🙂
        I need sleep now… I hope this could help someone

        Reply
        • Marko says:
          May 30, 2018 at 15:39

          Tnx

          Reply
          • laurent says:
            May 30, 2018 at 16:48

            for some perfection, cantata like this packages :
            perl-uri
            pkg-config
            libcdio-paranoia
            libmusicbrainz5
            libmtp

            for replaygain, burning cd,dynamics list…

        • john says:
          June 2, 2018 at 14:49

          “and… make / make install later all works perfectly”
          can you please show me how to do it in terminal.

          what should i do next after dowloading the source (cantata)

          thanks in advance

          Reply
          • laurent says:
            June 3, 2018 at 13:54

            unzip the source and go to the directory and :
            Build & Installation
            ====================

            1. mkdir build
            2. cd build
            3. cmake ..
            4. make
            5. sudo make install

            https://github.com/CDrummond/cantata/blob/master/INSTALL

    • PHG says:
      May 31, 2018 at 15:34

      I had to remove /usr/lib/libmozjs-52.so.0 too.
      After reboot there are no players in AP-Linux (working) – but MPD works.
      I removed Canata from AP-Linux, don’t need it. But how to remove Deadbeef and Audacious?
      Is there something like apt autoremove or apt clean in Arch? (The Internet is a bit confusing about this)
      Thanks again for the perfect sound!

      Reply
      • PHG says:
        May 31, 2018 at 15:45

        Deadbeef and Audacious had not beeninstalled, so there is nothing to remove.

        Reply
  108. Luis Morales says:
    May 31, 2018 at 23:57

    Dear friends,
    anyone knows how to set screensaver off in ap-linux ? I want to keep the screen always on.

    Thank you in advance
    LuisM

    Reply
    • Marko says:
      June 1, 2018 at 11:36

      Check the file .fluxbox/startup. In there you have line “xset dpms 600 1200 12000&” 600 represent 10 minutes. Replace the values with 60000 120000 120000. This should be enough 🙂

      Reply
      • Luis Morales says:
        June 1, 2018 at 15:35

        Dear Marko,
        Sorry i have no experience with linux , i tried but could not get the file, could you describe me how to, please? do i need to do by x-terminal or filemanager?
        Thank you
        regards
        LuisM

        Reply
      • Luis Morales says:
        June 1, 2018 at 22:31

        Dear Marko, i tried again and i got it ! thank you very much! Xset works fine for screensaver.
        Best regards
        LuisM

        Reply
        • Luis Morales says:
          June 2, 2018 at 00:03

          Hi friends, after rebooting ap-linux the original setting of xset persists, any idea how to keep the changes?? , while i change the xset i can see my new setting with “xset q” but after reboot everything come back to original setting.

          LuisM

          Reply
          • PHG says:
            June 3, 2018 at 14:36

            open terminal
            type:
            cd .fluxbox
            nano startup
            (then change the settings)
            ctrl & o
            enter
            ctrl & x
            reboot

          • Luis Morales says:
            June 4, 2018 at 17:37

            Dear friend PHG,
            thank you very much for your perfect instructions, it worked very fine!
            regards
            LuisM

  109. Sauger says:
    June 9, 2018 at 18:55

    Hello

    Please, is it possible to use SRC Resampler in AP Linux

    Thanks

    Reply
  110. Alex says:
    June 10, 2018 at 11:50

    Dear friend. I can’t find a solution. After using these commands.
    # pacman-key –init
    # pacman-key –populate archlinux
    # pacman -Sy
    # pacman -S archlinux-keyring
    April 5th 2018 fix. This command brakes

    # pacman -Suy
    The solution is to first remove libxfont like this:

    # pacman -Rc libxfont
    Answer yes and do it again

    # pacman -Suy
    # pacman -S terminus-font
    # pacman -S xorg-server
    # pacman -S chromium
    The last command will install web browser Chromium. Use pacman -S to install other
    programs like deadbeef, audacious or firefox.

    We need to reboot because April 5th fix

    # reboot
    I have reset. And get the following…
    Arch Linnux 4.9.9-rt6-1-rt ( tty1)
    apl login: alex (automatic login)
    Last login: Mon May 28 14:23:21 on tty1
    /usr/bin/Xorg: /usr/lib/libc.so.6: version ‘GLIBC_2.26’ not found (required by /usr/bin/Xorg)
    xinit : giving up
    xinit : unable to connect to X server: Connection refused
    xinit : server error
    then I applied
    After updating the system with “pacman -Suy”, mpd config will brake. In order to fix this you will need to do the following:

    # cd /etc/apl-files
    # cat mpd.service > /usr/lib/systemd/system/mpd.service
    # systemctl daemon-reload
    # systemctl restart mpd.service
    And did a reboot. Receive
    Arch Linnux 4.9.9-rt6-1-rt ( tty1)
    apl login: alex (automatic login)
    Last login: Mon May 28 14:23:21 on tty1
    /usr/bin/Xorg: /usr/lib/libc.so.6: version ‘GLIBC_2.26’ not found (required by /usr/bin/Xorg)
    xinit : giving up
    xinit : unable to connect to X server: Connection refused
    xinit : server error
    Help to solve this problem please.

    Reply
    • PHG says:
      July 2, 2018 at 11:42

      What you can try is to use a bootable USB stick with a Linux Distro (Slax is nice and automounts all discs) – look at “https://distrowatch.com/table.php?distribution=audiophile”
      and download the glibc 2.27. Unpack it and if you find libc.so.6 you can try to copy it to
      /usr/lib/ (Ap Linux). That’s the way i would try it.

      Reply
      • PHG says:
        July 9, 2018 at 10:22

        I unpacked glibc 2.27(just for interest), but I don’t find a libc.so.6 file – seems to be the wrong way.

        Reply
  111. wp says:
    July 11, 2018 at 06:33

    Hi,

    I also faced similar problem.
    After reboot, I received following message;

    Arch Linux 4.9.9-rt-6-1-rt(tty1)
    apl login
    Last login
    /home/*****/xserverrc: line 3 /usr/bin/Xorg: No such file or directory
    xinit: giving up
    xinit: unable to connect to X server: Connection refused
    xinit: server errpr
    [~]$

    Pls help.

    Do you think I may solve above by:
    (a) Do not input #./autologin.sh
    or
    (2) Skipping $ pacman -S xorg-server

    Thanks in advance.

    Reply
    • Alex says:
      July 12, 2018 at 13:15

      Hi. If your computer has Nvidia optimus driver installed will not work xserver. You need to replace the driver with intel. It’s not easy. I can’t do it yet.

      Reply
  112. Shin Ono says:
    July 12, 2018 at 16:33

    I am a newbie to Linux but I downloaded a copy of payed AP-Linux-V.4.0.iso and used Rufus to make a USB installer. I am using a mini PC with Windows 10. Installing APL on a 64 GB USB Flash Drive. After many attempt I finally arrived to the point where I see the following without any error massages;

    Arch Linux 4.9.9-rt6-1-rt (tty1)
    apl login: MyUserName
    Password: xxxxx
    Last login: xxxxxxxxxxx
    {~]$ _

    I modified fstab as described. And rebooted many times.

    BUT…
    I HAVE NO IDEA HOW TO MAKE THE AP Linux GUI APPEARED!

    Am I missing something simple that everyone knows or have I done something wrong during installation? (I have two lines in fstab, the second one is for EFI)

    Please help anyone!

    Reply
    • Marko says:
      July 12, 2018 at 16:51

      fstab does not have anything with GUI. Try running startx or xinit from the console and look for the errors. Maybe your graphic card is not supported…

      Reply
      • Shin says:
        July 13, 2018 at 14:32

        Thank you so much for your help!

        I typed startx and xinit then i got the followings.

        # startx
        xauth: file /home/shin/ .Xauthority does not exist

        # xinit
        /usr/lib/Xorg: /usr/lib/libc.so.6: version ‘GLIBC_2.26’ not found (required by /usr/lib/Xorg)
        xinit: giving up
        xinit: unable to connect to X server: Connection refused
        xinit: server errow

        Reply
        • Marko says:
          July 16, 2018 at 11:56

          That means that installation didn’t pass OK. You have to install missing packages. Can you try this commands?
          # pacman -Suy
          # pacman -S terminus-font
          # pacman -S xorg-server

          Reply
          • Shin says:
            July 16, 2018 at 18:42

            Thanks!!
            I was able to install Suy after removed ffmpeg2.8 with pacman- Rc, not pacman -R.
            I finally got GUI.

            However I cannot connect to my NAS server. No sound from my DAC.
            I installed KODI, and I could connect to my NAS and got sound from my DAC only through KODI.

            Also I have few more problems.
            1) Loud popping noise when starting new track. (My Audirvana on Mac and PC make no noise using the same DAC)
            2) AP-Linux freezes in the middle of playing video or music and using Chromium.

            Please advice!

          • Jerry says:
            July 16, 2018 at 18:55

            One solution.

            for NAS access you need to create a dummy directory (mine in /home/media so it doesn’t get backed up when I backup /home/jerry).

            Then put an entry into your /etc/fstab file like this (at end of file)

            192.168.1.168:/media /home/media nfs _netdev,auto 0 0

            Beware if your NAS is off you computer will wait for 2 minutes during boot to try to attach to this location. So put a # before this entry before you shut down your NAS.

            (You need to know your NAS address – in my case fixed for this exact reason)

        • Ray Ton says:
          July 28, 2018 at 02:23

          Don’t run # pacman -S xorg-server
          I have tried to install 3 times, I got the same messages as you are, couldn’t boot up. So I gave up. Just install are normal but don’t run that command.

          I know Marko said installation didn’t pass but I have retried 3 times without success. I will play around more later to see what happen.

          Reply
          • PHG says:
            August 23, 2018 at 21:24

            I think I have to clone my old APL V.4 partition.
            I have still a V 3.1 partition, unable to update, but without a internet connection……….

  113. valerio farias says:
    August 17, 2018 at 20:06

    after removing libxfont it keeps asking if I wanna remove this and that and I can no longer see the desktop…

    Reply
  114. ruslannik says:
    August 28, 2018 at 05:44

    Marko, could you please help me to disable suspend mode. I do not need to suspend the ap-linux operation system.
    I found out from wiki.archlinux.org that I need to add the following to file /etc/X11/xorg.conf.d/10-monitor.conf in the ‘ServerLayout’ section:
    Section “ServerLayout”
    Identifier “ServerLayout0”
    Option “StandbyTime” “0”
    Option “SuspendTime” “0”
    Option “OffTime” “0”
    Option “BlankTime” “0”
    EndSection
    However, I did not find any files in /etc/X11/xorg.conf.d/. The folder /etc/X11/xorg.conf.d/ exists, but it’s empty.
    Thank you.

    Reply
    • Marko says:
      August 28, 2018 at 10:22

      It’s in a .fluxbox/statup file. Look for xset dpms 600 1200 12000& line. The numbers are seconds. Replace them with bigger numbers or
      disable with. “xset -dpms”. I don’t know if this “-dmps” works.

      Reply
      • Luis Morales says:
        August 28, 2018 at 15:58

        Dear ruslannik,
        i share you my startup, it worked very fine for me, thanks to the people from aplinux .

        Below you will note the line for what you need “xset s off -dpms&”, so the screen will never suspend.

        I hope be useful for you.

        #/usr/bin/fbsetbg -f ~/.fluxbox/backgrounds/deb2.jpg&
        /usr/bin/fbsetbg -a ~/.fluxbox/backgrounds/deb2.jpg&
        xset m 1 2&
        xset -b&
        #xrdb -merge ~/.Xresources&
        setxkbmap -layout hr us&
        #stty erase ‘^H’&
        xset s off -dpms&
        #vlc -I http –http-host 192.168.1.150&
        nm-applet&
        conky&
        cantata&
        exec fluxbox

        Reply
  115. kagemasa says:
    September 30, 2018 at 01:47

    I want to rerun “Cantata First Run” and configure from the beginning.
    How do I do? I just installed v4 and trying to configure for mpd+cantata.

    Reply
    • Marko says:
      October 1, 2018 at 11:56

      go to .config directory and remove cantata directory

      Reply
  116. Klaus says:
    October 2, 2018 at 07:08

    Hi Marko,
    I’ve been trying to install ap linux two times. Everything worked fine until the reboot. Then the record “invalid partition table” appeared. What have I done? I’ve chosen the option “amd64” in “legacy boot” during the installation because “i686” didn’t work. Again, I’ve tried the option “uefi boot” with the same result. Now I wonder if some changes in the BIOS are necessary. Whats’ wrong an what can I do further more?
    Thanks in advance

    Reply
    • Marko says:
      October 2, 2018 at 12:35

      Can you send me the output of “fdisk -l” command? And the /etc/fstab file?

      Reply
      • Klaus says:
        October 2, 2018 at 13:21

        The message “invalid partition table” is all I can achieve. No more other commands are possible.

        Reply
        • Marko says:
          October 2, 2018 at 13:30

          I meant launch the installation image again and when you get to the prompt, type this command.

          Reply
  117. Damiano says:
    October 8, 2018 at 13:20

    Hi all,
    I read on the web that ARCHLINUX 32 bit is no longer supported.
    I have a 32 bit pc, is this a problem?

    Reply
  118. Damiano says:
    October 10, 2018 at 08:38

    Hi Marko,
    I have install AP4 in my computer (32 bit). The installation is it finish good, Bat after update system with this command see:
    Execute these commands. First command will take a while…

    # pacman-key –init
    # pacman-key –populate archlinux
    # pacman -Sy
    # pacman -S archlinux-keyring
    April 5th 2018 fix. This command brakes

    # pacman -Suy
    The solution is to first remove libxfont like this:

    # pacman -Rc libxfont
    Answer yes and do it again

    # pacman -Suy
    # pacman -S terminus-font
    # pacman -S xorg-server
    # pacman -S chromium

    and REBOOT I have black screen and cusor blink.

    Please help me

    Regards

    Reply
  119. Ronald J. Ellis says:
    October 12, 2018 at 22:32

    Damiano,
    Ran into the same problem when I re-installed recently after several months of smooth sailing..
    Then I saw Ray Ton’s comment from July 28, 2018 at 02:23.
    And sure as sh_t when I ignored the “pacman -S xorg -server” command I got things working smoothly again.
    As I’ve stated before, I know next to nothing about Linux and even less than that about Archlinux. What it means to leave off the xorg thing I have no idea. But all that matters now is that I can enjoy my glorious music AGAIN!
    Maybe some of the experts will have pity on us one day and show us the way forward.
    Until then, just listen to Ray Ton on this one.

    Good luck

    Reply
    • Damiano Trionfetti says:
      October 24, 2018 at 12:45

      Thanks Ronald

      Reply
  120. JG says:
    October 19, 2018 at 14:01

    Hi Marko, is it possible to run AP-Linux in headless mode, i.e. without screen , keyboard and mouse and to remote control the User Interface by let’s say VNC?

    Regards

    Reply
    • Marko says:
      October 19, 2018 at 14:10

      Yes

      Reply
      • JG says:
        October 22, 2018 at 20:34

        Works perfect with NoMachine 👍👍👍

        Reply
  121. Peter says:
    October 21, 2018 at 14:18

    Hi Marko,

    Thank you so much for this excellent distro! I’m using it for the streamer I built for my hifi minded sister. And I’m planning to switch from Daphile to AP Linux on my own streamer.

    I have one question: it seems that log level is set to “verbose”. Since I’m a bit concerned about the future log file size, I have been trying to change the log level to “default” in MPD’s configuration file. To no effect. It just keeps logging the “verbose” way. Can I change that some other way, or shouldn’t I be worried about the log file size in the long run?

    Peter

    Reply
    • Ed says:
      October 28, 2018 at 20:38

      You can always rotate the log file…

      Type the following to check user and group for mpd.log:
      ls ~/.mpd/mpd.log

      Then create a file in /etc/logrotate.d:
      sudo nano /etc/logrotate.d/mpd

      Enter the following (replacing USER GROUP with info from above):
      ~/.mpd/mpd.log {
      weekly
      size 1k
      create 644 USER GROUP
      rotate 1
      }

      Save and quit nano (CTRL+O ENTER CTRL+X). The instruction will automatically run once a week keeping a single log file with the last 1KB of data

      Reply
  122. JG says:
    October 23, 2018 at 10:27

    Hi Marko,

    how can I change the standard en-us keyboard layout to german layout? I tried it according to the Arch Linux manual but wasn’t successful so far. Obviously I make a mistake here. Can you help me please?

    Regards

    Reply
    • Marko says:
      October 23, 2018 at 10:42

      Check the ~/.fluxbox/startup file and change this line “setxkbmap -layout hr us&” to “setxkbmap -layout de&” and restart AP-Linux

      Reply
      • JG says:
        October 23, 2018 at 11:17

        Hi Marko,
        Thanks for the swift reply. Will try it out in the evening and report back then. Let me ask another question. Yesterday I have installed the HQPlayer in AP-Linux. It works fine so far but my Mac Mini is getting quite warm when I use the HQPlayer, especially in upsampling mode. Conky shows CPU-Temperatures of around 92-95°C. Basically I think that this is quite normal considering the computation demand of HQPlayer but I’m wondering whether the AP-Linux Kernel fully supports Multi-CPU/Core usage here? Do you have an idea?

        Regards

        Reply
        • Marko says:
          October 23, 2018 at 11:21

          AP-Linux is multi core. It’s not normal to have this high spike in CPU. It’s a sound processing. Not the huge video editing/rendering or playing games on windows. I think something is wrong with the HQPlayer.

          Reply
          • JG says:
            October 23, 2018 at 11:47

            That’s my feeling too. What I can see in Conky is a little bit strange. The CPU Temerature is around 92-95°C (as described above) whereas the CPU load is shown with 25% only. By the way: what does Conky with standard configuration show regarding CPU load? Since I have 4 Cores I would expect Conky shows 4 horizonatl bars, but it is only one. Maybe I have to change the Conky configuration first to see the load of all 4 Cores?

            BR

          • Marko says:
            October 23, 2018 at 11:49

            Don’t use Conky. Run “top” in terminal.

        • JG says:
          October 23, 2018 at 18:48

          Perfect. Problem solved. Thanks a lot.

          Reply
  123. Ed says:
    October 26, 2018 at 20:37

    Fantastic work Marko – many thanks for making this available to the audiophile community.

    For anyone running a headless system I recommend installing abcde for cd ripping/tagging/encoding – makes the whole process very straightforward:

    pacman -S abcde

    Then install this conf file for flac output: http://www.andrews-corner.org/linux/abcde/abcde_lossless.html#flac

    Reply
  124. Ed says:
    October 26, 2018 at 20:51

    I couldn’t find a comprehensive command line tagger to batch process audio files so I wrote my own. If anyone wants to try it you can download it here: https://github.com/arcamagna/tagall – there are 2 scripts that should be copied to /usr/local/bin – once installed navigate to a directory with audio files you want to tag and run tagall.sh in your shell.

    Reply
  125. Steve says:
    October 26, 2018 at 23:26

    Hi Marco,

    I’ve installed APLinux. It has gone ok for the begining but in the end it seems something is missing.
    I’ve got a black screen with :
    usr/lib/Xorg: /usr/lib/libc.so.6: version ‘GLIBC_2.28’ not found (required by /usr/lib/Xorg)
    idem 2.26 idem
    xinit: giving up
    xinit: unable to connect to X server: connexion refused
    xinit: server error
    [“]$

    will try again tomorrow…

    Steve

    Reply
    • Ponderguy says:
      November 3, 2018 at 15:58

      I get exactly the same.

      Reply
      • Luc says:
        November 4, 2018 at 16:04

        The solution is there :
        https://opensource.com/article/18/9/audiophile-linux-distro

        Lucky guys!

        Reply
  126. Benny says:
    November 1, 2018 at 09:59

    Hello,
    How can I add a ‘sleep’ or ‘suspend’ in the Fluxbox menu?
    I understand I can do it manually by – systemctl suspend.
    Thank you.

    Reply
    • Benny says:
      November 8, 2018 at 08:32

      Finally I figured it out the method to do it.

      Reply
  127. Ponderguy says:
    November 3, 2018 at 15:54

    After each completed install I get the same error :-

    /usr/lib/Xorg: /usr/lib/lib.so.6 version ‘GLIBC_2.28’ not found (required by /usr/lib/Xorg
    usr/lib/Xorg: /usr/lib/lib.so.6 version ‘GLIBC_2.26’ not found (required by /usr/libXorg
    xinit giving up
    xinit unable to connect to Xserver: Connection refused
    xinit: server error

    Any ideas?
    My hardware in an Intel NUC 6i5

    Reply
    • Sauger says:
      November 4, 2018 at 18:31

      Hi

      Look there
      https://opensource.com/article/18/9/audiophile-linux-distro

      Reply
  128. Ernanto says:
    November 6, 2018 at 16:11

    Hi Marko,

    I did the latest update and suddenly my mpd is no longer working. I could see it when apl boot mpd is not working. I tried to reinstall and do full update – still same problem. Just now I did another fresh install, leave it on version 232 and then update “only” mpd – have same problem now. Any clue how to fix it? Thanks.

    Reply
    • Marko says:
      November 6, 2018 at 17:17

      Become root in terminal with $su
      Then enter this commands:
      # cat /etc/apl-files/mpd.service > /usr/lib/systemd/system/mpd.service
      # systemctl daemon-reload
      # systemctl restart mpd.service
      You have this in install instructions. Every time you update mpd, you have to do it.

      Reply
  129. Ernanto says:
    November 7, 2018 at 04:48

    Hi Marko,

    Thanks for the reply – I have done several update from in the past and run smooth – only this time I face the problem although I have done all the necessary action as mentioned. Wondering if any other person face the same problem.

    Reply
  130. Benny says:
    November 8, 2018 at 08:26

    I have been updating with # pacman -Suy, regularly for sometimes.
    Following the instruction given in this forum always result in a good working copy of APL4 which I enjoyed so much. – Thank you Marko.
    But recently I noticed *.wav files no long playback in Cantata, or it just playback for a few seconds, then repeat and repeat the few seconds of music.
    On the Cantata interface, ‘show track rating’ no longer workable.
    I installed ‘gmpc’ which also behave similar to Cantata, wav files no longer playable.
    On other media player like vlc, smplayer, wav files playback without any problem.
    Can someone help.

    Reply
    • Marko says:
      November 8, 2018 at 09:45

      Cantata is just an interface to mpd which actually plays music. So probably with the update of mpd, came bug in mpd code that relates to *.wav files. You will have to check mpd forums and wait for another update that will fix it. The other solution is to install older mpd until they fix it. You can find older packages in /var/cache/pacman/pkg directory.

      Reply
    • PHG says:
      November 11, 2018 at 10:16

      I updated APL4 (and MPD) without any problems.
      Try to update the mpd Database.

      Reply
  131. PHG says:
    November 10, 2018 at 17:33

    Does someone have experience with upmpdcli (upnp front-end to mpd) and AP-Linux (or other arch linux distributions)?

    Reply
  132. Albert says:
    November 11, 2018 at 13:08

    I have a problem in relation to the internet. When I finish the installation and start the operating system I do not have internet. I do not understand how I can have internet if I do not enter the Wi-Fi password previously.

    And another thing, with cfdisk I have to make the disk bootable, if I do not do it, the operating system does not start.
    Even with the grub installed.

    Reply
  133. Dan P says:
    November 11, 2018 at 17:51

    Hi Marko,

    Thank you for your work and for the really great sound ( I used APL from APL3.1 and I was a happy user of APL4.0 until my old pc died).

    I tried to install APL4.0 on my new pc – nvidia 1080 video card. I use my tv as monitor(4k). After X start, my mouse pointer is stuck on top left corner, but the mouse is functioning normaly (same after # pacman -Suy). I tried to downgrade libinput down to 1.10.0 but with no succes (mouse and keyboard didn’t work at all – had to hard reset). As i read online, the solution for this bug is to use a linux kernel greater than 4.10 – APL is 4.9…
    I don’t know much about linux… so any help is appreciated. Thnks

    Reply
    • PHG says:
      November 21, 2018 at 13:10

      If it’s only a problem because of 4k monitor you can try to start ap-linux with an other (lower)
      resolution. You can connect with ssh, so you are able to change the files – look ät the web.

      Reply
  134. Sauger says:
    November 12, 2018 at 09:05

    Hi,

    Please how can i autorun jack on system startup.

    Thanks

    Reply
  135. Paolo says:
    November 14, 2018 at 16:57

    Hi all, every time that i try to setup samba client the MPD client does’nt work anymore..could you please someone help me why?
    After i install samba client with pacman command, mpd configuration will be corrupted…help me please is the last stuff that i have to configure to access my music library on the nas…thanks to all.
    Paolo

    Reply
  136. PHG says:
    November 21, 2018 at 13:40

    Dear Marko,

    I installed upmpdcli as an upnp frontend to mpd.
    (I stream TIDAL with Audirvana plus to APL)
    It’s a bit crazy – only 88,2khz(or more) are working, no 44,1khz, but I can upsample with Audirvana.
    I think in this case of use it’s better to run MPD as mpd, not as user.
    Do I have to change in the mpd.service files the user to mpd and in /etc/mpd.conf I should use the path /var/….(not /home/user….). for directories ? Or do I have to do it otherway?
    Thanks for your time!

    Reply
    • PHG says:
      November 23, 2018 at 11:24

      That’s the way to run mpd as mpd, as discribted above.
      But that was not the problem – something ist too fast for upmpdcli and/or mpd.
      With upsampling to 384khz the only problems is that very short tracks (around 30 sec) don’t play and I have to wait a long time if I want to skip to the next track. With 192khz this could happen to tracks around 1min30sec.
      But the sound is great -I newer liked the sound of my Headphone-Dac very much. But with DSD256 (dop) upsampling it’s very nice.

      Reply
  137. Almazeikin says:
    November 26, 2018 at 15:05

    Hello to all! Installed AP Linux 4, as stated in the installation. there is such a mistake
    xinit: giving up
    xinit: unable to connect to X server: Connection refused
    xinit: server error

    Please tell me what to do?

    Reply
    • Marko says:
      November 26, 2018 at 15:34

      What graphic card do you have?

      Reply
      • Almazeikin says:
        November 26, 2018 at 16:07

        video card radeon eah 4670. Already made this link https://opensource.com/article/18/9/audiophile-linux-distro
        It all worked.
        Thanks for such a great job, cool stuff !
        please tell me how to choose a language in the settings

        Reply
  138. duanbui says:
    November 26, 2018 at 15:30

    please help me
    after run

    # pacman-key –init
    # pacman-key –populate archlinux
    # pacman -Sy
    # pacman -S archlinux-keyring

    # pacman -Suy

    # pacman -Rc libxfont
    Answer yes and do it again

    # pacman -Suy
    # pacman -S terminus-font
    # pacman -S xorg-server
    # pacman -S

    # reboot

    # cd /etc/apl-files
    # cat mpd.service > /usr/lib/systemd/system/mpd.service
    # systemctl daemon-reload
    # systemctl restart mpd.service

    mpd not responding

    Reply
    • PHG says:
      November 26, 2018 at 15:39

      Don’t know if you done it – the last 4 lines have to be executed as su.

      Reply
  139. duanbui says:
    November 27, 2018 at 02:10

    thanks PHG
    the first I run Su
    and run last 4 lines

    Reply
    • PHG says:
      November 27, 2018 at 11:07

      If this does not work:
      sudo systemctl status mpd.service
      Look at the message, if mpd is running, (active) you have to check and edit your mpd.conf.
      look at the Audio Outs with aplay -l
      sudo nano /etc/mpd.conf
      Set the correct Audio out (hw:0:0 or hw:1:0…..) and set a direct path to your music directory.
      make a # before user and password. Save, close and restart (replace status from above with restart) mpd.
      If this does not work……….I don’t know.

      Reply
  140. duanbui says:
    November 27, 2018 at 15:03

    thanks
    mpd id running
    and how to play music on USB storage by cantata

    Reply
    • PHG says:
      November 27, 2018 at 16:30

      I down know if there is an automount for USB storage. But you can mount the USB storage with the File-Manager (should be) and then your device should be on /mnt/sdb1 (or sdc1 or…)
      (Maybe it’s an other Directory)
      Set the music path in mpd (something like /mnt/sdb1/Music).
      You can mount it with the fstab file so it’s mounted while booting. But pay attention, a wrong fstab could make your system unbootable, so carefully look to the web (google fstab USB) and try to mount it manualy before rebooting! The nofail option has to be set.

      Reply
      • duanbui says:
        November 28, 2018 at 03:04

        PHG
        Thanks for your enthusiastic help

        Reply
        • PHG says:
          November 28, 2018 at 12:42

          As an enthuasiastic AP-Linux listener………..

          Reply
  141. Almazeikin says:
    December 1, 2018 at 10:41

    Please tell me how to reinstall cantata. First remove and reinstall.

    Reply
    • Ray Ton says:
      December 24, 2018 at 18:28

      I did and I think the new version doesn’t compatible which I have to reinstall the OS again. I didn’t have time to look at it yet.

      Reply
  142. NicholasLazarev says:
    December 2, 2018 at 10:02

    Hey. Tell me how to configure mpd to play SACD-R discs? I have an image of ISO, but Cantana does not even see it.

    Reply
    • Marko says:
      December 3, 2018 at 13:26

      https://www.sonore.us/iso2dsd.html

      Reply
  143. Almazeikin says:
    December 5, 2018 at 07:03

    Hello! I installed cantata, she sees the music, but does not play. I click to play, the countdown does not go 00:00. And GMPC all works great. What to do Cantata?

    Reply
  144. Torben Schmidt says:
    December 5, 2018 at 23:56

    Hello!
    I have done the installation but the keyboard and touchpad is not working. If I exit the AP session the keyboard starts working again. Can anyone give me a hint and a direction to proceed? Does it have to do with configuration of libinput?

    Thanks

    Reply
    • Ray Ton says:
      December 24, 2018 at 18:25

      I have installed on my PC and Laptops without problem. What’s your hardware? You didn’t install it on VM, right?

      Reply
      • Torben Schmidt says:
        December 31, 2018 at 21:48

        It’s Installed at an ASUS EEE PC 1018P Netbook.

        Reply
  145. Jason says:
    December 10, 2018 at 05:41

    Hi, after auditioning AP Linux V3, I was very much anticipating V4 when it was released!

    Finally got to installing it. After that, I was not able to apply FAQ3 on attaching network drives to this version. It might be because I’m missing something I’m not familiar with in the instructions. I ended up adding this to /etc/fstab:
    //192.168.1.102/disk /mnt/NAS cifs username=x,password=y,uid=1000,iocharset=utf8 0 0

    The challenge I’m having is that when I issue the mount -a command it takes, but after a reboot it does not. What am I missing?

    Is there an update or clarification to FAQ3 that may help?

    Thanks!

    Reply
    • PHG says:
      December 10, 2018 at 17:42

      Do you really have a folder called disk on your NAS?

      Reply
      • Jason says:
        December 11, 2018 at 01:03

        Yes. OEM configured …

        Reply
    • PHG says:
      December 11, 2018 at 12:54

      You can try: sec=ntlm in fstab

      Reply
      • PHG says:
        December 11, 2018 at 13:40

        and/or try this: nolock,noauto,x-systemd.automount,x-systemd.device-timeout=10
        (I use it on an other Arch distro, so don’t sure that it works on APL too)

        Reply
        • Jason says:
          December 11, 2018 at 23:52

          PHG – thanks for your recommendations, but neither one worked on their own, or together. They both raised errors with mount -a. As such, I never tried to see if the mount would be re-established through a reboot.

          Reply
          • PHG says:
            December 12, 2018 at 11:25

            I don’t think that x-systemd.automount will make sense with mount -a, may be this causes the errors. So take your heart and reboot, but first try it with the nofail option (after noauto and after ),
            this should prevent your system to become unboottable. (If it’s unbootable you need a USB stick with a linux system to boot from to re-fix the fstab)
            This is complete from the archphile (I use it for Spotify) manual: /change uid= and may be opmit gid=
            //192.168.1.150/music /mnt/nas-samba cifs
            vers=1.0,username=yourusername,password=yourpassword,ro,uid=mpd,gid=audio,iocharset=utf8,nolock,noauto,x-systemd.automount,x-systemd.device-timeout=10,sec=ntlm

  146. Jason says:
    December 13, 2018 at 03:34

    PHG,

    The saga continues. No harm no foul with /etc/fstab as follows:

    /dev/sda1 / ext4 rw,noatime,data=ordered 0 1
    //192.168.1.102/disk /mnt/NAS cifs vers=1.0,username=share,password=this,ro,uid=
    mpd,gid=audio,iocharset=utf8,nolock,noauto,nofail,x-systemd.automount,x-systemd.
    device-timeout=10,sec=ntlm

    mount -a returns to the prompt without errors, but /mnt/NAS is not present.
    The reboot goes fine (phew!) but /mnt/NAS is still missing.

    Removing the 0 0 from the end of my original statement and adding sec=ntlm to the end properly this time results in:
    mount.cifs: bad UNC (/192.168.1.102/disk)

    Restoring the 0 0 on the end the statement and mount -a it is accepted and /mnt/NAS is present.
    After a reboot … the mount is not re-established 🙁
    I don’t recall other Linux variants being this ornery.

    I’d still like to see an updated / alternative to FAQ3 .

    Reply
    • PHG says:
      December 13, 2018 at 11:18

      Do not use uid=mpd, under APL mpd runs as user.
      I think uid=1000 is correct.
      And try to set device-timeout=60 or more. And may be the // at the beginning are not correct, so try to omit them. And I am sure you have a folder NAS in /mnt.
      (on the weekend I will try to connect my NAS to APL, normaly I have my Music on a HDD)

      Reply
  147. Jason says:
    December 13, 2018 at 04:47

    Update: the problem has been revealed with …

    command “journalctl -xb | grep mount” which returns:

    Dec 12 21:35:17 apl kernel: EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
    Dec 12 21:35:17 apl kernel: EXT4-fs (sda1): re-mounted. Opts: data=ordered
    — Subject: Unit mnt-NAS.mount has begun start-up
    — Unit mnt-NAS.mount has begun starting up.
    Dec 12 21:35:22 apl mount[462]: mount error(101): Network is unreachable
    Dec 12 21:35:22 apl mount[462]: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
    Dec 12 21:35:22 apl systemd[1]: mnt-NAS.mount: Mount process exited, code=exited status=32
    Dec 12 21:35:22 apl systemd[1]: mnt-NAS.mount: Failed with result ‘exit-code’.
    Dec 12 21:35:22 apl systemd[1]: Failed to mount /mnt/NAS.
    — Subject: Unit mnt-NAS.mount has failed
    — Unit mnt-NAS.mount has failed.

    Strange how the mount works after the system had booted.
    Looking at the rest of the log, it seems /etc/fstab is being processed before the LAN card is up. Archlinux bbs conversations seem to support this thought.

    Tried some other variations to no avail.
    What is the recommended method to mount automatically after the system is up?

    Reply
    • PHG says:
      December 13, 2018 at 21:24

      This works for me: (has to be in one line in fstab)
      //192.168.1.102/Fantec2T/Music /mnt/nas-samba cifs vers=1.0,username=myuser,password=mypassword,ro,uid=1000,iocharset=utf8,nolock,noauto,x-systemd.automount,x-systemd.device-timeout=60,sec=ntlm

      Look at /Fantec2T/ – this is the name (in my case) of the share I set on my NAS.
      (/Music is the Folder on my NAS where my Music is)
      First you have to set a share on your NAS – look at the manual of your NAS and/or google samba server.
      In fstab I set “ro”, this is read only. You can set “rw” if you want to write to.
      You can try to lower the values of the device.timeout.
      (Yes, it’s crazy!)

      Reply
  148. PHG says:
    December 13, 2018 at 21:25

    This works for me: (has to be in one line in fstab)
    //192.168.1.102/Fantec2T/Music /mnt/nas-samba cifs vers=1.0,username=myuser,password=mypassword,ro,uid=1000,iocharset=utf8,nolock,noauto,x-systemd.automount,x-systemd.device-timeout=60,sec=ntlm

    Look at /Fantec2T/ – this is the name (in my case) of the share I set on my NAS.
    (/Music is the Folder on my NAS where my Music is)
    First you have to set a share on your NAS – look at the manual of your NAS and/or google samba server.
    In fstab I set “ro”, this is read only. You can set “rw” if you want to write to.
    You can try to lower the values of the device.timeout.
    (Yes, it’s crazy!)

    Reply
    • Jason says:
      December 13, 2018 at 23:40

      PHG … it may be crazy, but IT WORKS!!!

      Many thanks. I’ll try lowering the timeout – later.

      Cheers!
      Jason

      Reply
    • PHG says:
      January 5, 2019 at 19:02

      Because my server had a much to high cpu load when APL was connected I changed above line in fstab to:
      /192.168.1.102/Fantec2T/Music /mnt/nas-samba cifs vers=1.0,username=myuser,password=mypassword,ro,uid=1000,iocharset=utf8,x-systemd.automount,noauto,x-systemd.idle-timeout=60,nolock,nofail,x-systemd.device-timeout=10,sec=ntlm
      Don’t know why but now the server has very low load as it should be.
      Check if autofs is running with: sudo systemctl status autofs.service
      It should not run, so disable it if it runs (on my PC it did not run)

      Reply
      • PHG says:
        January 5, 2019 at 19:06

        There have to be 2 / at the beginning!
        (//192.168.1.102/Fantec2T/Music /mnt/nas-samba……………..)

        Reply
  149. Ernanto says:
    December 21, 2018 at 16:15

    Hi,

    I just update the apl with -Suy, now “cantata” can not start – from desktop. I also try from x-terminal and have this error “cantata: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory”

    Any clue to fix it?
    Temporaty I use gmpc start from x-terminal – how to get it into the menu?

    My last problem with mpd can not play wav files SOLVED now – it plays smootly now.
    Thanks. Ernanto

    Reply
    • PHG says:
      December 22, 2018 at 17:57

      sudo nano ~/.fluxbox/menu

      Reply
  150. Ray Ton says:
    December 26, 2018 at 02:55

    Does anyone know how to build new Arch Linux – cantata 2.3.2-1? This is the new version that when we run # pacman -S Cantata right now. This new version requires some Lib that’s not in this linux version. I don’t really know how to get the old version back. If you ‘re good with linux, please show us step by step since a lot of us here don’t know linux.

    After first reboot, these are the steps are working at the moment:

    # pacman-key –init
    # pacman-key –populate archlinux
    # pacman -Sy
    # pacman -S archlinux-keyring
    # pacman -Suy
    # pacman -Rc libxfont
    # pacman -Rc ffmpeg2.8
    –If you do’nt run this step (-Rc ffmpeg2.8), nothing will work such as Firefox. However, it also removes the Cantata 2.0.1
    # pacman -Suy
    # pacman -S terminus-font
    # pacman -S xorg-server
    –This wasn’t working before but it has been working so far.
    # pacman -S chromium (Firefox, Kodi, etc….are working except new version of Cantata)

    I have tried to add/play with the missing Lib but it seems not compatible. Do not try to run uic, it will mess up your Lib.

    Reply
    • PHG says:
      December 26, 2018 at 18:39

      Look at the ArchWiki – downgrading packages to get back cantata.
      I don’t try it, I throw out cantata from APL. I use cantata from a remote laptop, APL is only a headless audio server. You can use MPDroid too or something like this on your smartphone.
      With a ssh connection you can update and manage APL by remote.

      Reply
      • Ray Ton says:
        December 26, 2018 at 22:32

        Thanks, I like remote too. Will looking into that instead of fixing. I am fine with DeadBeef at the moment, no big deal with Cantata.

        Reply
        • Torben Schmidt says:
          January 9, 2019 at 20:40

          I have the same issue with Cantata not working. I know how to use pacman for downgrading Cantata but would it be possible to specify what else would be needed to make the downgraded version running?
          Thanks

          Reply
          • Ray Ton says:
            January 11, 2019 at 22:54

            LOL, it would be easy to reinstall AP Linux v4, then do not run anything else after complete the first time setup. Then you can use ipad/iphone/anroid to remote control with cantata. I haven’t looked into downgrade yet. Mostly relate to library files. If the downgrade is not working, that means the old version of library is not installed.

  151. ChS says:
    January 26, 2019 at 11:46

    Hi all. Does anyone know and can help me what can cause the keyboard malfunction in AP-Linux Shell in new installed AP-Linux with fix.
    All new AP-Linux V4.0 installation including recommended repairs (in April 5th 2018 fix) seems to be O.K. AP-Linux starts, installed players (Deadbeef, Audacios) runs O.K. and browsers also starts. But keyboard in X-terminal or browsers… does not work. When I go to “Exit Session” keyboard works O.K.
    My AP-Linux is installed on HP ProBook 440 G5. First/based system disc is M.2 SSD with W10 . Second disc is in 2,5” slot is installed SATA SSD 2TB with AP-Linux V4.0 with fix.
    Previous version AP-Linux V4.0 (without fix) installed on 2,5” Seagate HDD 2TB run O.K.

    One more question. In AP-Linux V4 install instructions is for SSD discs recommended “fstab” edit – # nano /etc/fstab to following syntax (add parameter “discard” to syntax) – /dev/sda1 / ext4 rw,noatime,discard,data=ordered 0 1.
    But # nano /etc/fstab show syntax parameter /dev/sda1 / ext4 rw,relatime,data=ordered 0 1.
    May I edit for SSD disc “fstab” to /dev/sda1 / ext4 rw,relatime,discard,data=ordered 0 1.
    Thanks for Your answers and help. ChS

    Reply
  152. ChS says:
    January 27, 2019 at 12:36

    Hi all. Does anyone know and can help me what can cause the keyboard malfunction in AP-Linux Shell in new installed AP-Linux with fix.
    All new AP-Linux V4.0 installation including recommended repairs (in April 5th 2018 fix) seems to be O.K. AP-Linux starts, installed players (Deadbeef, Audacios) runs O.K. and browsers also starts. But keyboard in X-terminal or browsers… does not work. When I go to “Exit Session” keyboard works O.K.
    My AP-Linux is installed on HP ProBook 440 G5. First/based system disc is M.2 SSD with W10, Second disc is in 2,5” slot installed SATA SSD 2TB with AP-Linux V4.0 with fix.
    Previous version AP-Linux V4.0 (without fix) installed on 2,5” Seagate HDD 2TB run O.K.

    One more question. In AP-Linux V4 install instructions is for SSD discs recommended “fstab” edit – # nano /etc/fstab to following syntax (add parameter “discard” to syntax) – /dev/sda1 / ext4 rw,noatime,discard,data=ordered 0 1.
    But # nano /etc/fstab show syntax parameter /dev/sda1 / ext4 rw,relatime,data=ordered 0 1.
    May I edit for SSD disc “fstab” to /dev/sda1 / ext4 rw,relatime,discard,data=ordered 0 1.
    Thanks for Your answers and help. ChS

    Reply
  153. PHG says:
    January 27, 2019 at 14:58

    More as an accident I installed the latest rt kernel from the AUR packages.
    If someone wants to try it…………be aware, on my weak Acer laptop it needs more than 9 hours, the rt 4.9.9 kernel was overwritten, I had to install it new on a second partition and had to edit the grub.cfg to get all running. And the sound is not better, but I don’t think it’s worse. Maybe(!) the 4.9.9 kernel sounds a bit smoother and the 4.19.15 kernel a bit more “compact“.
    If you try it, please clone your harddisk, at least your APL partition to come back if it crashes – I use Clonezilla, it’s a bit strange to use but it restores perfectly.
    You should copy as su the old kernel and initramfs in /boot and rename them to …..4-9-9, maybe(!) then you can get all in 1 partition. If GRUB makes problems look at the crub.cfg and compare the entries with the main entry (load Video….) and edit it to the same.
    I did it with yay (an AUR package helper) and my accident seemed to be to use yay -Suy.
    To install yay first install this: sudo pacman -S base-devel git go. Then search the web to install yay – they could explain it better than me. You should have at least 3 or 4GB free diskspace to install the new rt kernel.
    With yay installed you can easily install librespot (to use as a Spotify connect device), Spotify (Desktop app) and/or upmpdcli to get Tidal or Qubuz support from APL (with bubbleupnp on Android, no Tidal MQA support, a bit buggy and you have to pay 3,99 Euro to get full access)
    For Tidal MQA support you can use Audirvana+ (79 Euro Mac and WIN10) with upmpdcli, but you have to up-sample as high as possible to get it running, at least to 176/192 kHz, the lower the samplerate the longer the playable tracks have to be, with 44kHz unusable.
    If you need hardware video acceleration for kodi you can install (with pacman) a VA-API (or VDPAU) driver to get it – in my case it crashes with the rt 4.9.9 kernel, but runs with the non rt kernel and the rt 4.19.15 kernel.
    Have fun, but do it at your risk and clone your Harddisk!

    Reply
    • PHG says:
      January 27, 2019 at 15:22

      Of course it’s not the crub.cfg – it’s the grub.cfg in /boot/grub and the other APL menu entries
      should be the same as the main APL menu entry beginning with load_video……….insmod part_msdos.

      Reply
  154. ab90 says:
    January 28, 2019 at 18:51

    Would an install of AP4 be successful on this computer (its a x64):

    Verico 70242 – Unibook 11.6″
    Specs: https://www.notebooksbilliger.de/verico+70242+116+fhd+display+2gb+ram+32gb+flash

    Could the native touch function be enabled after that installation?

    Greetings and many thanks in advance!

    Reply
  155. ab90 says:
    January 29, 2019 at 10:16

    Hi, will it run on: Verico Unibook 11.6″ ??
    Many greetings!

    Reply
  156. PHG says:
    February 3, 2019 at 15:10

    Over night I installed the linux-rt-bfq kernel from the AUR packages and I like it more than the
    linux-rt kernel. Seems to be smoother and there is no need to rename the 4.9 rt files in /boot to keep the 4.9 rt kernel.
    But from the point of sound there is no need to update the rt kernel, maybe it’s good from the point of security and (newer) hardware support.

    Reply
    • PHG says:
      February 17, 2019 at 19:05

      I installed the rt-bfq kernel from AUR on my headless-system too.
      Then it works with the original rt kernel (4.9.9…), there is no need to rename it.
      You only need to run the grub make config.
      But after installing the normal rt kernel from AUR the original kernel (of course I had to rename it) boots, but because namespace errors I can’t connect to it and so there is no mpd connection. Don’t install the normal rt kernel from AUR if you you want the original still working. Overall the rt-bfq kernel is the better choice, if your “chain” sounds to smooth the normal rt kernel from AUR could be a good choice.
      How to use different kernels on a headless system?
      You can make different grub.cfg files (grubbfq.cfg and grubrt.cfg, edit them) and copy the one you want on the next boot to grub.cfg as su. With aliases in your home directory in .zshrc
      this is easy when ssh connected.
      alias bfq=’cp /boot/grub/grubbfq.cfg /boot/grub/grub.cfg’
      alias brt=’cp /boot/grub/grubrt.cfg /boot/grub/grub.cfg’
      (Of course you can only use the above aliases as su)
      and if you want:
      alias aliases=’grep “alias” /home/yourUserName/.zshrc’
      alias spotify+=’export DISPLAY=:0 && spotify’

      Reply

Leave a Reply to mlerota Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts

  • How to add new disk in AP-Linux

    April 20, 2017
  • AP-Linux-V4 available

    April 16, 2017
  • AP Linux v4 install instructions

    April 16, 2017

Recent Comments

  • Marko on Playing audio in AP-Linux with MPD
  • Marmite Sandwich on Playing audio in AP-Linux with MPD
  • PHG on AP Linux v4 install instructions
  • Nicholas A. Seltzer on DSD – Jewels concealed behind the scarlet book
  • PHG on AP Linux v4 install instructions

Get in Touch

  • +353 85 7630 316
  • info@ap-linux.com
  • Contact Us
    • Twitter

Made on GNU/Linux

Audiophile Linux is based on Arch Linux distribution. Old versions are based on Linux Mint. It’s absolutely free. Linux operating system and it’s kernel are distributed under GPL license.

Links

RuneAudio Rasp Pi/CuBox
Native DSD Music Store
24bit96.com web site.
GPL License
Fluxbox Window manager

Latest tweets

  • @nixcraft ATM in freeze https://t.co/xylInzNeqk
    September 25, 2018
(c) 2013 Audiophile Linux Distribution - Marko Lerota