Bug 747963

Summary: pulseaudio no longer works on headless machines.
Product: [Fedora] Fedora Reporter: Dave Jones <davej>
Component: pulseaudioAssignee: Lennart Poettering <lpoetter>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: lkundrak, lpoetter, martin, pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-13 16:18:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Dave Jones 2011-10-21 14:25:40 UTC
until recently, I could ssh into my headless music server and play music.
with the version of pulseaudio now in f16, this happens..

pulseaudio[8416]: main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

Comment 1 Martin Dengler 2012-11-14 13:43:04 UTC
I get a different error on F17 (will try F18 soon), but the headline problem seems the same: is the below a different bug (or even just an ignorable warning?)

Nov 14 21:30:26 ops-13 pulseaudio[2538]: [pulseaudio] main.c: Module load failed.
Nov 14 21:30:26 ops-13 pulseaudio[2538]: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.Spawn.ExecFailed: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
Nov 14 21:30:26 ops-13 pulseaudio[2538]: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.Spawn.ExecFailed: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.

Comment 2 Martin Dengler 2012-11-25 20:20:10 UTC
This seems to work:

 dbus-launch --exit-with-session pulseaudio --daemon

Comment 3 Martin Dengler 2012-11-25 21:03:13 UTC
ACLs are wrong on /dev/snd/*:


# ls -l /dev/snd/*
crw-rw----. 1 root audio 116,  6 Nov 25 20:37 /dev/snd/controlC0
crw-rw----. 1 root audio 116,  5 Nov 25 20:37 /dev/snd/hwC0D0
crw-rw----. 1 root audio 116,  4 Nov 25 20:37 /dev/snd/pcmC0D0c
crw-rw----. 1 root audio 116,  3 Nov 25 20:37 /dev/snd/pcmC0D0p
crw-rw----. 1 root audio 116,  2 Nov 25 20:37 /dev/snd/pcmC0D2c
crw-rw----. 1 root audio 116,  1 Nov 25 20:37 /dev/snd/seq
crw-rw----. 1 root audio 116, 33 Nov 25 20:37 /dev/snd/timer

/dev/snd/by-path:
total 0
lrwxrwxrwx. 1 root root 12 Nov 25 20:37 pci-0000:00:1b.0 -> ../controlC0


ck-list-sessions doesn't show anything:

# ck-list-sessions 
# 

But systemd-loginctl is:


# systemd-loginctl list-sessions
   SESSION        UID USER             SEAT            
         1       1000 martin                           

1 sessions listed.


# rpm -q ConsoleKit ConsoleKit-x11 ConsoleKit-libs systemd
ConsoleKit-0.4.5-3.fc18.x86_64
ConsoleKit-x11-0.4.5-3.fc18.x86_64
ConsoleKit-libs-0.4.5-3.fc18.x86_64
systemd-195-7.fc18.x86_64


# cat /etc/fedora-release 
Fedora release 18 (Spherical Cow)

Comment 4 Fedora End Of Life 2013-01-16 14:58:49 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Fedora End Of Life 2013-02-13 16:18:55 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.