LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Second X session (startx) gets sound server error (https://www.linuxquestions.org/questions/mandriva-30/second-x-session-startx-gets-sound-server-error-130460/)

peb 12-31-2003 07:00 PM

Second X session (startx) gets sound server error
 
I have set up my at home Mandrake 9.2 KDE 3.1.3 to have 2 X sessions going so we can swap users with ctrl-alt F7 / F8 without logging in/out.
I have tried using startx
and also editing /etc/X11/xdm/Xservers to have lines like
:1 local /bin/nice -n -10 /usr/X11R6/bin/X :1 ...

but either way I still get an error message on all but the first screen
It's headed "informational message - artsmessage"
and says :
Quote:

Sound server informational message:
Error while initialising the sound driver:
device /dev/dsp can\'t be opened (Permission denied)
The Sound Server will continue using the null output
Is there anything I can do to be able to have all users be able to use the sound server?
Regards
Peter B

chup 01-01-2004 03:04 PM

try running the following command as root
Code:

chmod 0666 /dev/dsp
I hope this helps!

peb 01-01-2004 10:00 PM

yep - it was that simple!
Perhaps the next Mandrake distro will make that the default.....
Thanks
Peter

Y0jiMb0 01-02-2004 12:18 AM

Quote:

I have tried using startx
and also editing /etc/X11/xdm/Xservers to have lines like
:1 local /bin/nice -n -10 /usr/X11R6/bin/X :1 ...
what did you do exactly to get 2 X sessions?
Just adding ":1 local /bin/nice -n -10 /usr/X11/bin/X" to that file do the trick? Or you need to modify something else?
Regards

peb 01-02-2004 12:46 AM

yes just edited file
/etc/X11/xdm/Xservers
It's documented there what to do. Mine looks like this:

:0 local /bin/nice -n -10 /usr/X11R6/bin/X -deferglyphs 16 -nolisten tcp
:1 local /bin/nice -n -10 /usr/X11R6/bin/X :1 vt08 -deferglyphs 16 -depth 16 -nolisten tcp
:2 local /bin/nice -n -10 /usr/X11R6/bin/X :2 vt09 -deferglyphs 16 -depth 16 -nolisten tcp

rehards
peter b (peb)


All times are GMT -5. The time now is 11:20 AM.