# New alternative to \`dbus-launch pulseaudio --start\`?

**URL:** <https://travis-ci.community/t/new-alternative-to-dbus-launch-pulseaudio-start/4762>\
**Category:** Linux\
**Created:** [August 16, 2019, 10:58pm UTC](https://travis-ci.community/t/new-alternative-to-dbus-launch-pulseaudio-start/4762 "2019-08-16T22:58:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jnqnfe](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/jnqnfe/32/2519_2.png) [@jnqnfe](https://travis-ci.community/u/jnqnfe)\
**Post date:** [August 16, 2019, 10:58pm UTC](https://travis-ci.community/t/new-alternative-to-dbus-launch-pulseaudio-start/4762/1 "2019-08-16T22:58:14Z")

</div>

I’m using `dbus-launch pulseaudio --start` to start PulseAudio, but in bionic environment, such as in the example linked below, i get an error stating that the `dbus-launch` command is not available, hinting that I should install the `dbus-x11` package in the environment. adding that to the package list though just results in an error.

is this just a bug with bionic, or is use of `dbus-launch` outdated? if the latter, please could someone tell me the more modern approach I should use (I did look up systemd based approaches but could not get my head around that at the time)

failed command: [https://travis-ci.org/jnqnfe/pulse-binding-rust/jobs/572936129](https://travis-ci.org/jnqnfe/pulse-binding-rust/jobs/572936129)  
error installing `dbus-x11`: [https://travis-ci.org/jnqnfe/pulse-binding-rust/jobs/572939896](https://travis-ci.org/jnqnfe/pulse-binding-rust/jobs/572939896)

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [August 16, 2019, 11:50pm UTC](https://travis-ci.community/t/new-alternative-to-dbus-launch-pulseaudio-start/4762/2 "2019-08-16T23:50:46Z")

</div>

> E: Unable to locate package dbux-x11

There’s a typo…

---

<div class="post-metadata">

**Author:** ![jnqnfe](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/jnqnfe/32/2519_2.png) [@jnqnfe](https://travis-ci.community/u/jnqnfe)\
**Post date:** [August 17, 2019, 4:03pm UTC](https://travis-ci.community/t/new-alternative-to-dbus-launch-pulseaudio-start/4762/3 "2019-08-17T16:03:51Z")

</div>

oh, damn, this isn’t the first failure to install the package though, hold on…

yeah, here: [https://travis-ci.org/jnqnfe/pulse-binding-rust/jobs/572353452#L1](https://travis-ci.org/jnqnfe/pulse-binding-rust/jobs/572353452#L1)

but fixing the typo in the new attempt gives no such complaint: [https://travis-ci.org/jnqnfe/pulse-binding-rust/jobs/573160392](https://travis-ci.org/jnqnfe/pulse-binding-rust/jobs/573160392)

never mind 😕
