Pulseaudio Server-lookup.c Autolaunch Error X11 Initialization Failed
Contents |
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch
Unable To Autolaunch A Dbus-daemon Without A $display For X11 Ubuntu
Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please pulseaudio unable to contact dbus read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Multimedia Software [ubuntu] mpd as mpd user pulseaudio and pulseaudio headless dbus problem Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Page 1 of 2 12 Last Jump to page: Results 1 to
Mpd Pulseaudio
10 of 13 Thread: mpd as mpd user pulseaudio and dbus problem Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode November 10th, 2011 #1 derEremit View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Jun 2009 Beans 7 mpd as mpd user pulseaudio and dbus problem Ok, first what was my goal: I got a really low power atom pc which mainly acts as mpd server, but sometimes as a presentation tool connected to a tv. I'm running oneiric. for this i need mpd running and playing sound through pulseaudio. I resarched quite a bit and now i'm stuck. what i found out. You should not run pulseaudio as a system daemon. so i tried to run mpd with pulseaudio under the mpd user. when i start mpd it claims it can't connect to pulseaudio. when i run Code: pulseaudio -D it says it can't connect to DBus. I found out that pulseaudio since a few versions requires a dbus connection. when i run Code: pulseaudio -D as a normal desktop user pulseaudio can connect to dbus. But i don't know where i can give the mpd user permissions to connect (or start) a dbus daemon... that's where i'm stuck. switching mpd to using alsa doesn't work either as lightdm starts pulseaudio so alsa says that the resource is already busy. Adv Reply December 3rd, 2011 #2 maystar_1 View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Dec 2011 Beans 5 Re: mpd as mpd user pulseaudio and dbus problem Hey, I recognized this behavior on my ubuntu machines, too. I use my desktop user as mpd user, because this was a solution for other problems in older ubuntu versions. So the user should be able to start dbus, since dbus is running after login to X11. Bu
[pulseaudio-discuss] Problems starting without X11 (git master) Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Hi, Noticed a couple problems with starting PA from the console today. 1. It seems if DISPLAY is set but we cannot connect that the XCB stuff errors out and prevents us from logging in. Not quite sure of the symptoms yet, but I'll look into this one. 2. If we unset DISPLAY it https://ubuntuforums.org/showthread.php?t=1878868 seems that the dbus protocol will not connect. It fails to do the DBus Launch thing and then fails with the following message. I: module.c: Loaded "module-position-event-sounds" (index: #17; argument: ""). I: module.c: Loaded "module-cork-music-on-phone" (index: #18; argument: ""). E: server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.Spawn.ExecFailed: /usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch https://lists.freedesktop.org/archives/pulseaudio-discuss/2011-June/010272.html error: X11 initialization failed. I: module.c: Unloading "module-device-restore" (index: #0). I: module.c: Unloaded "module-device-restore" (index: #0). So it seems that the dbus protocol needs X11. Either we should move this out of default.pa and into start-pulseaudio-x11 or find a way to init the x11 bit of it separately. I'd vote for the easier option for now (I want to look at the whole X11 startup thing more thoroughly after v1.0 is out to make it more robust. Perhaps with tighter integration into consolekit (or systemd if it's going to replace CK in the long term)). Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mageia Contributor [http://www.mageia.org/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/] Previous message: [pulseaudio-discuss] What's the purpose of "rewind" on corking and uncorking? Next message: [pulseaudio-discuss] Problems starting without X11 (git master) Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the pulseaudio-discuss mailing list
Help Here Multimedia Pulseaudio does not autostart properly Welcome! If this is your first visit, be sure to check out the FAQ. You will have to register before you can post in the forums. (Be aware the forums https://forums.opensuse.org/showthread.php/506544-Pulseaudio-does-not-autostart-properly do not accept user names with a dash "-") Also, logging in lets you avoid the CAPTCHA verification when searching . Select Articles, Forum, or Blog. Posting in the Forums implies acceptance of the Terms and Conditions. Results 1 to 6 of 6 Thread: Pulseaudio does not autostart properly Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 06-Apr-2015,07:13 #1 unable to rwman View Profile View Forum Posts View Blog Entries View Articles Newcomer Join Date Apr 2011 Posts 10 Pulseaudio does not autostart properly Hi. I am running openSUSE 13.2 (KDE), Pulseaudio 6.0 (from multimedia:libs repository) After some experiments with QJackCtl and Cadence, my system does not auto start Pulseaudio on boot anymore. I am trying to investigate how that happened and want to find a proper solution how to make pulse autostarting pulseaudio server-lookup.c autolaunch again. I managed to almost fix the autostart issue with systemd: i noticed that pulseaudio user-level service is not enabled, and then i enabled it with command: Code: systemctl --user enable pulseaudio This works, now pulseaudio does autostart after user login, but it fails to connect to D-Bus. This is crucial for me as i want to use jack_dbus to handover audio devices to jack, so currently this functionality does not work. In the syslog D-Bus connection errors can be seen: Code: E: [pulseaudio] module-jackdbus-detect.c: Unable to contact D-Bus session bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPL E: [pulseaudio] module.c: Failed to load module "module-jackdbus-detect" (argument: "channels=2"): initialization failed. E: [pulseaudio] main.c: Module load failed. W: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 W: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 So i have few questions: 1) What is the default openSUSE way to autostart pulseaudio (i mean how it is handled on clean OS installation). 2) How can i make my system properly autostart pulseaudio, with its DBus service? Reply With Quote 06-Apr-2015,08:08 #2 gogalthorp View Profile View Forum Posts View Blog Entries View Articles Flux Capacitor Penguin Join