Audio device disappear when multiple logins

Archived topics about LMDE 1 and LMDE 2
Locked
penguinsam

Audio device disappear when multiple logins

Post by penguinsam »

It is wierd there is no audio when I change login. I see no audio device appears in the Sound Preference.

Does anyone get idea on this? The audio device is ok when I login as the first user in LMDE.

Thanks :D
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
mads

Re: Audio device disappear when multiple logins

Post by mads »

Hi penguinsam
Do you mean when you change login, in "Sound Preferences" - "Output", there is no device in "Choose a device for sound output"?
penguinsam wrote:The audio device is ok when I login as the first user in LMDE.
Is the second user account ordinary or with root privileges?
penguinsam

Re: Audio device disappear when multiple logins

Post by penguinsam »

mads wrote:Hi penguinsam
Do you mean when you change login, in "Sound Preferences" - "Output", there is no device in "Choose a device for sound output"?
penguinsam wrote:The audio device is ok when I login as the first user in LMDE.
Is the second user account ordinary or with root privileges?
Yes. Exactly. And the second user is an ordinary account.
mads

Re: Audio device disappear when multiple logins

Post by mads »

penguinsam wrote:Yes. Exactly. And the second user is an ordinary account.
Login as the second user and reinstall pulseaudio. Reboot. Login as the second user and see if it is ok.
Note: When running the following command, note that reinstalling "pulseaudio" alone might be enough,
but I wrote all related packages as well.

Code: Select all

sudo apt-get install --reinstall pulseaudio pulseaudio-utils gstreamer0.10-pulseaudio libpulse-browse0 paman pavumeter pavucontrol
mads

Re: Audio device disappear when multiple logins

Post by mads »

In the meantime I found this, here:
Daemon startup failed
Try resetting PulseAudio. To do that:
$ pulseaudio --kill
$ killall pulseaudio
$ killall -9 pulseaudio
$ rm -rf ~/.pulse*
$ rm -rf /tmp/pulse*
Afterwards, start PulseAudio again.
penguinsam

Re: Audio device disappear when multiple logins

Post by penguinsam »

I found sometimes it fails even through I login as me, which already with root privileges
mads

Re: Audio device disappear when multiple logins

Post by mads »

penguinsam wrote:I found sometimes it fails even through I login as me, which already with root privileges
In the meantime I found this, here:
Daemon startup failed
Try resetting PulseAudio. To do that:
$ pulseaudio --kill
$ killall pulseaudio
$ killall -9 pulseaudio
$ rm -rf ~/.pulse*
$ rm -rf /tmp/pulse*
Afterwards, start PulseAudio again.

GOOD LUCK!
penguinsam

Re: Audio device disappear when multiple logins

Post by penguinsam »

mads wrote:
penguinsam wrote:I found sometimes it fails even through I login as me, which already with root privileges
In the meantime I found this, here:
Daemon startup failed
Try resetting PulseAudio. To do that:
$ pulseaudio --kill
$ killall pulseaudio
$ killall -9 pulseaudio
$ rm -rf ~/.pulse*
$ rm -rf /tmp/pulse*
Afterwards, start PulseAudio again.

GOOD LUCK!
I tried but the issue happens in occasion
mads

Re: Audio device disappear when multiple logins

Post by mads »

penguinsam wrote:I found sometimes it fails even through I login as me, which already with root privileges
Sorry, I should have seen this before. If you are login with root privileges, that is the cause. Remember that you are
running Debian and not Mint or Ubuntu. Login to your X session as root, is a very bad/dangerous idea in Debian. If I
was you, I had reinstalled LMDE again.

If you need to become root, use
$ su
command in a terminal, or if you need to have it done by a GUI, run the GUI program with "gksu".
Locked

Return to “LMDE Archive”