View Issue Details

IDProjectCategoryView StatusLast Update
0007798Kali LinuxGeneral Bugpublic2023-03-14 10:01
Reporterd4yn1sh Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionopen 
Product Version2022.2 
Summary0007798: sound - speaker and mic volume not persistent after logout
Description

If volume is changed during user session and user logs out - after login the volume is back to default

Steps To Reproduce
  1. set volume to some value different than default (mute or max, for example)
  2. log out
  3. log back in with same user
  4. volume is back to original value
Additional Information

reproduced on two different laptops

Activities

daniruiz

daniruiz

2022-07-13 07:07

manager   ~0016384

Are you using the installed version or a live usb?

d4yn1sh

d4yn1sh

2022-07-13 08:47

reporter   ~0016386

Installed version

Michu

Michu

2022-07-15 20:14

reporter   ~0016396

did you tried to use alsamixer (alsa-utils)

d4yn1sh

d4yn1sh

2022-07-17 05:29

reporter   ~0016397

No, I didn't. Please elaborate.

Michu

Michu

2022-07-22 21:27

reporter   ~0016424

in alsamixer you can manage volume of all speakers mics that you have besides try using pavucontrol package to set volume on system sound and others or maybe your problem is in drivers ?

d4yn1sh

d4yn1sh

2022-07-24 17:53

reporter   ~0016426

Volume control works fine, I think the problem is not in the drivers but in the persistence of the set values, i.e it's reset to the default values after logout/login rather than being saved and stay persistent after logout/login (which I believe is the desired behavior - all other OS I've worked with have persistent volume)

steev

steev

2022-07-27 19:51

manager   ~0016450

How are you changing the volume, and what desktop is this in?

d4yn1sh

d4yn1sh

2022-07-27 20:09

reporter   ~0016452

Volume bar at the top right or via keyboard Fn keys. I use Xfce desktop env.

steev

steev

2022-07-27 23:29

manager   ~0016454

Have you tried moving your ~/.cache folder to a different name and see if that helps at all? Or possibly run pavucontrol from a terminal and see if it spits anything out when you try to change the volume?

steev

steev

2022-07-28 05:23

manager   ~0016457

Actually - had another thought - does your root user have a ~/.config/pulse directory?

d4yn1sh

d4yn1sh

2022-07-28 18:32

reporter   ~0016465

I did what steev suggested, got this:
pavucontrol doesn't spit anything, I can change the volume as expected.
If pavucontrol is open - when I log out and log back in - the volume is persistent (stays the same as was configured before the log-out).
If I close pavucontrol - when I log out and log back in - the volume is set to default value.
I do have ~/.config/pulse dir with some backup files (.tdb) and some default configs.

steev

steev

2022-07-28 18:43

manager   ~0016466

When you say you do have ~/.config/pulse - are you saying for root? or just for your normal user? If root, can you try removing root's copy of ~/.config/pulse and then see if the changes stay persistent?

d4yn1sh

d4yn1sh

2022-07-29 06:46

reporter   ~0016468

Oh, you meant the actual root user?
root user doesn't have this folder, only my user (which has root privileges)

Michu

Michu

2022-07-30 19:27

reporter   ~0016470

i have almost same problem instead of logging out when i change song on youtube volume in pavucontrol changes everytime

steev

steev

2022-07-30 23:43

manager   ~0016471

Can you both try moving the ~/.config/pulse directory out of the way? Also, to be sure, can you please give us the output of dpkg -l | grep pulse

Michu

Michu

2022-07-31 08:25

reporter   ~0016472

mine output of dpkg -l | grep pulse :
ii gstreamer1.0-pulseaudio:amd64 1.20.3-1 amd64 GStreamer plugin for PulseAudio (transitional package)
ii libkf5pulseaudioqt3:amd64 1.3-2 amd64 Pulseaudio bindings library for Qt
ii libpulse-mainloop-glib0:amd64 15.0+dfsg1-4+b1 amd64 PulseAudio client libraries (glib support)
ii libpulse0:amd64 15.0+dfsg1-4+b1 amd64 PulseAudio client libraries
ii libpulsedsp:amd64 15.0+dfsg1-4+b1 amd64 PulseAudio OSS pre-load library
ii pulseaudio 15.0+dfsg1-4+b1 amd64 PulseAudio sound server
ii pulseaudio-module-bluetooth 15.0+dfsg1-4+b1 amd64 Bluetooth module for PulseAudio sound server
ii pulseaudio-utils 15.0+dfsg1-4+b1 amd64 Command line tools for the PulseAudio sound server

d4yn1sh

d4yn1sh

2022-08-01 05:37

reporter   ~0016473

Moving the folder ~/.config/pulse didn't help.

dpkg output:

└─$ dpkg -l | grep pulse
ii libpulse-mainloop-glib0:amd64 15.0+dfsg1-4+b1 amd64 PulseAudio client libraries (glib support)
ii libpulse0:amd64 15.0+dfsg1-4+b1 amd64 PulseAudio client libraries
ii libpulsedsp:amd64 15.0+dfsg1-4+b1 amd64 PulseAudio OSS pre-load library
ii pulseaudio 15.0+dfsg1-4+b1 amd64 PulseAudio sound server
ii pulseaudio-module-bluetooth 15.0+dfsg1-4+b1 amd64 Bluetooth module for PulseAudio sound server
ii pulseaudio-utils 15.0+dfsg1-4+b1 amd64 Command line tools for the PulseAudio sound server
ii xfce4-pulseaudio-plugin:amd64 0.4.3-1 amd64 Xfce4 panel plugin to control pulseaudio

arnaudr

arnaudr

2022-08-02 14:29

manager   ~0016477

Can't reproduce in QEMU/KVM, sorry.

g0tmi1k

g0tmi1k

2023-03-14 10:01

administrator   ~0017650

This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity.

Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/get-kali/)?

If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup?
For more information, please read: https://www.kali.org/docs/community/submitting-issues-kali-bug-tracker/

Issue History

Date Modified Username Field Change
2022-07-12 05:49 d4yn1sh New Issue
2022-07-13 07:07 daniruiz Note Added: 0016384
2022-07-13 08:47 d4yn1sh Note Added: 0016386
2022-07-15 20:14 Michu Note Added: 0016396
2022-07-17 05:29 d4yn1sh Note Added: 0016397
2022-07-22 21:27 Michu Note Added: 0016424
2022-07-24 17:53 d4yn1sh Note Added: 0016426
2022-07-27 19:51 steev Note Added: 0016450
2022-07-27 20:09 d4yn1sh Note Added: 0016452
2022-07-27 23:29 steev Note Added: 0016454
2022-07-28 05:23 steev Note Added: 0016457
2022-07-28 18:32 d4yn1sh Note Added: 0016465
2022-07-28 18:43 steev Note Added: 0016466
2022-07-29 06:46 d4yn1sh Note Added: 0016468
2022-07-30 19:27 Michu Note Added: 0016470
2022-07-30 23:43 steev Note Added: 0016471
2022-07-31 08:25 Michu Note Added: 0016472
2022-08-01 05:37 d4yn1sh Note Added: 0016473
2022-08-02 14:29 arnaudr Note Added: 0016477
2023-03-14 10:01 g0tmi1k Note Added: 0017650
2023-03-14 10:01 g0tmi1k Status new => closed