Page 1 of 1

Audio device disappear when multiple logins

Posted: Fri Apr 01, 2011 1:57 am
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

Re: Audio device disappear when multiple logins

Posted: Sat Apr 02, 2011 6:52 am
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?

Re: Audio device disappear when multiple logins

Posted: Sat Apr 02, 2011 9:15 am
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.

Re: Audio device disappear when multiple logins

Posted: Sat Apr 02, 2011 10:14 am
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

Re: Audio device disappear when multiple logins

Posted: Sat Apr 02, 2011 12:13 pm
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.

Re: Audio device disappear when multiple logins

Posted: Sun Apr 03, 2011 2:49 am
by penguinsam
I found sometimes it fails even through I login as me, which already with root privileges

Re: Audio device disappear when multiple logins

Posted: Sun Apr 03, 2011 8:44 am
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!

Re: Audio device disappear when multiple logins

Posted: Sat Apr 09, 2011 12:14 am
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

Re: Audio device disappear when multiple logins

Posted: Sat Apr 09, 2011 3:55 am
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".