Results 1 to 10 of 10

Thread: Sound only works for root account under KDE

Hybrid View

  1. #1
    Senior Member registered user
    Join Date
    Apr 2005
    Posts
    159

    Sound only works for root account under KDE

    I've got a sarge install (modulo a few backports a/o testing packages). Works great since 2+ years. Recently I can't get sound to work with my regular account. The weird thing is i get half the KDE startup sound, then it's abruptly cut and no app is allowed to use the sound system (xmms, juk, kaffeine..). It works for root, though. A CLI cd player (workbone) works under both accounts, so the problem misght be kde/arts related. Does anyone have a suggestion?

  2. #2
    Senior Member registered user
    Join Date
    Jan 2005
    Location
    UK
    Posts
    282
    Have you tried using ALSA emulation ? I've not tried Debian Sarge but on Knoppix Im using ALSA emulation with KDE, both non kde apps and kde apps can use sound.
    It may also be worth trying to stop and sound the sound daemon from a terminal, may show some useful output.
    /etc/init.d/alsa reload or similar.
    Hope that helps

  3. #3
    Senior Member registered user
    Join Date
    Apr 2005
    Posts
    159
    Hi Hal, i think I am using alsa already. I've got both alsa and alsa-utils under /etc/init.d, both of which seem to run alright at boot time. Alsamixer works from the command line. Everything was working under KDE up until a few weeks ago (I am not booting that particular install that often but would really like to keep it working). It still does, but for root only, which is really annoying.

  4. #4
    Senior Member registered user
    Join Date
    Apr 2005
    Posts
    159
    This is definitely a KDE only problem, as if I use another window manager (e.g. windowmaker), sound works. xmms even works with the arts plugin...

  5. #5
    Junior Member
    Join Date
    Mar 2007
    Posts
    6

    Re: Sound only works for root account under KDE

    Quote Originally Posted by kirol
    I've got a sarge install (modulo a few backports a/o testing packages). Works great since 2+ years. Recently I can't get sound to work with my regular account. The weird thing is i get half the KDE startup sound, then it's abruptly cut and no app is allowed to use the sound system (xmms, juk, kaffeine..). It works for root, though. A CLI cd player (workbone) works under both accounts, so the problem misght be kde/arts related. Does anyone have a suggestion?
    Try to move .kde directory to another directory, for example:

    % cd
    % mv .kde .kdeback

    Now KDE will think it starts for the first time, and reinstall default configuration.

    See if this works. If it does, the error is in the setup in your home directory.

    Then, as step two, you could try to debug KDE configuration files and see if you can find error.

    Hope this helps.

    Marv

  6. #6
    Senior Member registered user
    Join Date
    Jan 2005
    Location
    UK
    Posts
    282
    Quote Originally Posted by kirol
    Hi Hal, i think I am using alsa already. I've got both alsa and alsa-utils under /etc/init.d, both of which seem to run alright at boot time. Alsamixer works from the command line. Everything was working under KDE up until a few weeks ago (I am not booting that particular install that often but would really like to keep it working). It still does, but for root only, which is really annoying.

    Hi Kirol,
    Sounds like your regular user is no longer a member of the group "audio"

    As a normal user, type groups, at a terminal.
    In the results do you see audio?
    If not add user to group audio with

    gpasswd - a user audio

    Replace "user" with your normal knoppix user name

  7. #7
    Senior Member registered user
    Join Date
    Jan 2005
    Location
    UK
    Posts
    282
    Quote Originally Posted by kirol
    Hi Hal, i think I am using alsa already. I've got both alsa and alsa-utils under /etc/init.d, both of which seem to run alright at boot time. Alsamixer works from the command line. Everything was working under KDE up until a few weeks ago (I am not booting that particular install that often but would really like to keep it working). It still does, but for root only, which is really annoying.

    Hi Kirol,
    Sounds like your regular user is no longer a member of the group "audio"

    As a normal user, type groups, at a terminal.
    In the results do you see audio?
    If not add user to group audio with

    gpasswd - a user audio

    Replace "user" with your normal knoppix user name

  8. #8
    Senior Member registered user
    Join Date
    Jan 2005
    Location
    UK
    Posts
    282
    Quote Originally Posted by kirol
    Hi Hal, i think I am using alsa already. I've got both alsa and alsa-utils under /etc/init.d, both of which seem to run alright at boot time. Alsamixer works from the command line. Everything was working under KDE up until a few weeks ago (I am not booting that particular install that often but would really like to keep it working). It still does, but for root only, which is really annoying.

    Hi Kirol,
    Sounds like your regular user is no longer a member of the group "audio"

    As a normal user, type groups, at a terminal.
    In the results do you see audio?
    If not add user to group audio with

    gpasswd - a user audio

    Replace "user" with your normal knoppix user name

  9. #9
    Senior Member registered user
    Join Date
    Jan 2005
    Location
    UK
    Posts
    282
    Quote Originally Posted by kirol
    Hi Hal, i think I am using alsa already. I've got both alsa and alsa-utils under /etc/init.d, both of which seem to run alright at boot time. Alsamixer works from the command line. Everything was working under KDE up until a few weeks ago (I am not booting that particular install that often but would really like to keep it working). It still does, but for root only, which is really annoying.

    Hi Kirol,
    Sounds like your regular user is no longer a member of the group "audio"

    As a normal user, type groups, at a terminal.
    In the results do you see audio?
    If not add user to group audio with

    gpasswd - a user audio

    Replace "user" with your normal knoppix user name

  10. #10
    Senior Member registered user
    Join Date
    Apr 2005
    Posts
    159
    Thanks for the suggestions. More googling had actually revealed a known problem with KDE 3.2.2, namely that sometimes one has to disable the kmix setting "restore playing level at startup". That did the trick for me, although i have no idea what triggered the problem with no KDE update in ages. And yes Hal, I am member of the "audio" group as you anxiously aked (just kidding, i know it can get hard to post at times). Cheers.

