Not that I need to aplay as root but it came across me and I wondered why it shouldn't work.  # aplay /home/bibek/apert.wavXDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but byuid 1000! (This could e g happen if you try to connect to a non-rootPulseAudio as a root user, over the native protocol. Don't do that.) ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) unable to open slaveaplay: main:722: audio open error: No such file or directoryI can see that it is giving me reasonable amount of details but I still don't understand.
Can't run aplay as root!
shell;root;alsa