[linux-audio-user] can't start jackd from normal user

Peder Hedlund peder at musikhuset.org
Thu Sep 29 03:19:16 EDT 2005



On Wed, 28 Sep 2005, Mark Knecht wrote:

> On 9/28/05, Antonio <debian at fastwebnet.it> wrote:
>
> >   JACK compiled with System V SHM support.
> >   cannot create /dev/shm/jack-1000 directory (Permission denied)
>
> Hi,
> It seems pretty clear to me that this is a permissions problem, not a
> kernel issue. I would suggest looking at how shm is mounted in your
> distro and whether users are given access. On my Gentoo machine I have
> this in fstab:
>
> shm                     /dev/shm        tmpfs
> nodev,nosuid,noexec    0 0

 Make sure you have support for shm and tmpfs in the kernel.
 (I think SHM is default but you have select
 "Virtual memory filesystem support" under Filesystems/Pseudo fs)

 If you have that you shouldn't have to have any entry in fstab;
 the kernel automounts /dev/shm with 1777 permissions.
 I've read that having fstab mount /dev/shm after the kernel has mounted
 it might cause xruns.

 The fstab entry, I think, is only for 2.4 kernels.

 - Peder



More information about the Linux-audio-user mailing list