Discussion:
[X2Go-Dev] [pulseaudio] main.c: User-configured server at
Robert Kudyba
2018-02-09 14:51:47 UTC
Permalink
This seems to happen a couple of times a week. We are on Fedora 27. and
just upgraded to
x2goserver-4.1.0.0-0.0x2go1.0.git20180129.1511.heuler.fc27.x86_64

Every so often the logs start filling up with these:
Feb 9 09:28:33 erdos pulseaudio[2124]: [pulseaudio] main.c:
User-configured server at localhost:41031, refusing to start/autospawn.

Should we remind users to uncheck the audio box when logging in?

I see there is bug 161, https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=161
and 1143, https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1143 that are
quite old but perhaps related. here's a 'ps -auwx | grep x2go' when this
happens:

user1 20652 0.0 0.0 116572 1696 ? Ss Feb06 0:00 /bin/bash
/usr/bin/x2goruncommand 333 20569 user1-333-1517963407_stDMATE_dp32 50324
mate-session nosnd D

user1 20756 0.0 0.0 32340 1116 ? S Feb06 0:00
/usr/bin/dbus-run-session /etc/x2go/Xsession

user2 30305 0.0 0.0 116704 3232 ? Ss Feb08 0:00 bash -l -c
echo "X2GODATABEGIN:216fe65b-1b56-4b0f-99b9-4f5fd0da8929"; export
PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; x2goresume-session
user2-334-1518126156_stDXFCE_dp32 fullscreen adsl 16m-jpeg-9 us query 0
both; echo "X2GODATAEND:216fe65b-1b56-4b0f-99b9-4f5fd0da8929";

user2 30396 0.0 0.0 116572 3184 ? S Feb08 0:29 /bin/bash
/usr/bin/x2goresume-session user2-334-1518126156_stDXFCE_dp32 fullscreen
adsl 16m-jpeg-9 us query 0 both

user3 31106 0.0 0.0 116572 1692 ? Ss Feb06 0:00 /bin/bash
/usr/bin/x2goruncommand 331 30861 user3-331-1517954980_stDMATE_dp32 41031
mate-session nosnd D

user3 31230 0.0 0.0 32340 1116 ? S Feb06 0:00
/usr/bin/dbus-run-session /etc/x2go/Xsession

user2 32682 0.0 0.0 116704 3216 ? Ss Feb08 0:00 bash -l -c
echo "X2GODATABEGIN:c04d2709-19ac-4774-8a7e-0dee1c5164d2"; export
PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; x2goresume-session
user2-335-1518126319_stDMATE_dp32 fullscreen adsl 16m-jpeg-9 us query 0
both; echo "X2GODATAEND:c04d2709-19ac-4774-8a7e-0dee1c5164d2";

user2 32731 0.0 0n.
.0 116572 3136 ? S Feb08 0:28 /bin/bash
/usr/bin/x2goresume-session user2-335-1518126319_stDMATE_dp32 fullscreen
adsl 16m-jpeg-9 us query 0 both

You can see the server load gets a bit high:
top - 09:29:24 up 6 days, 16:37, 4 users, load average: 2.22, 3.07, 2.84
Tasks: 383 total, 2 running, 295 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.8 us, 0.5 sy, 1.6 ni, 87.0 id, 9.8 wa, 0.1 hi, 0.2 si,
0.0 st
KiB Mem : 24670328 total, 502868 free, 2891660 used, 21275800 buff/cache
KiB Swap: 40959996 total, 40601596 free, 358400 used. 21282084 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+
COMMAND
3026 20 0 157764 12240 4772 R 41.2 0.0 0:00.07 x2gogetagentsta


So I'm forced to kill the PIDs.

After restarting x2goserver:
Feb 9 09:32:37 erdos /usr/sbin/x2gocleansessions[4477]:
user3-331-1517954980_stDMATE_dp32, pid 30861: cleaning up stale X11 socket
file: /tmp/.X11-unix/X331

Feb 9 09:32:37 erdos /usr/sbin/x2gocleansessions[4477]:
user3-331-1517954980_stDMATE_dp32, pid 30861: cleaning up stale X11 lock
file: /tmp/.X331-lock

Side note, why does /var/log/dnf.log have these nightly?
DEBUG Unknown configuration option: protect = 0 in
/etc/yum.repos.d/x2go.repo
Mike DePaulo
2018-02-20 03:57:05 UTC
Permalink
Hi Robert,

Whether this is a bug in x2go or an issue with x2go interacts with
PulseAudio, please a file bug with our bug tracker.

I have some comments I would like to add, and I will mention them there.

Also, the high CPU usage may be a separate issue.

