LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-10-2004, 12:31 PM   #1
DAChristen29
Member
 
Registered: Dec 2002
Location: Johnstown, Co
Distribution: Mint (debian edition)
Posts: 541

Rep: Reputation: 30
various slackware questions


1: i just installed slackware. theres no sound. im using an "intel i8x0" sound card, which does work in linux. now, i heard alsamixer was muted by default. whenever i use anything that plays sound, like xmms, or armagetron, no sound is coming out. in xmms, it looks like the music is playing, but i hear no music. how do i unmute it?

2: i have in intel 855GM gfx card, which does have 3d hardware support. whenever i boot, i see a bunch of module errors involving something like "intel frambuffer". is scrolls too fast to see. now, i take an XF86 config file i already have, and put in the etc/X11 dir, but i have no 3d hardware support. what gives?

3: how do i modify the LILO.config file, and re-install lilo everytime i change something in it? im currently trying to build the 2.6 kernel. to test boot it, i would like to add a second linux selection to the LILO menu, how do i do this.

as you can see from my profile, im coming over fomr SUse 9.0.


i have more, just cant hink of any off the top of my head.
 
Old 01-10-2004, 01:05 PM   #2
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 31
Hi, I think I can help you with two out of three questions

1: To unmute ALSA you run alsamixer. I didn't get this to work, however, so I shut ALSA off. Instead I'm using the up-until-kernel-2.6-standard OSS driver(s). To use these I loaded the applicable module in /etc/rc.d/rc.modules. There is quite a bunch of OSS modules listed in rc.modules, but I could just pick the one I have used in previous installations. After the module is loaded, and everything is up and running I used aumix in KDE or Gnome to unmute.

2: Not sure... see if you can find the error messages in /var/log/XFree86.0.log and/or /var/log/messages and/or /var/log/syslog. Post the errors here, so we can see what happens.

3: LILO's config file is /etc/lilo.conf. To test your new kernel, the easiest way is to COPY one of the entries in lilo.conf. They look something like this:

image = /boot/vmlinuz
label = Linux
root = /dev/hda6
read-only

Copy these lines and change the "image" line to image=/boot/vmlinuz-2.6 or whatever your new kernel name is. Make sure that your "root" line is pointing at the correct partition (root partition; /); in my case it is /dev/hda6, you might have something else. This is why copying the entries in your lilo.conf is the simplest. However, the real reason to copy the entries is that you would like to keep your old kernel accessible with LILO in case your new one doesn't work

Now, when /etc/lilo.conf is ready, run lilo. If you get an error message, then something is fishy with lilo.conf, and you have to find it. Rebooting when you get error messages from LILO is not a good idea

HTH
 
Old 01-10-2004, 01:09 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Re: various slackware questions

1: i just installed slackware. theres no sound. im using an "intel i8x0" sound card, which does work in linux. now, i heard alsamixer was muted by default. whenever i use anything that plays sound, like xmms, or armagetron, no sound is coming out. in xmms, it looks like the music is playing, but i hear no music. how do i unmute it?

What version of Slackware are you running, 9.1? I have the same sound card builtin to my motherboard and it actually loaded it by default and works out of the box, per se.

Do a lsmod and list what modules your running now?
Also be sure to do this so all users can use sound on your system:

chmod 666 /dev/dsp* /dev/mixer*

Also to turn up the sound as by default it will be lowered in most cases, I use gnome-volume-control to control the different levels of volume. In a terminal type:

$ gnome-volume-control &

And it should launch this for you.

2: i have in intel 855GM gfx card, which does have 3d hardware support. whenever i boot, i see a bunch of module errors involving something like "intel frambuffer". is scrolls too fast to see. now, i take an XF86 config file i already have, and put in the etc/X11 dir, but i have no 3d hardware support. what gives?

Most likely you have it setup in lilo for framebuffering that is not supported. See the next answer I'm going to post to number 3 that you asked.

3: how do i modify the LILO.config file, and re-install lilo everytime i change something in it? im currently trying to build the 2.6 kernel. to test boot it, i would like to add a second linux selection to the LILO menu, how do i do this.

Use your favorite editor like vi or pico, etc and open up the lilo.conf file to edit it. Save the changes and then at a terminal or prompt, simply type: /sbin/lilo

And it should update your changes.

For your video card, it should have by default other vga= listings, you might try any others since your getting framebuffering errors. I in most cases just use: vga = normal

Cheers.
 
Old 01-10-2004, 02:12 PM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
A safer way to use lilo is to run it like this: /sbin/lilo -v -t
This gives you a (verbose) (test) without actually installing it. If you get no errors then run /sbin/lilo to install it.
 
Old 01-12-2004, 09:09 AM   #5
DAChristen29
Member
 
Registered: Dec 2002
Location: Johnstown, Co
Distribution: Mint (debian edition)
Posts: 541

Original Poster
Rep: Reputation: 30
wow, thanks for the quick responses. i got sound working, but still another problem.

i want XFCE as my default WM/Desktop in GDM, but everytime i login and hist enter, it take me to gnome.

