[pulseaudio-discuss] Does pulseaudio require alsa/oss

Nix nix at esperi.org.uk
Thu Apr 22 16:43:47 PDT 2010


On 22 Apr 2010, John Frankish uttered the following:
> This is fixed by adding:
>
> "ck-launch-session" to .xsession, as in
>
> $ cat .xsession
> ..
> dbus-launch --sh-syntax --exit-with-session
> ck-launch-session &

Which has no manpage and no support for --help (it tries to exec
'--help', but doesn't emit an error when this inevitably fails).

It is not mentioned in any of the (seriously limited) documentation in
the console-kit source tree. The comment at the top of the source file,
helpfully *below* a massive copyright boilerplate to make it easy to
miss, reads 'Gate a process inside of a ConsoleKit session', which does
not indicate to me that it would do a thing if you ran it on its own
(though obviously if you gave it a process to run, I'd expect that
process to be running inside a CK session).

If you run it without parameters, it runs a shell, so running it in the
background like that looks... unhelpful.

Fedora, at least, doesn't use ck-launch-session: it uses
ck-xinit-session, which is not in upstream console-kit at all; it's in
the RH-specific xinit package. It's derived from ck-launch-session but
does some incomprehensible-to-non-dbus-hackers and uncommented thrashing
about with dbus first. It too appears to run a shell and then exit, so
how it does what it does is equally mysterious to me. Of course, it,
also, has no documentation whatsoever.

I love the new Linux world. :/



More information about the pulseaudio-discuss mailing list