init and pulseaudio

Chris Rouch chris.rouch at gmail.com
Tue Feb 12 16:39:30 UTC 2008


On 2/7/08, Aaron Konstam <akonstam at sbcglobal.net> wrote:
> On Wed, 2008-02-06 at 12:29 +0100, Chris Rouch wrote:
>  > On 1/20/08, Reik Red <reikred at gmail.com> wrote:
>  > > Why would the command
>  > >
>  > >      /etc/init.d/pulseaudio start
>  > >
>  > >  work, whereas the command
>  > >
>  > >      service pulseaudio start
>  > >
>  > >  produces an X11 error "XOpenDisplay() failed" as seen below?
>  >
>  > I would guess that in the first case you have write access to the
>  > display and in the second you don't. In any case, if you run
>  > pulseaudio as a service  you want to disable x11. The simplest way to
>  > do this is to remove the pulseaudio-module-x11 rpm.
>  >
>  > Regards,
>  >
>  > Chris
>  >
>  >
>
> I seem to stay confused. /etc/init.d/pulseaudio start and
>  service pulseaudio start
>  are equivalent.
>
>  What do you mean by disabling x11. Do you think that the OP was running
>  these commands at run level 3?

No idea, but when a service is started at boot time, it has no X
display to talk to regardless of the run level. Only when you log into
the X display does it become available, by which time it is too late.

Chris

>
>
>
>
>
>  --
>
> fedora-list mailing list
>  fedora-list at redhat.com
>  To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>




More information about the fedora-list mailing list