also, theres a problem with gnome, or nautilus. i see the splash screen, but it freezes when loading nautilis. i can see the gnome-panel load in the background, but i see no nautilus icons. when i click on the splash screen, it closes, and i cant open the nautilus desktop or file browser. i re-installed slackware (this was a whle back) and it happened again, the first time i logged in. some thing happens with root.
 
Old 01-12-2004, 10:35 AM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
from the command line or from an xterm run xwmconfig in order to choose your default windowmanager
 
Old 01-12-2004, 01:46 PM   #7
DAChristen29
Member
 
Registered: Dec 2002
Location: Johnstown, Co
Distribution: Mint (debian edition)
Posts: 541

Original Poster
Rep: Reputation: 30
oh yeah. i have it on runlevel 4, where is autoloads GDM. will it affect the login screen?
 
Old 01-13-2004, 01:34 AM   #8
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
No it won't change that, just the default window manager is changed.
 
Old 01-13-2004, 08:53 AM   #9
DAChristen29
Member
 
Registered: Dec 2002
Location: Johnstown, Co
Distribution: Mint (debian edition)
Posts: 541

Original Poster
Rep: Reputation: 30
i did the xwmconfig command, and nothing's changed. it still logs me into gnome. is there a way i can get my user to autologin when GDM starts up? autologin with XFCE of course.
 
Old 01-13-2004, 01:05 PM   #10
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 31
I might know of a way to make it work - maybe it's a cheat, but whatever See what /etc/X11/xinit/xinitrc points at. If my theory is correct it should point at /etc/X11/xinit/xinitrc.gnome. OK, so just remove the symlink and create it again, now pointing at /etc/X11/xinit/xinitrc.xfce of course (ln -s /etc/X11/xinit/xinitrc.xfce /etc/X11/xinit/xinitrc). Let me know what happens
 
Old 01-13-2004, 01:51 PM   #11
laydros
Member
 
Registered: Jun 2003
Location: Raleigh, NC, US
Distribution: Slackware
Posts: 63

Rep: Reputation: 15
actually, just chooce xfce from the gnome session menu. it will then ask you if you want to make it a permenet change, hit yes, and its done
 
Old 01-15-2004, 11:24 AM   #12
DAChristen29
Member
 
Registered: Dec 2002
Location: Johnstown, Co
Distribution: Mint (debian edition)
Posts: 541

Original Poster
Rep: Reputation: 30
i tried both options, and it still logs me into gnome, with the error nautilus, which wont load. the nautilus file browser wont work, even in XFCE or fluxbox. xwmconfig changes nothing.


another question.
how do i change it so that any user can mount a cd-rom? right now, only root can do it. same thing with a filesystem, i have a D: in windows (Fat32), and only root has permission to access it. i did "chmod -R 777 /windows/D" and a normal user still cant access it and copy files to and from it.

Last edited by DAChristen29; 01-15-2004 at 11:25 AM.
 
Old 01-15-2004, 11:46 AM   #13
Brane Ded
Member
 
Registered: Nov 2003
Location: over there
Distribution: Debian Testing
Posts: 191

Rep: Reputation: 30
Take a look in your user's home directory. If there's a file called .xinitrc there, delete it, it's overriding the other ones. But it seems like you have a session manager installed, in which case I don't know what to tell you.

To allow your users to access other drives, there's an easy way, and a not so easy, but still kinda easy way...if that makes sense.

The easy way is just to edit /etc/fstab and find the lines having to do with the drives in question. You'll see a string of characters that says something like "root,ro,owner,group" or something similar. Add the word users to the end of it so it reads, "root,ro,owner,group,users".

The not so easy, but still kinda easy way is to play with the groups and permissions of the drives, but somebody else can explain that.

Last edited by Brane Ded; 01-15-2004 at 11:48 AM.
 
Old 01-15-2004, 01:55 PM   #14
DAChristen29
Member
 
Registered: Dec 2002
Location: Johnstown, Co
Distribution: Mint (debian edition)
Posts: 541

Original Poster
Rep: Reputation: 30
i think ive got it. thanks. ill try it when i ge thome. i have more questions, but can think of them right now off hand.
 
Old 01-15-2004, 03:06 PM   #15
Bebo
Member
 
Registered: Jul 2003
Location: Göteborg
Distribution: Arch Linux (current)
Posts: 553

Rep: Reputation: 31
The interesting entries in my fstab look like this:

Code:
/dev/hda4   /data         vfat       umask=0,noexec,nosuid,nodev   1   0
/dev/hdc    /mnt/dvd      auto       noauto,owner,ro               0   0
/dev/scd0   /mnt/cdrom    auto       noauto,owner,ro               0   0
Maybe I'm gonna get some bashing 'cause of the umask=0 thing... Well...

Anyways, good to hear that you've got it.
 
  


Reply



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
Some questions about Slackware moonmoth Slackware 5 10-02-2005 10:28 PM
slackware many questions hosler Linux - Newbie 1 03-26-2005 11:55 PM
Slackware 10 questions! Tod_Con Slackware 22 07-05-2004 03:34 PM
some slackware questions vrln Slackware 5 06-29-2004 03:21 PM
2 questions about X in Slackware isolationist Slackware 6 06-25-2003 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:16 AM.

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
Open Source Consulting | Domain Registration