View Issue Details

IDProjectCategoryView StatusLast Update
0002392Kali LinuxGeneral Bugpublic2015-11-13 09:03
Reportersbrun Assigned Torhertzog  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Versionkali-dev 
Fixed in Version2016.1 
Summary0002392: Missing icon in menu
Description

in kali-dev: the icon of the sound is missing in the menu (see attached file)

Attached Files
icon.png (51,842 bytes)   
icon.png (51,842 bytes)   

Activities

user3933

2015-07-23 13:58

  ~0003567

this can be fixed by running pulseaudio -D in terminal
edit /etc/xdg/autostart/pulseaudio.desktop and replace start-pulseaudio-x11 with pulseaudio -D

rhertzog

rhertzog

2015-07-23 17:05

administrator   ~0003576

I never reproduced this issue on my side. Did you experience it?

rhertzog

rhertzog

2015-07-23 18:24

administrator   ~0003577

In any case, this is not afffecting sana, only kali-rolling maybe and that was possibly at a point of time where the switch to GNOME 3.16 was not yet completed.

rhertzog

rhertzog

2015-11-12 22:51

administrator   ~0004222

This seems to be an indirect consequence of the fact that we run our user session as root. It works fine in a normal user.

https://sources.debian.net/src/pulseaudio/5.0-13/src/pulse/context.c/#L933

pulseaudio is now auto-spawned by whatever uses it first... but that doesn't work when the user is root.

Instead we will rely on systemd --user to start it for us (manually enabling the service in a live-build hook script).

rhertzog

rhertzog

2015-11-13 09:03

administrator   ~0004227

So this has been fixed with a combination of:

  • modifying live-build-config with hook calling "systemctl --user enable pulseaudio" so that systemd --user starts the pulseaudios which cant be auto-spawned
  • adding dbus-user-session to kali-desktop-common so that when pulseaudio gets started with systemd --user it gets the required environment variable (for X and DBUS_USER_SESSION)

Issue History

Date Modified Username Field Change
2015-07-06 13:59 sbrun New Issue
2015-07-06 13:59 sbrun Status new => assigned
2015-07-06 13:59 sbrun Assigned To => sbrun
2015-07-06 13:59 sbrun File Added: icon.png
2015-07-23 13:58 user3933 Note Added: 0003567
2015-07-23 17:05 rhertzog Note Added: 0003576
2015-07-23 18:24 rhertzog Note Added: 0003577
2015-11-12 21:25 rhertzog Assigned To sbrun => rhertzog
2015-11-12 22:51 rhertzog Note Added: 0004222
2015-11-13 09:03 rhertzog Note Added: 0004227
2015-11-13 09:03 rhertzog Status assigned => resolved
2015-11-13 09:03 rhertzog Fixed in Version => 2016.1
2015-11-13 09:03 rhertzog Resolution open => fixed
2015-12-04 22:29 alexhj451 Issue cloned: 0002924