Results 1 to 5 of 5

Thread: Error while initializing the sound driver:

  1. #1
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929

    Error while initializing the sound driver:

    Suddenly I get:

    Sound server informational message:
    Error while initializing the sound driver:
    device: default can't be opened for playback (Permission denied)
    The sound server will continue, using the null output device.
    When logging on as anyone other than root (sound works fine as root).

    /etc/group reads:

    audio:29:john:knoppix

    /etc/group.org reads

    audio:29:knoppix:john

    all the dsp devices are root audio.

    Any ideas? And can anyone tell me why there are group and group.org ?

    Suddenly I can't pon as anyone other than root either. There doesn't seem to be any logic to this: all the entries suggest either user should be able to diallup, but the occurences do seem to have something to do with editing /etc/group.

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    Well, I got the sound up and running by doing

    chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi

    as root, natch

    (fortunately I'd kept the instructions for installing alsa from source, no, I didn't re-install, just ran the code above) but still trying to work out why I can no longer pon as anyone other than root.

  3. #3
    Member registered user
    Join Date
    Jul 2003
    Posts
    37

    Re: Error while initializing the sound driver:

    Quote Originally Posted by fingers99
    Suddenly I get:

    Sound server informational message:
    Error while initializing the sound driver:
    device: default can't be opened for playback (Permission denied)
    The sound server will continue, using the null output device.
    When logging on as anyone other than root (sound works fine as root).

    /etc/group reads:

    audio:29:john:knoppix

    /etc/group.org reads

    audio:29:knoppix:john

    all the dsp devices are root audio.

    Any ideas? And can anyone tell me why there are group and group.org ?

    Suddenly I can't pon as anyone other than root either. There doesn't seem to be any logic to this: all the entries suggest either user should be able to diallup, but the occurences do seem to have something to do with editing /etc/group.
    For the /etc/group file doesn't it need to be in the format of:

    audio:29:john,knoppix

    ?

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041
    --This is how it looks on my system:

    ls -l /usr/bin/pon
    -rwxr-xr-x 1 root root 956 Nov 24 2002 /usr/bin/pon

    --You might try ' chown USER.root ' on pon. If that still doesn't work you could try ' chmod +s /usr/bin/pon ' to setuid root on it. But if you do that I would ' chmod o-rwx ' on it, too, so other users can't get at it.

    Quote Originally Posted by fingers99
    Well, I got the sound up and running by doing

    chmod a+rw /dev/dsp /dev/mixer /dev/sequencer /dev/midi

    as root, natch

    (fortunately I'd kept the instructions for installing alsa from source, no, I didn't re-install, just ran the code above) but still trying to work out why I can no longer pon as anyone other than root.

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Posts
    929
    Thanks. I tried both and rebooted and now have both sound as user john and pon and poff I'm not sure which worked, yet, but WTH

    Thanks again.

Similar Threads

  1. Problems with sound driver=intel8x0
    By GilGallad in forum Hardware & Booting
    Replies: 0
    Last Post: 06-21-2005, 02:47 AM
  2. Replies: 3
    Last Post: 05-08-2004, 05:12 AM
  3. Replies: 1
    Last Post: 03-13-2004, 05:40 AM
  4. Replies: 0
    Last Post: 03-12-2004, 01:27 AM
  5. Driver for HP Pavillion N5430 Sound Card
    By knoppixianer in forum Laptops
    Replies: 0
    Last Post: 01-14-2004, 05:45 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
  •  


Samsung - S Pen Creator Edition - White picture

Samsung - S Pen Creator Edition - White

$38.00



Samsung Galaxy Tab S9 FE SM-X510 128GB, Wi-Fi, 10.9

Samsung Galaxy Tab S9 FE SM-X510 128GB, Wi-Fi, 10.9" - Gray

$279.99



Samsung Galaxy Tab A9+ 11.0

Samsung Galaxy Tab A9+ 11.0" 64GB Gray Wi-Fi Tablet Bundle SM-X210NZAYXAR 2023

$149.99



Samsung SSD 850 EVO 1 TB Internal 2.5 inch MZ-75E1T0 SATA3 Solid 100% CDI picture

Samsung SSD 850 EVO 1 TB Internal 2.5 inch MZ-75E1T0 SATA3 Solid 100% CDI

$49.99



Samsung 27

Samsung 27" Ultra-Slim LED Curved Monitor HDMI (LC27F390FHN) ™

$96.99



Samsung Chromebook 3 4GB 16GB SSD 11.6-Inch Laptop  XE500C13-K02US HDMI WIFI picture

Samsung Chromebook 3 4GB 16GB SSD 11.6-Inch Laptop XE500C13-K02US HDMI WIFI

$39.59



Samsung 990 PRO 2TB NVMe PCIe 4.0 M.2 2280 (MZ-V9P2T0B/AM) Internal SSD picture

Samsung 990 PRO 2TB NVMe PCIe 4.0 M.2 2280 (MZ-V9P2T0B/AM) Internal SSD

$129.00



Samsung Galaxy Tab S9 Plus | S9 FE+ | Book Cover Keyboard Slim | Black picture

Samsung Galaxy Tab S9 Plus | S9 FE+ | Book Cover Keyboard Slim | Black

$119.99



Samsung Galaxy Tab S6 Lite SM-P613 64GB 10.4

Samsung Galaxy Tab S6 Lite SM-P613 64GB 10.4" Oxford Gray Tablet Bundle Open Box

$164.95



Samsung 27

Samsung 27" Curved Monitor - S39C - 75 hz, 4ms FHD IPS LED (OPEN BOX)

$119.99