NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Can't get PulseAudio working with Citrix ICA 12.1 receiver
On Thu, Oct 25, 2012 at 2:03 PM, Tomas Bodzar
<tomas.bodzar%gmail.com@localhost> wrote:
> Hi all,
>
> so I was able to get Citrix ICA Receiver 12.1 running just fine on
> NetBSD 6.0 amd64 under suse121_32 compat_linux, but one thing is
> missing. I'm not able to use audio inside Citrix and I think that it's
> just some form of misconfiguration or something. Any ideas or tips?
>
> Here what shows during start of Win 7 inside Citrix receiver:
>
> nbsd$ firefox10
>
> (xulrunner-bin:1114): Gtk-WARNING **: Could not find the icon
> 'gtk-go-back-ltr'. The 'hicolor' theme
> was not found either, perhaps you need to install it.
> You can get a copy from:
> http://icon-theme.freedesktop.org/releases
>
> (wfica:491): Gtk-WARNING **: Error loading icon from file
> '/opt/Citrix/ICAClient/icons/receiver.png':
> Couldn't recognize the image file format for file
> '/opt/Citrix/ICAClient/icons/receiver.png'
> setsockopt(SOL_SOCKET, SO_PASSCRED): Invalid argument
> ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect:
> Connection terminated
>
> setsockopt(SOL_SOCKET, SO_PASSCRED): Invalid argument
> ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect:
> Connection terminated
>
> ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect:
> Connection refused
>
>
>
> nbsd$ uname -a
> NetBSD nbsd.localdomain 6.0 NetBSD 6.0 (GENERIC) amd64
> nbsd$
>
> nbsd$ ls -l /dev/aud*
> lrwx------ 1 root wheel 6 Oct 25 12:35 /dev/audio -> audio0
> crw-rw-rw- 1 root wheel 42, 128 Oct 25 15:24 /dev/audio0
> crw-rw-rw- 1 root wheel 42, 129 Oct 25 12:35 /dev/audio1
> crw-rw-rw- 1 root wheel 42, 130 Oct 25 12:35 /dev/audio2
> crw-rw-rw- 1 root wheel 42, 131 Oct 25 12:35 /dev/audio3
> lrwx------ 1 root wheel 9 Oct 25 12:35 /dev/audioctl -> audioctl0
> crw-rw-rw- 1 root wheel 42, 192 Oct 25 12:35 /dev/audioctl0
> crw-rw-rw- 1 root wheel 42, 193 Oct 25 12:35 /dev/audioctl1
> crw-rw-rw- 1 root wheel 42, 194 Oct 25 12:35 /dev/audioctl2
> crw-rw-rw- 1 root wheel 42, 195 Oct 25 12:35 /dev/audioctl3
> nbsd$ ls -l /dev/soun*
> lrwx------ 1 root wheel 6 Oct 25 12:35 /dev/sound -> sound0
> crw-rw-rw- 1 root wheel 42, 0 Oct 25 15:56 /dev/sound0
> crw-rw-rw- 1 root wheel 42, 1 Oct 25 12:35 /dev/sound1
> crw-rw-rw- 1 root wheel 42, 2 Oct 25 12:35 /dev/sound2
> crw-rw-rw- 1 root wheel 42, 3 Oct 25 12:35 /dev/sound3
> nbsd$
>
> nbsd$ cat /etc/fstab
> # NetBSD /targetroot/etc/fstab
> # See /usr/share/examples/fstab/ for more examples.
> /dev/wd0a / ffs rw,log 1 1
> /dev/wd0b none swap sw,dp 0 0
> /dev/wd0e /usr ffs rw,log 1 2
> /dev/wd0f /var ffs rw,log 1 2
> /dev/wd0g /home ffs rw,log 1 2
> tmpfs /tmp tmpfs rw,-m=1777,-s=67608576
> kernfs /kern kernfs rw
> ptyfs /dev/pts ptyfs rw
> procfs /proc procfs rw
> /dev/cd0a /cdrom cd9660 ro,noauto
>
> # Linux emulation needs
> procfs /emul/linux/proc procfs ro,linux
> procfs /emul/linux32/proc procfs ro,linux
> tmpfs /emul/linux/dev/shm tmpfs rw,-m1777
> tmpfs /emul/linux32/dev/shm tmpfs rw,-m1777
> nbsd$
>
> nbsd$ cat /emul/linux32/etc/asound.conf
> # PulseAudio plugin configuration
>
> pcm.!default {
> type pulse
> hint {
> show on
> description "Default ALSA Output (currently PulseAudio Sound Server)"
> }
> fallback "sysdefault"
> }
>
> ctl.!default {
> type pulse
> fallback "sysdefault"
> }
> nbsd$
>
> nbsd$ cat /emul/linux32/etc/alsa-pulse.conf
> @hooks [
> {
> func load
> files [
> "/etc/asound.conf"
> "/etc/asound-pulse.conf"
> "~/.asoundrc"
> ]
> errors false
> }
> ]
>
> <confdir:alsa.conf>
> nbsd$
>
> nbsd$ cat ~/.asoundrc
> # begin ~/.asoundrc
> pcm.!default {
> type pulse
> }
>
> ctl.!default {
> type pulse
> }
>
> pcm.pulse {
> type pulse
> }
>
> ctl.pulse {
> type pulse
> }
> # end ~/.asoundrc
> nbsd$
>
> nbsd$ pgrep -lf dbus
> 362 /usr/pkg/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
> 233 dbus-launch --autolaunch=bda97285b021fddcadbe90ef50893d14
> --binary-syntax --close-stderr
> 1008 /usr/pkg/bin/dbus-daemon --system
> nbsd$ pgrep -lf hal
> 226 /usr/pkg/libexec/hald-addon-storage
> 232 hald-runner
> 703 /usr/pkg/sbin/hald
> nbsd$
So normal audio is working either via classic headphones or USB one.
Installed Flash support for Firefox and sound works on normal
headphones, but not USB one.
Trying Citrix plugin I can see:
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect:
Connection refused
So it must be something directly in compat_linux.
/emul/linux32/usr/bin
nbsd$ ./aplay -l
aplay: device_list:244: no soundcards found...
nbsd$
nbsd$ ./alsamixer
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect:
Connection refused
cannot open mixer: Connection refused
nbsd$
Doing alsamixer directly from NetBSD with alsa stuff installed via
pkgin shows volume setup for output channel which I can manipulate and
shows that it's connected to PulseAudio.
So what can be wrong here?
Home |
Main Index |
Thread Index |
Old Index