Similar Threads

  1. how do i keep settings with all the stuff on root account ?
    By menthor in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 12-15-2006, 01:33 PM
  2. Cannot log into root account from login menu...
    By rrfish72 in forum General Support
    Replies: 3
    Last Post: 12-15-2004, 11:42 PM
  3. Cannot log into user account..only root
    By rrfish72 in forum General Support
    Replies: 6
    Last Post: 09-17-2004, 08:15 PM
  4. missing startup sound when booting into user account!
    By KnoppixDawg in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 07-17-2004, 08:50 PM
  5. Sound card works as root but not as regular user
    By sgs9198 in forum Hardware & Booting
    Replies: 3
    Last Post: 07-05-2004, 11:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Lenovo ThinkPad L13 Yoga Touch Laptop 13.3” Core i5 8GB RAM 256GB SSD Win 11 Pro picture

Lenovo ThinkPad L13 Yoga Touch Laptop 13.3” Core i5 8GB RAM 256GB SSD Win 11 Pro

$239.99



Lenovo Thinkpad T14 Gen 2 14

Lenovo Thinkpad T14 Gen 2 14" 16GB 512GB, Black

$290.24



Lenovo ThinkPad L15 Gen 3 15.6

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black

$241.50



Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro picture

Lenovo ThinkPad E14 Gen 2 Laptop 14” HD Ryzen 5 16GB RAM 512GB SSD Win 11 Pro

$319.99



Lenovo ThinkPad T14 Gen 2 i5-1145G7 16GB 512GB SSD Touch Win 11 Pro Good picture

Lenovo ThinkPad T14 Gen 2 i5-1145G7 16GB 512GB SSD Touch Win 11 Pro Good

$261.99



Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11 picture

Lenovo ThinkPad E14 Gen 3 Laptop 14” FHD AMD Ryzen 5 16GB RAM 512GB SSD Win 11

$374.99



Lenovo ThinkPad L14 Gen 3 14

Lenovo ThinkPad L14 Gen 3 14" FHD Laptop i5 12th Gen 16GB RAM 256GB SSD Win 11

$329.99



Lenovo ThinkPad L14 Gen 2 14

Lenovo ThinkPad L14 Gen 2 14" Laptop Core i5-1135G7 2.40GHz 8GB RAM 256GB SSD

$124.99



Lenovo ThinkPad L15 Gen 3 15.6

Lenovo ThinkPad L15 Gen 3 15.6" 16GB, Thunder Black

$241.50



Windows 11 PRO Laptop Notebook PC Computer, 8GB Ram, Webcam, Wifi, and HDMI picture

Windows 11 PRO Laptop Notebook PC Computer, 8GB Ram, Webcam, Wifi, and HDMI

$144.00