Verified this with four different hardware machines, three were Fedora 25 and the fourth was Fedora 23. The latest trunk revision r14712 does not start sound properly - the error indicates that it isn't getting any data back with regards to the supported codecs. Rolling my server back to the 1.0 tagged branch r14712 has working sound.
I started my server up with xpra start :13 --no-daemon -d sound
and here is the output:
2017-01-05 14:57:55,726 init_pulseaudio() pulseaudio=True, pulseaudio_command=pulseaudio --start -n --daemonize=false --system=false --exit-idle-time=-1 --load=module-suspend-on-idle '--load=module-null-sink sink_name="Xpra-Speaker" sink_properties=device.description="Xpra\ Speaker"' '--load=module-null-sink sink_name="Xpra-Microphone" sink_properties=device.description="Xpra\ Microphone"' --load=module-native-protocol-unix --load=module-dbus-protocol --log-level=2 --log-target=stderr 2017-01-05 14:57:55,728 pulseaudio server started with pid 25315 2017-01-05 14:57:55,730 query_sound() command=['python3', '/usr/bin/xpra', '_sound_query', '-d', 'sound'], env={'SSH_ASKPASS': '/usr/libexec/openssh/gnome-ssh-askpass', 'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'XDG_SESSION_TYPE': 'x11', 'SSH_CLIENT': '10.0.32.224 46898 22', 'QT_IM_MODULE': 'xim', 'LOGNAME': 'max', 'USER': 'max', 'PULSE_PROP_application.name': 'xpra', 'QTDIR': '/usr/lib64/qt-3.3', 'PATH': '/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/max/.local/bin:/home/max/bin', 'XPRA_FORCE_COLOR_LOG': '1', 'DISPLAY': ':11', 'LANG': 'en_US.UTF-8', 'QTLIB': '/usr/lib64/qt-3.3/lib', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'XPRA_LOG_DIR': '/run/user/1001/xpra', 'QTINC': '/usr/lib64/qt-3.3/include', 'PULSE_PROP_application.version': '2.0', 'HISTSIZE': '1000', 'XMODIFIERS': '@im=none', 'HOME': '/home/max', 'IMSETTINGS_MODULE': 'none', 'XDG_RUNTIME_DIR': '/run/user/1001', 'DISABLE_IMSETTINGS': '1', 'DBUS_SESSION_BUS_PID': '25130', 'CVS_RSH': 'ssh', 'SELINUX_ROLE_REQUESTED': '', 'PULSE_PROP_media.role': 'music', 'XDG_CURRENT_DESKTOP': 'Xpra', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-ZoBzeitRtQ,guid=742322736baa1e1c65b36551586ecf73', '_': '/usr/bin/xpra', 'GTK_IM_MODULE': 'xim', 'LS_COLORS': 'rs=0:di=38;5;33:ln=38;5;51:mh=00:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=01;05;37;41:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;40:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.m4a=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.oga=38;5;45:*.opus=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:', 'SSH_TTY': '/dev/pts/0', 'HOSTNAME': 'Vorfuehreffekt.spikes.eng', 'PULSE_PROP_application.id': 'xpra', 'SELINUX_LEVEL_REQUESTED': '', 'HISTCONTROL': 'ignoredups', 'SHLVL': '1', 'PWD': '/home/max', 'SELINUX_USE_CURRENT_RANGE': '', 'MAIL': '/var/spool/mail/max', 'SSH_CONNECTION': '10.0.32.224 46898 10.0.32.170 22', 'XPRA_SKIP_UI': '1', 'DBUS_SESSION_BUS_WINDOWID': '6291457'}, kwargs={'close_fds': True} Traceback (most recent call last): File "/usr/bin/xpra", line 3, in <module> from xpra.platform import init, set_default_name ImportError: No module named 'xpra' 2017-01-05 14:57:55,893 query_sound() process returned 1 2017-01-05 14:57:55,893 query_sound() out=, err=None 2017-01-05 14:57:55,894 failed to query sound Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/xpra/server/server_base.py", line 532, in init_sound_options assert self.sound_properties, "query did not return any data" AssertionError: query did not return any data 2017-01-05 14:57:55,894 Error: failed to query sound subsystem: 2017-01-05 14:57:55,894 query did not return any data 2017-01-05 14:57:55,894 sound_option_or_all('speaker-codec', [], []) 2017-01-05 14:57:55,894 speaker-codec= 2017-01-05 14:57:55,895 sound_option_or_all('microphone-codec', [], []) 2017-01-05 14:57:55,895 microphone-codec= 2017-01-05 14:57:55,895 init_sound_options speaker: supported=False, encoders= 2017-01-05 14:57:55,895 init_sound_options microphone: supported=False, decoders= 2017-01-05 14:57:55,895 init_sound_options sound properties={}
I think you must have installed from source without installing the python3 version. We now try to use the python3 version for the sound subprocess (in an effort to gradually move away from python2). Solutions:
XPRA_SOUND_PYTHON3=0
(which now defaults to 1)
That did it - I must have missed the news about the switch.
A quick dnf install xpra
listed all the packages I was missing - installed them and sound is working again.
Closing.
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1399