Lose sound when logging out for new user[SOLVED]

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
jackmule
Posts: 11
Joined: 10. Feb 2012, 14:30

Lose sound when logging out for new user[SOLVED]

Post by jackmule »

Hello Salix Forum!

I am a new Salix KDE 13.37 user coming from LMDE. I really like Salix KDE as my computer is older (Compaq V 3000 with 2 GB ram) and just runs great. My only problem is when I log out to let my wife use the laptop, we lose the sound. The only way I can restore getting sound is to reboot. I should add I am losing sound using Firefox for YouTube and other websites. I still get sound through the headphones. Just no sound through speakers. I am assuming I am losing all sound but have not tried to play mp3 files when this happens.

Does anyone have any suggestions? Thanks!

jackmule
Last edited by jackmule on 12. Feb 2012, 21:04, edited 1 time in total.
djemos
Salix Warrior
Posts: 1466
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Lose sound when logging out for new user

Post by djemos »

You log out and connect as another user? I suppose you do this.

So do the following and see if anything of them solve your problem.

1) run alsamixer in a terminal unmute all channels and raise up the sound for all channels. Not only master channel but speaker channel also. Every user keeps its sound volume.

2) Install as root konq-plugins (slapt-get -i konq-plugins)

3) Create in your /home/user directory the file .asoundrc and add the following in it. (This is for firefox and web not having sound)
pcm.!default {
type hw
card 1
}

ctl.!default {
type hw
card 1
}

4) If even unmuted channels of your sound card there is no sound then add this line in /etc/rc.d/rc.alsa i have it in bold and the 2 other lines that already exist to know where to write it.

mixer CD 90% unmute
mixer CD 0dB

set Speaker on

delete (as root) the /etc/asound.state ( rm /etc/asound.state)
and run as root /etc/rc.d/rc.alsa

And tell us if sound works.
jackmule
Posts: 11
Joined: 10. Feb 2012, 14:30

Re: Lose sound when logging out for new user[SOLVED]

Post by jackmule »

Thanks djemos. I did steps 1-3 and it worked. The plug-in for sound worked where I had no toggle switch before, now I do. Thanks!

jackmule
Post Reply