Subject: Problem running audio applications in TCE mode
From: Walid MOGHRABI <[email-masked]>
To: [email-masked]
Date: Fri, 23 Sep 2016 16:25:46 +0200 (CEST)

Package: x2goclient
Version: 4.0.5.3
Severity: Critical

I managed to fix about every bits here and there but there is still one important part that I can't get to fix which is managing audio applications to work in TCE mode.

To be clear, what I call "TCE mode" is pxe booting an diskless station with x2gothinclient (per the doc setup with default settings, Debian wheezy based with heuler x2go client)

When I open a X2Go session with a local x2go client on my Ubuntu laptop (or even with x2goclient under windows), no problem, I have sound with PulseAudio fully working, I can play videos on youtube, hear MP3s with totem or any other audio application.
Running the same session with a TCE client works great until I want to hear a sound ... youtube videos are hanging with no sound, playing MP3s don't even start.

Here is a snippet from /var/log/syslog taken from the TCE when opening a new X2Go session :

----------------------------------------------------------------------------------------------
Sep 23 13:51:50 x2gothinclient rtkit-daemon[2629]: Successfully dropped privileges.
Sep 23 13:51:50 x2gothinclient rtkit-daemon[2629]: Successfully limited resources.
Sep 23 13:51:50 x2gothinclient rtkit-daemon[2629]: Running.
Sep 23 13:51:50 x2gothinclient rtkit-daemon[2629]: Watchdog thread running.
Sep 23 13:51:50 x2gothinclient rtkit-daemon[2629]: Canary thread running.
Sep 23 13:51:50 x2gothinclient rtkit-daemon[2629]: Successfully made thread 2627 of process 2627 (/usr/bin/pulseaudio) owned by '106' high priority at nice level -11.
Sep 23 13:51:50 x2gothinclient rtkit-daemon[2629]: Supervising 1 threads of 1 processes of 1 users.
Sep 23 13:51:50 x2gothinclient rtkit-daemon[2629]: Successfully made thread 2637 of process 2627 (/usr/bin/pulseaudio) owned by '106' RT at priority 5.
Sep 23 13:51:50 x2gothinclient rtkit-daemon[2629]: Supervising 2 threads of 1 processes of 1 users.
Sep 23 13:51:50 x2gothinclient rtkit-daemon[2629]: Successfully made thread 2638 of process 2627 (/usr/bin/pulseaudio) owned by '106' RT at priority 5.
Sep 23 13:51:50 x2gothinclient rtkit-daemon[2629]: Supervising 3 threads of 1 processes of 1 users.
Sep 23 13:52:14 x2gothinclient pulseaudio[2929]: [pulseaudio] pid.c: Daemon already running.
Sep 23 13:52:17 x2gothinclient pulseaudio[2627]: [pulseaudio] x11wrap.c: XOpenDisplay() failed
Sep 23 13:52:17 x2gothinclient pulseaudio[2627]: [pulseaudio] module.c: Failed to load module "module-x11-publish" (argument: "display=:50"): initialization failed.
Sep 23 13:52:33 x2gothinclient acpid: client 2575[0:0] has disconnected
----------------------------------------------------------------------------------------------

Best regards,

Walid Moghrabi
---
DISCLAIMER: This e-mail is private and confidential and may contain proprietary or legally privileged information. It is for the intended recipient only. If you have received this email in error, please notify the author by replying to it and then destroy it. If you are not the intended recipient you must not use, disclose, distribute, copy, print or rely on this e-mail or any attachment. Thank you