LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices



Reply
 
Search this Thread
Old 12-31-2003, 08:00 PM   #1
peb
LQ Newbie
 
Registered: Nov 2003
Location: Melbourne, Australia
Distribution: mandrake 9.2
Posts: 12

Rep: Reputation: 0
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
 
Old 01-01-2004, 04:04 PM   #2
chup
Member
 
Registered: Aug 2003
Location: South Africa
Distribution: Ubuntu (Feisty)
Posts: 280

Rep: Reputation: 30
try running the following command as root
Code:
chmod 0666 /dev/dsp
I hope this helps!
 
Old 01-01-2004, 11:00 PM   #3
peb
LQ Newbie
 
Registered: Nov 2003
Location: Melbourne, Australia
Distribution: mandrake 9.2
Posts: 12

Original Poster
Rep: Reputation: 0
yep - it was that simple!
Perhaps the next Mandrake distro will make that the default.....
Thanks
Peter
 
Old 01-02-2004, 01:18 AM   #4
Y0jiMb0
Member
 
Registered: Jul 2003
Location: Valencia (Spain)
Distribution: slackware 11, FEDORA CORE 4, RHEL3, Gentoo...
Posts: 361

Rep: Reputation: 30
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
 
Old 01-02-2004, 01:46 AM   #5
peb
LQ Newbie
 
Registered: Nov 2003
Location: Melbourne, Australia
Distribution: mandrake 9.2
Posts: 12

Original Poster
Rep: Reputation: 0
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Startx - Fatal server error, No screens found Optyx *BSD 21 09-24-2008 12:25 AM
Suse 9.1 X server error during startx p3_141597i Suse/Novell 1 01-27-2005 10:36 PM
how to choose session when I startx from text mode cain_eve Linux - Software 3 12-30-2004 04:17 PM
startx redhat 9.0 Fatal server error no screens found: rioguia Linux - Newbie 2 09-17-2003 02:15 PM
Fatal server error, with startx LAS3R Slackware 0 08-22-2003 02:33 PM


All times are GMT -5. The time now is 03:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration