xpra icon
Bug tracker and wiki

Changes between Initial Version and Version 1 of Ticket #912, comment 4


Ignore:
Timestamp:
08/06/15 09:39:25 (5 years ago)
Author:
Antoine Martin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #912, comment 4

    initial v1  
    33But oh my. Every single example out there of using pulseaudio via python dbus is completely broken, at least with Fedora 22 and Ubuntu Vivid. They just don't run because the connection fails. This includes the reference code: [http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/Developer/Clients/DBus/ConnectingToServer/ connecting to server], which spends a lot of lines of code trying to figure out where the pulseaudio socket lives (and why do they keep on changing it without keeping at least a symlink in the old location?), and still gets it wrong. Looks lile it should be using {{{/run/user/1000/pulse/native}}} instead (for uid=1000).
    44
    5 Once you get past this hurdle, you get the very unhelpful {{{org.freedesktop.DBus.Error.NoReply}}}, which doesn't tell you why things don't work at all, and from then on your connection is dropped and you get {{{org.freedesktop.DBus.Error.Disconnected}}} from then on.
     5Once you get past this hurdle, you get the very unhelpful {{{org.freedesktop.DBus.Error.NoReply}}}, which doesn't tell you why things don't work at all, and from then on your connection is dropped and you get {{{org.freedesktop.DBus.Error.Disconnected}}}.
    66The only thing I found was in the system log: {{{[pulseaudio] pstream.c: Received SHM frame on a socket where SHM is disabled.}}}
    77I didn't ask for SHM and I don't need it either, wth?