[X2Go-Dev] Bug#807: PulseAudio dies when accessed, when x2goclient.exe is run on a Windows 2012 Terminal Server (within a native RDP desktop connection)

Stefan Baur X2Go-ML-1 at baur-itcs.de
Sun Mar 8 22:33:52 CET 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: x2goclient
Version: 4.0.3.1

Situation:

Hardware:

Windows Server 2012, installed as Terminal Server
Debian Linux 7.8( Wheezy), installed as X2Go Server
Windows 7x64 Client


Connection scenario:

0) Windows 7 Client tries to play a local sound file.
   Result: Sound works just fine.

1) Windows 7 Client connects to Debian Linux 7.8 using X2GoClient.
   Result: Sound works just fine.

2) Windows 7 Client connects to Windows Server 2012 using RDP
   (mstsc.exe). *NOT* via X2Go's RDP proxy feature.
   Result: Sound works just fine.

3) Windows 7 Client, connected to Windows Server 2012 using RDP
   (mstsc.exe), again, *NOT* via X2Go's RDP proxy feature, tries to run
   X2GoClient *on the Windows Server 2012* *inside* the native RDP
   Session.
   Result: Sound fails for all things X2Go.

Analysis:

It seems that PulseAudio dies as soon as one tries to play sound.

The following are captures of the tasks running on the W2K12 server.


x2goclient running, no attempt to play a sound has been made:

PS C:\Users\Administrator> tasklist /fi "USERNAME eq DocThor"

Abbildname                     PID Sitzungsname       Sitz.-Nr.
Speichernutzung
========================= ======== ================ ===========
===============
rdpclip.exe                   3364 RDP-Tcp#2                  4
  6.108 K
taskhostex.exe                2368 RDP-Tcp#2                  4
  5.896 K
explorer.exe                  4008 RDP-Tcp#2                  4
 42.556 K
powershell.exe                4164 RDP-Tcp#2                  4
 70.336 K
conhost.exe                   4172 RDP-Tcp#2                  4
  7.396 K
pageant.exe                   4316 RDP-Tcp#2                  4
  4.252 K
x2goclient.exe                4356 RDP-Tcp#2                  4
 31.188 K
x2gohelper.exe                4376 RDP-Tcp#2                  4
  3.112 K
sshd.exe                      4408 RDP-Tcp#2                  4
  6.224 K
conhost.exe                   4416 RDP-Tcp#2                  4
  4.808 K
ctfmon.exe                    4432 RDP-Tcp#2                  4
  3.332 K
vcxsrv.exe                    4520 RDP-Tcp#2                  4
 40.400 K
nxproxy.exe                   4800 RDP-Tcp#2                  4
 11.588 K
conhost.exe                   4808 RDP-Tcp#2                  4
  2.920 K
pulseaudio.exe                2120 RDP-Tcp#2                  4
  7.876 K
conhost.exe                   3956 RDP-Tcp#2                  4
  2.972 K


x2goclient running, an attempt to play a sound has been made:

PS C:\Users\Administrator> tasklist /fi "USERNAME eq DocThor"

Abbildname                     PID Sitzungsname       Sitz.-Nr.
Speichernutzung
========================= ======== ================ ===========
===============
rdpclip.exe                   3364 RDP-Tcp#2                  4
  6.112 K
taskhostex.exe                2368 RDP-Tcp#2                  4
  5.896 K
explorer.exe                  4008 RDP-Tcp#2                  4
 43.920 K
powershell.exe                4164 RDP-Tcp#2                  4
 70.344 K
conhost.exe                   4172 RDP-Tcp#2                  4
  7.396 K
pageant.exe                   4316 RDP-Tcp#2                  4
  4.252 K
x2goclient.exe                4356 RDP-Tcp#2                  4
 31.228 K
x2gohelper.exe                4376 RDP-Tcp#2                  4
  3.112 K
sshd.exe                      4408 RDP-Tcp#2                  4
  6.300 K
conhost.exe                   4416 RDP-Tcp#2                  4
  4.808 K
ctfmon.exe                    4432 RDP-Tcp#2                  4
  3.344 K
vcxsrv.exe                    4520 RDP-Tcp#2                  4
 49.264 K
nxproxy.exe                   4800 RDP-Tcp#2                  4
 18.372 K
conhost.exe                   4808 RDP-Tcp#2                  4
  2.920 K

As you can see, pulseaudio.exe is gone.

I can see that this is a rather unusual use case, but still, I'd be
interested to know why PulseAudio fails us here.

- -Stefan

- -- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJU/MBAAAoJEG7d9BjNvlEZ5PIH/A2naqofIfgSkR4An2ZlS0ch
hBrhvgxpN4J/VM5pSJqPZ07+56rE/96lDkjrfWgysGP6wJtCmUlPWZZxPwO6Y2Ex
tNA/AeDX7X40pheXGBHubl1K0Mo2qO3oAsgZAAH0WAepxatRf/wMk5uIggUA/MO7
9ZmVI8zb3p92tzN4qGWZJttc4beDtMcj1tOkH2cn5hQFQ5MlSY+RE6P/pTOh6Lqv
iYgVmrejkIWDld3sq/A+C3bwc3VRxU7rZiYDk54LCHgJdaGI3IQEpz/e62ckIs6O
DZpWoRfkbPLIAfJaiJb2G217E9clmK/OtBkodfIf/N0cH2zygfrVZ0lWaqDfJNU=
=+kKI
-----END PGP SIGNATURE-----


More information about the x2go-dev mailing list