Bug#954030: pulseaudio: Pulseaudio does not start in xrdp session. Error in startup script.

2020-03-16 Thread Felipe Sateler
Control: tags -1 moreinfo

On Sun, Mar 15, 2020 at 9:15 PM Bob Hauck  wrote:

> Package: pulseaudio
> Version: 13.0-5
> Severity: normal
> Tags: patch
>
> Dear Maintainer,
>
> I run KDE in a virtual machine using XRDP. For sound support I installed
> pulseaudio-module-xrdp from github:
>
> https://github.com/neutrinolabs/pulseaudio-module-xrdp
>
> But pulseaudio does not start. There is an error in .xsession-errors
> regarding"illegal number" on line 27 of /usr/bin/start-pulseaudio-x11.
>

That should not prevent pulseaudio from starting


> The script attempts to parse $DESKTOP_SESSION.desktop, but the CWD is
> not correct. The fix is to add the correct path to the desktop session
> files.
>

Does that fix the pulseaudio startup? I wouldn't expect it to.


-- 

Saludos,
Felipe Sateler


Bug#954030: pulseaudio: Pulseaudio does not start in xrdp session. Error in startup script.

2020-03-15 Thread Bob Hauck
Package: pulseaudio
Version: 13.0-5
Severity: normal
Tags: patch

Dear Maintainer,

I run KDE in a virtual machine using XRDP. For sound support I installed 
pulseaudio-module-xrdp from github:

https://github.com/neutrinolabs/pulseaudio-module-xrdp

But pulseaudio does not start. There is an error in .xsession-errors 
regarding"illegal number" on line 27 of /usr/bin/start-pulseaudio-x11. 

The script attempts to parse $DESKTOP_SESSION.desktop, but the CWD is 
not correct. The fix is to add the correct path to the desktop session 
files.

-- Package-specific info:
File '/etc/default/pulseaudio' does not exist

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages pulseaudio depends on:
ii  adduser  3.118
ii  init-system-helpers  1.57
ii  libasound2   1.2.2-2.1
ii  libasound2-plugins   1.2.2-1
ii  libc62.29-10
ii  libcap2  1:2.32-1
ii  libdbus-1-3  1.12.16-2
ii  libgcc-s110-20200304-1
ii  libice6  2:1.0.9-2
ii  libltdl7 2.4.6-14
ii  liborc-0.4-0 1:0.4.31-1
ii  libpulse013.0-5
ii  libsm6   2:1.2.3-1
ii  libsndfile1  1.0.28-7
ii  libsoxr0 0.1.3-2
ii  libspeexdsp1 1.2~rc1.2-1.1
ii  libstdc++6   10-20200304-1
ii  libsystemd0  244.3-1
ii  libtdb1  1.4.2-3
ii  libudev1 244.3-1
ii  libwebrtc-audio-processing1  0.3-1+b1
ii  libx11-6 2:1.6.9-2
ii  libx11-xcb1  2:1.6.9-2
ii  libxcb1  1.13.1-5
ii  libxtst6 2:1.2.3-1
ii  lsb-base 11.1.0
ii  pulseaudio-utils 13.0-5

Versions of packages pulseaudio recommends:
ii  dbus-user-session1.12.16-2
ii  libpam-systemd [logind]  244.3-1
ii  rtkit0.12-4

Versions of packages pulseaudio suggests:
pn  paman
pn  paprefs  
ii  pavucontrol  4.0-1
pn  pavumeter
ii  udev 244.3-1

-- no debconf information
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see .

## Configuration file for PulseAudio clients. See pulse-client.conf(5) for
## more information. Default values are commented out.  Use either ; or # for
## commenting.

; default-sink =
; default-source =
; default-server =
; default-dbus-server =

; autospawn = yes
; daemon-binary = /usr/bin/pulseaudio
; extra-arguments = --log-target=syslog

; cookie-file =

; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 
MiB

; auto-connect-localhost = no
; auto-connect-display = no
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see .

## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
## more information. Default values are commented out.  Use either ; or # for
## commenting.

; daemonize = no
; fail = yes
; allow-module-loading = yes
; allow-exit = yes
; use-pid-file = yes
; system-instance = no
; local-server-type = user
; enable-shm = yes
; enable-memfd = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 
MiB
; lock-memory = no
; cpu-limit = no

; high-priority = yes
; nice-level = -11

; realtime-scheduling = yes
; realtime-priority = 5

; exit-idle-time =