-Mike
This seems to happen a couple of times a week. We are on Fedora 27. and just
upgraded to
x2goserver-4.1.0.0-0.0x2go1.0.git20180129.1511.heuler.fc27.x86_64
Feb 9 09:28:33 erdos pulseaudio[2124]: [pulseaudio] main.c: User-configured
server at localhost:41031, refusing to start/autospawn.
Should we remind users to uncheck the audio box when logging in?
I see there is bug 161, https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=161
and 1143, https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1143 that are
quite old but perhaps related. here's a 'ps -auwx | grep x2go' when this
user1 20652 0.0 0.0 116572 1696 ? Ss Feb06 0:00 /bin/bash
/usr/bin/x2goruncommand 333 20569 user1-333-1517963407_stDMATE_dp32 50324
mate-session nosnd D
user1 20756 0.0 0.0 32340 1116 ? S Feb06 0:00
/usr/bin/dbus-run-session /etc/x2go/Xsession
user2 30305 0.0 0.0 116704 3232 ? Ss Feb08 0:00 bash -l -c
echo "X2GODATABEGIN:216fe65b-1b56-4b0f-99b9-4f5fd0da8929"; export
PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; x2goresume-session
user2-334-1518126156_stDXFCE_dp32 fullscreen adsl 16m-jpeg-9 us query 0
both; echo "X2GODATAEND:216fe65b-1b56-4b0f-99b9-4f5fd0da8929";
user2 30396 0.0 0.0 116572 3184 ? S Feb08 0:29 /bin/bash
/usr/bin/x2goresume-session user2-334-1518126156_stDXFCE_dp32 fullscreen
adsl 16m-jpeg-9 us query 0 both
user3 31106 0.0 0.0 116572 1692 ? Ss Feb06 0:00 /bin/bash
/usr/bin/x2goruncommand 331 30861 user3-331-1517954980_stDMATE_dp32 41031
mate-session nosnd D
user3 31230 0.0 0.0 32340 1116 ? S Feb06 0:00
/usr/bin/dbus-run-session /etc/x2go/Xsession
user2 32682 0.0 0.0 116704 3216 ? Ss Feb08 0:00 bash -l -c
echo "X2GODATABEGIN:c04d2709-19ac-4774-8a7e-0dee1c5164d2"; export
PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb"; x2goresume-session
user2-335-1518126319_stDMATE_dp32 fullscreen adsl 16m-jpeg-9 us query 0
both; echo "X2GODATAEND:c04d2709-19ac-4774-8a7e-0dee1c5164d2";
user2 32731 0.0 0n.
.0 116572 3136 ? S Feb08 0:28 /bin/bash
/usr/bin/x2goresume-session user2-335-1518126319_stDMATE_dp32 fullscreen
adsl 16m-jpeg-9 us query 0 both
top - 09:29:24 up 6 days, 16:37, 4 users, load average: 2.22, 3.07, 2.84
Tasks: 383 total, 2 running, 295 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.8 us, 0.5 sy, 1.6 ni, 87.0 id, 9.8 wa, 0.1 hi, 0.2 si, 0.0
st
KiB Mem : 24670328 total, 502868 free, 2891660 used, 21275800 buff/cache
KiB Swap: 40959996 total, 40601596 free, 358400 used. 21282084 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3026 20 0 157764 12240 4772 R 41.2 0.0 0:00.07 x2gogetagentsta
So I'm forced to kill the PIDs.
user3-331-1517954980_stDMATE_dp32, pid 30861: cleaning up stale X11 socket
file: /tmp/.X11-unix/X331
user3-331-1517954980_stDMATE_dp32, pid 30861: cleaning up stale X11 lock
file: /tmp/.X331-lock
Side note, why does /var/log/dnf.log have these nightly?
DEBUG Unknown configuration option: protect = 0 in
/etc/yum.repos.d/x2go.repo
_______________________________________________
x2go-dev mailing list
https://lists.x2go.org/listinfo/x2go-dev
Robert Kudyba
2018-02-20 16:02:01 UTC
Permalink
I submitted bug 1260 https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1260.

Note this time I was able to get some more logs from around the time of the
login and disconnect of the user. Caja and Mate both crash and coredump. So
it this not an X2Go but but perhaps Caja and/or MATE?

Thanks for all you guys do!

