LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   2 issues... (https://www.linuxquestions.org/questions/linux-newbie-8/2-issues-49509/)

loran 03-12-2003 05:58 PM

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?:Pengy:

watashiwaotaku7 03-12-2003 06:22 PM

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

Texicle 03-12-2003 07:13 PM

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?:Pengy:

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? :D

rmartine 03-12-2003 07:14 PM

/etc/inittab

Have fun

loran 03-12-2003 08:27 PM

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?

Texicle 03-12-2003 09:19 PM

Yup...try 4. :D

taz76 03-13-2003 12:45 AM

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?

loran 03-13-2003 01:10 PM

hey tex, re:sound. chmod says "no such file or directory." for both dps and mixer. Now what?

Texicle 03-13-2003 02:32 PM

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. :)

loran 03-13-2003 03:26 PM

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. :)


loran 03-13-2003 03:28 PM

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?

watashiwaotaku7 03-13-2003 03:52 PM

make sure that /dev/dsp is not a symlink to /dev/dsp1 or something

loran 03-13-2003 05:08 PM

ok, removing the "#" didn't work.

symlink? How do I check that?

loran 03-13-2003 05:10 PM

oh, by the by...
When I try to open dev/dsp, its blank.

MasterC 03-15-2003 11:22 PM

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


All times are GMT -5. The time now is 05:50 PM.