LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-12-2003, 06:58 PM   #1
loran
Member
 
Registered: Jan 2003
Posts: 121

Rep: Reputation: 15
2 issues...


1) When I startx, I ge the following Message:
"Sound Server Informational Message. Error while initializing the sound driver: Device /dev /dsp cannot be opened (no such device) The sound server will continue using the null device"
---I looked in that directory and there is nothing there. I havn't got a clue what to do next. My previous Distro was Mandrake and the on-board sound worked fine with it.

2) Mandrake had this AWESOME GUI-type Lilo, now I have Slackware and Lilo but it's really ugly and boots me to a command line instead of the GUI menu where i can choose KDE or Gnome. --I have tried Liloconfig 3 times looking for an option to use graphical instead of text but can't find it.

Any suggestions?
 
Old 03-12-2003, 07:22 PM   #2
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
the first one is your sound card is not being detected, what is the name of your sound card and chipset??

information on getting it to work,
http://www.undeadlinux.net/sound_Evi..._DR-0.2.4.html

second, the version of lilo on slackware is a bit older and mandrake lilo is a custom job, booting to a graphical display has nothing to do with lilo what you need to do is set your box to boot to runlevel 5 instead of runlevel 3 i dont remember which file this is under though someone else can point you to it or search the forums for how to change a window manager i believe its under the same file
 
Old 03-12-2003, 08:13 PM   #3
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Re: 2 issues...

Quote:
Originally posted by loran
1) When I startx, I ge the following Message:
"Sound Server Informational Message. Error while initializing the sound driver: Device /dev /dsp cannot be opened (no such device) The sound server will continue using the null device"
---I looked in that directory and there is nothing there. I havn't got a clue what to do next. My previous Distro was Mandrake and the on-board sound worked fine with it.
Try to change the permissions on /dev/dsp and /dev/mixer. Do the following:

chmod 755 /dev/dsp
chmod 755 /dev/mixer


as root. You need to be root. If it is true that your "dsp" doesn't exist, it will tell you at this point. If it does exist, then it will set the permissions so that users can have access to it. If you don't chmod these 2 files, you will have difficulty with your sound.

Quote:
2) Mandrake had this AWESOME GUI-type Lilo, now I have Slackware and Lilo but it's really ugly and boots me to a command line instead of the GUI menu where i can choose KDE or Gnome. --I have tried Liloconfig 3 times looking for an option to use graphical instead of text but can't find it.

Any suggestions?
I think the file that you are looking to edit (with your favorite text editor) is /etc/inittab. You need to change the following:

id:3:initdefault:

to this

id:5:initdefault:

This will auto boot you to the GUI instead of CLI. What's so wrong with typing startx though?
 
Old 03-12-2003, 08:14 PM   #4
rmartine
Member
 
Registered: Dec 2002
Location: San Luis Obispo, CA
Distribution: Fedora Core 3
Posts: 618

Rep: Reputation: 30
/etc/inittab

Have fun
 
Old 03-12-2003, 09:27 PM   #5
loran
Member
 
Registered: Jan 2003
Posts: 121

Original Poster
Rep: Reputation: 15
ok, tried that...

here's what i got, still no fix...

# These are the default runlevels in Slackware:
# 0 = halt
# 1 = single user mode
# 2 = unused (but configured the same as runlevel 3)
# 3 = multiuser mode (default Slackware runlevel)
# 4 = X11 with KDM/GDM/XDM (session managers)
# 5 = unused (but configured the same as runlevel 3)
# 6 = reboot

# Default runlevel. (Do not set to 0 or 6)
id:5:initdefault:



I'm assuming it's because it's unused, right? maybe #4 would be better?
 
Old 03-12-2003, 10:19 PM   #6
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
Yup...try 4.
 
Old 03-13-2003, 01:45 AM   #7
taz76
LQ Newbie
 
Registered: Mar 2003
Location: UK
Distribution: Mandrake 9.0
Posts: 27

