Audio device disappear when multiple logins

Questions about codecs, DVD playback, web plugins...
Forum rules

Audio device disappear when multiple logins

Postby penguinsam on Fri Apr 01, 2011 1:57 am

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
penguinsam
Level 1
Level 1
 
Posts: 9
Joined: Fri Apr 01, 2011 1:53 am

Linux Mint is funded by ads and donations.
 

Re: Audio device disappear when multiple logins

Postby mads on Sat Apr 02, 2011 6:52 am

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?
User avatar
mads
Level 6
Level 6
 
Posts: 1302
Joined: Wed Nov 03, 2010 3:44 pm

Re: Audio device disappear when multiple logins

Postby penguinsam on Sat Apr 02, 2011 9:15 am

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.
penguinsam
Level 1
Level 1
 
Posts: 9
Joined: Fri Apr 01, 2011 1:53 am

Re: Audio device disappear when multiple logins

Postby mads on Sat Apr 02, 2011 10:14 am

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
User avatar
mads
Level 6
Level 6
 
Posts: 1302
Joined: Wed Nov 03, 2010 3:44 pm

Re: Audio device disappear when multiple logins

Postby mads on Sat Apr 02, 2011 12:13 pm

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.
User avatar
mads
Level 6
Level 6
 
Posts: 1302
Joined: Wed Nov 03, 2010 3:44 pm

Re: Audio device disappear when multiple logins

Postby penguinsam on Sun Apr 03, 2011 2:49 am

I found sometimes it fails even through I login as me, which already with root privileges
penguinsam
Level 1
Level 1
 
Posts: 9
Joined: Fri Apr 01, 2011 1:53 am

Re: Audio device disappear when multiple logins

Postby mads on Sun Apr 03, 2011 8:44 am

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!
User avatar
mads
Level 6
Level 6
 
Posts: 1302
Joined: Wed Nov 03, 2010 3:44 pm

Re: Audio device disappear when multiple logins

Postby penguinsam on Sat Apr 09, 2011 12:14 am

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
penguinsam
Level 1
Level 1
 
Posts: 9
Joined: Fri Apr 01, 2011 1:53 am

Re: Audio device disappear when multiple logins

Postby mads on Sat Apr 09, 2011 3:55 am

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".
User avatar
mads
Level 6
Level 6
 
Posts: 1302
Joined: Wed Nov 03, 2010 3:44 pm

Linux Mint is funded by ads and donations.
 

Return to Sound, Multimedia & Codecs

Who is online

Users browsing this forum: No registered users and 1 guest