Author Topic: no sound while in KDE desktop  (Read 5008 times)

rchamp

  • Veteran
  • ***
  • Posts: 81
    • View Profile
no sound while in KDE desktop
« on: March 21, 2011, 05:31:12 am »
Hey everyone!

Just today i wanted to show someone a video, so I pulled up KDE desktop, copied over the video clip and low and behold, I got video fine, but got a message on both mplayer and vlc saying 'cannot initialize audio drivers'. Is there something disabled?

I also tried opening an mp3 that I have stored on the pc, and amarok threw me an error too.

Is this a known issue?


rchamp

  • Veteran
  • ***
  • Posts: 81
    • View Profile
Re: no sound while in KDE desktop
« Reply #1 on: March 21, 2011, 05:33:16 am »
wanted to also note that playing my mp3s through LMCE works flawlessy, BTW. standard audio in LMCE (movies, wizard, etc) works fine as well.

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: no sound while in KDE desktop
« Reply #2 on: March 21, 2011, 10:53:03 pm »
become root and start the applications you want from it. sudo su and you have it.

rchamp

  • Veteran
  • ***
  • Posts: 81
    • View Profile
Re: no sound while in KDE desktop
« Reply #3 on: March 22, 2011, 04:07:01 pm »
ahh ok. that's strange. is it because of the pluto integration?

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: no sound while in KDE desktop
« Reply #4 on: March 23, 2011, 08:03:45 pm »
Add your username to the 'audio' group in /etc/group.  Reboot the machine if you have already started KDE.  You should have full audio capabilities now.

J.

rchamp

  • Veteran
  • ***
  • Posts: 81
    • View Profile
Re: no sound while in KDE desktop
« Reply #5 on: March 26, 2011, 10:38:51 pm »
Will try that when I get back to the house. Many thanks

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: no sound while in KDE desktop
« Reply #6 on: March 27, 2011, 12:20:27 am »
There is a command which can do this for you:

Code: [Select]
$ sudo usermod -a -G audio user_name
will add 'user_name' to the group 'audio'.  Let us know how it goes.

J.