[pulseaudio-discuss] pulseaudio on maemo/n800

Colin Guthrie gmane at colin.guthr.ie
Tue Apr 29 01:42:09 PDT 2008


Hi,

Kwan Hong Lee wrote:
> I have been able to build pulseaudio on maemo 4.0 by getting the lates
> libltdl.
> 
> I have added the pulse user, pulse group, pulse-access group and and
> added pulse to the audio group.  I added normal user to pulse-access.

I'm not really sure how this applies in the context of a Maemo, but
certainly on desktop targets it's generally not advised any more to run
a single pulseaudio daemon, but rather run one pa daemon per user
accessing sound. This allows for user switching to work properly. High
priority and real time access and such like is handled by policy kit
which is good modular design. If you were to run as a regular user then
you wouldn't need all this group stuff (console kit should ensure that
the currently active user has the right to access the audio device so
you don't need to add the user to the audio group).


> I try to run the following and it gives this error
> 
> user$ pulseaudio
> W: core-util.c: setpriority(): Permission denied
> E: main.c: Failed to create '/tmp/pulse-user': Permission denied

Can you create the folder /tmp/pulse-user yourself? Can you chown and
chmod OK on the filesystem? Perhaps it is a FAT filesystem and pulse is
failing because the chown/chmod is not working? (not looked at the code
for a while so not 100% sure on that one).

> If I run as root
> 
>  pulseaudio --system
> W: core-util.c: setpriority(): Permission denied
> E: main.c: Failed to create '/var/run/pulse': Permission denied

As above but with the caveat that I'd generally recommend just running
it as your regular user unless you have good reason to do otherwise :)

HTHs

Col




More information about the pulseaudio-discuss mailing list