Rob
Post by Mike DePaulo
Hi Robert,
Whether this is a bug in x2go or an issue with x2go interacts with
PulseAudio, please a file bug with our bug tracker.
I have some comments I would like to add, and I will mention them there.
Also, the high CPU usage may be a separate issue.
-Mike
Post by Robert Kudyba
This seems to happen a couple of times a week. We are on Fedora 27. and
just
Post by Robert Kudyba
upgraded to
x2goserver-4.1.0.0-0.0x2go1.0.git20180129.1511.heuler.fc27.x86_64
User-configured
Post by Robert Kudyba
server at localhost:41031, refusing to start/autospawn.
Should we remind users to uncheck the audio box when logging in?
I see there is bug 161, https://urldefense.proofpoint.
com/v2/url?u=https-3A__bugs.x2go.org_cgi-2Dbin_bugreport.
cgi-3Fbug-3D161&d=DwIBaQ&c=aqMfXOEvEJQh2iQMCb7Wy8l0sPnURkcqADc2guUW8IM&r=
X0jL9y0sL4r4iU_qVtR3lLNo4tOL1ry_m7-psV3GejY&m=20WKJbj-
JHr84QILK78vojc1bLRknT5oXi8psKd6nfo&s=yU44UcTb2wDuQFLJWN_
29dH0v6jZoPHQpkBUOL3fOkw&e=
Post by Robert Kudyba
and 1143, https://urldefense.proofpoint.com/v2/url?u=https-3A__bugs.
x2go.org_cgi-2Dbin_bugreport.cgi-3Fbug-3D1143&d=DwIBaQ&c=
aqMfXOEvEJQh2iQMCb7Wy8l0sPnURkcqADc2guUW8IM&r=X0jL9y0sL4r4iU_
qVtR3lLNo4tOL1ry_m7-psV3GejY&m=20WKJbj-JHr84QILK78vojc1bLRknT5oXi8psK
d6nfo&s=oLIWXwONDWP0pV0tNniz-MfUVPMPi0m-kHtjeFWEV6A&e= that are
Post by Robert Kudyba
quite old but perhaps related. here's a 'ps -auwx | grep x2go' when this
user1 20652 0.0 0.0 116572 1696 ? Ss Feb06 0:00 /bin/bash
/usr/bin/x2goruncommand 333 20569 user1-333-1517963407_stDMATE_dp32
50324
Post by Robert Kudyba
mate-session nosnd D
user1 20756 0.0 0.0 32340 1116 ? S Feb06 0:00
/usr/bin/dbus-run-session /etc/x2go/Xsession
user2 30305 0.0 0.0 116704 3232 ? Ss Feb08 0:00 bash -l -c
echo "X2GODATABEGIN:216fe65b-1b56-4b0f-99b9-4f5fd0da8929"; export
PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb";
x2goresume-session
Post by Robert Kudyba
user2-334-1518126156_stDXFCE_dp32 fullscreen adsl 16m-jpeg-9 us query 0
both; echo "X2GODATAEND:216fe65b-1b56-4b0f-99b9-4f5fd0da8929";
user2 30396 0.0 0.0 116572 3184 ? S Feb08 0:29 /bin/bash
/usr/bin/x2goresume-session user2-334-1518126156_stDXFCE_dp32 fullscreen
adsl 16m-jpeg-9 us query 0 both
user3 31106 0.0 0.0 116572 1692 ? Ss Feb06 0:00
/bin/bash
Post by Robert Kudyba
/usr/bin/x2goruncommand 331 30861 user3-331-1517954980_stDMATE_dp32
41031
Post by Robert Kudyba
mate-session nosnd D
user3 31230 0.0 0.0 32340 1116 ? S Feb06 0:00
/usr/bin/dbus-run-session /etc/x2go/Xsession
user2 32682 0.0 0.0 116704 3216 ? Ss Feb08 0:00 bash -l -c
echo "X2GODATABEGIN:c04d2709-19ac-4774-8a7e-0dee1c5164d2"; export
PATH="/usr/local/bin:/usr/bin:/bin";export TERM="dumb";
x2goresume-session
Post by Robert Kudyba
user2-335-1518126319_stDMATE_dp32 fullscreen adsl 16m-jpeg-9 us query 0
both; echo "X2GODATAEND:c04d2709-19ac-4774-8a7e-0dee1c5164d2";
user2 32731 0.0 0n.
.0 116572 3136 ? S Feb08 0:28 /bin/bash
/usr/bin/x2goresume-session user2-335-1518126319_stDMATE_dp32 fullscreen
adsl 16m-jpeg-9 us query 0 both
top - 09:29:24 up 6 days, 16:37, 4 users, load average: 2.22, 3.07,
2.84
Post by Robert Kudyba
Tasks: 383 total, 2 running, 295 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.8 us, 0.5 sy, 1.6 ni, 87.0 id, 9.8 wa, 0.1 hi, 0.2 si,
0.0
Post by Robert Kudyba
st
KiB Mem : 24670328 total, 502868 free, 2891660 used, 21275800
buff/cache
Post by Robert Kudyba
KiB Swap: 40959996 total, 40601596 free, 358400 used. 21282084 avail
Mem
Post by Robert Kudyba
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+
COMMAND
Post by Robert Kudyba
3026 20 0 157764 12240 4772 R 41.2 0.0 0:00.07
x2gogetagentsta
Post by Robert Kudyba
So I'm forced to kill the PIDs.
user3-331-1517954980_stDMATE_dp32, pid 30861: cleaning up stale X11
socket
Post by Robert Kudyba
file: /tmp/.X11-unix/X331
user3-331-1517954980_stDMATE_dp32, pid 30861: cleaning up stale X11 lock
file: /tmp/.X331-lock
Side note, why does /var/log/dnf.log have these nightly?
DEBUG Unknown configuration option: protect = 0 in
/etc/yum.repos.d/x2go.repo
_______________________________________________
x2go-dev mailing list
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.
x2go.org_listinfo_x2go-2Ddev&d=DwIBaQ&c=aqMfXOEvEJQh2iQMCb7Wy8l0sPnURk
cqADc2guUW8IM&r=X0jL9y0sL4r4iU_qVtR3lLNo4tOL1ry_m7-psV3GejY&m=20WKJbj-
JHr84QILK78vojc1bLRknT5oXi8psKd6nfo&s=TP-wPf8mNY0CRl8ZazPiPtjtnj9N8aNLA
LEw42_ol8w&e=
Loading...