Devuan bug report logs - #375
pulseaudio not started in xfce for regular user

version graph

Package: pulseaudio; Maintainer for pulseaudio is Dima Krasner <dima@dimakrasner.com>; Source for pulseaudio is src:pulseaudio.

Reported by: Tito <farmatito@tiscali.it>

Date: Tue, 14 Jan 2020 21:18:02 UTC

Severity: grave

Tags: beowulf, moreinfo, patch

Merged with 276, 318, 367, 378, 403, 466, 473, 480, 514, 520

Found in version 12.2-4+deb10u1

Done: Mark Hindley <mark@hindley.org.uk>

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#375: pulseaudio not started in xfce for regular user
Reply-To: Tito <farmatito@tiscali.it>, 375@bugs.devuan.org
Resent-From: Tito <farmatito@tiscali.it>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: Dima Krasner <dima@dimakrasner.com>
X-Loop: owner@bugs.devuan.org
Resent-Date: Tue, 14 Jan 2020 21:18:02 +0000
Resent-Message-ID: <handler.375.B.157903620317681@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: report 375
X-Devuan-PR-Package: pulseaudio
X-Devuan-PR-Keywords: 
Received: via spool by submit@bugs.devuan.org id=B.157903620317681
          (code B); Tue, 14 Jan 2020 21:18:02 +0000
Received: (at submit) by bugs.devuan.org; 14 Jan 2020 21:10:03 +0000
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 14 Jan 2020 21:10:03 +0000 (UTC)
Received: from smtp.tiscali.it (santino-notr.mail.tiscali.it [213.205.33.215])
	(using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 4A776F60C34
	for <submit@bugs.devuan.org>; Tue, 14 Jan 2020 22:09:09 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (1024-bit key; unprotected) header.d=tiscali.it header.i=@tiscali.it header.b="JrIY6zmB";
	dkim-atps=neutral
Received: from [192.168.2.164] ([217.27.115.45])
	by santino.mail.tiscali.it with 
	id qM962100d0yqAhV01M97aY; Tue, 14 Jan 2020 21:09:07 +0000
x-auth-user: farmatito@tiscali.it
To: submit@bugs.devuan.org
From: Tito <farmatito@tiscali.it>
Message-ID: <a5a275c5-d35a-4264-8e7b-bdbf1628c14b@tiscali.it>
Date: Tue, 14 Jan 2020 22:09:03 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.3.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tiscali.it; s=smtp;
	t=1579036147; bh=uQNFGt2tamQ8nUcTsV+nru+Lrjn6TqDLkb0qm+WT4ac=;
	h=To:From:Subject:Date;
	b=JrIY6zmBxs8OsrR+FRkyiTVjLTCQRFjTOai9InsK6DC5gmJcdXemwXEdEc2fo40eC
	 v8W5UnNsWOhF/KNB7UnVO2N24loCO7ttykHHOj5Go/wvHOC52k16Px5hjEHZfep9VI
	 2rMM/T9IxuiHD7mwVtErHaeY24eZwsRC5+9f0ubo=
X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,
	SPF_HELO_PASS,SPF_PASS autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
Package: pulseaudio
Version: 12.2-4+deb10u1

Incorrect behavior: the .desktop file installed in
/etc/xdg/autostart/pulseaudio.desktop does not work correctly
for a regular user and pulseaudio is not started in xfce DE.
The .desktop file does start pulseaudio for the root user.

[Desktop Entry]
Version=1.0
Name=PulseAudio Sound System

omissis

Exec=start-pulseaudio-x11
Terminal=false
Type=Application
Categories=
GenericName=
X-GNOME-Autostart-Phase=Initialization
X-KDE-autostart-phase=1

Partial fix:
changing Exec line to Exec=/usr/bin/pulseaudio --start
works for regular users but not for the  root user.

Calling a wrapper script like:

#!/bin/sh
if [ $(id -u) -eq 0 ] ; then
	start-pulseaudio-x11
else
	pulseaudio --start
fi

maybe could work for all users but i did not test it
and probably there is a more orthodox solution.

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Mon Nov 25 07:53:09 2024;