Rep: Reputation: 15
I thought that definitions of runlevels were the same in all distros, i.e. runlevel 5 equalled X11 anywhere. So, do definitions depend on your distro or can you redefine them yourself somewhere?

Last edited by taz76; 03-13-2003 at 01:44 PM.
 
Old 03-13-2003, 02:10 PM   #8
loran
Member
 
Registered: Jan 2003
Posts: 121

Original Poster
Rep: Reputation: 15
hey tex, re:sound. chmod says "no such file or directory." for both dps and mixer. Now what?
 
Old 03-13-2003, 03:32 PM   #9
Texicle
Member
 
Registered: Oct 2002
Location: Northern Ontario, Canada
Distribution: Slackware 10.0
Posts: 789

Rep: Reputation: 30
It was probably just a typo on your part, but I want to make sure you did chmod 755 /dev/dsp and not /dev/dps.

Also, what kind of sound card do you have? Is it installed properly? Have you installed the right driver for it? If you're unsure if you have, let us know the sound card name and we'll see if we can't find the correct module. Also, have you checked your /etc/modules.conf file to make sure you're alias is set up properly? Also, check your /etc/rc.d/rc.modules file and make sure that the driver name is appropriately uncommented (where the # sign is removed from beginning of the line). If you run into any snags just let me know.
 
Old 03-13-2003, 04:26 PM   #10
loran
Member
 
Registered: Jan 2003
Posts: 121

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Texicle
It was probably just a typo on your part, but I want to make sure you did chmod 755 /dev/dsp and not /dev/dps.

Also, what kind of sound card do you have? Is it installed properly? Have you installed the right driver for it? If you're unsure if you have, let us know the sound card name and we'll see if we can't find the correct module. Also, have you checked your /etc/modules.conf file to make sure you're alias is set up properly? Also, check your /etc/rc.d/rc.modules file and make sure that the driver name is appropriately uncommented (where the # sign is removed from beginning of the line). If you run into any snags just let me know.
 
Old 03-13-2003, 04:28 PM   #11
loran
Member
 
Registered: Jan 2003
Posts: 121

Original Poster
Rep: Reputation: 15
a jeez, sorry I did that wrong...

anyway, I have onboard sound from my apox 8kta3+ w/ via chipset. I found the module name online and added it to rc.modules. I did however, add the "#". I guess it would be best if I took that out, huh?
 
Old 03-13-2003, 04:52 PM   #12
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
make sure that /dev/dsp is not a symlink to /dev/dsp1 or something
 
Old 03-13-2003, 06:08 PM   #13
loran
Member
 
Registered: Jan 2003
Posts: 121

Original Poster
Rep: Reputation: 15
ok, removing the "#" didn't work.

symlink? How do I check that?
 
Old 03-13-2003, 06:10 PM   #14
loran
Member
 
Registered: Jan 2003
Posts: 121

Original Poster
Rep: Reputation: 15
oh, by the by...
When I try to open dev/dsp, its blank.
 
Old 03-16-2003, 12:22 AM   #15
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Quote:
Originally posted by taz76
I thought that definitions of runlevels were the same in all distros, i.e. runlevel 5 equalled X11 anywhere. So, do definitions depend on your distro or can you redefine them yourself somewhere?
Runlevels (by default) are defined in your /etc/inittab file. You can see what happens during each ones execution by looking at the startup scripts in (usually) /etc/rc.d/rcX.d where X is the runlevel (might be /etc/rc.d/rc.X)



HTH

Cool
 
  


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
iso issues, icewm issues +_+ Linux - Newbie 2 08-23-2005 11:50 AM
X11 TTF Issues; OOo Font Issues Kenji Miyamoto Slackware 2 05-27-2005 07:30 PM
New to linux, so so lost, auto mounting issues, permissions issues slowhand22 Linux - Newbie 2 02-10-2005 10:41 AM
CD-ROM issues, or IDE issues? GAVollink Linux - Hardware 0 10-16-2003 04:04 PM
Sound issues + Mouse wheel issues matt3333 Slackware 2 10-12-2003 04:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration