SBing's Slackware FAQ
Right, after discussion with Jeremy, it seems we are going to put stuff in the Wiki, however - we will have a thread with links to articles of relevance in the Wiki :)
So I guess that's what this thread becomes - could you please submit stuff to the Wiki and e-mail me a link? :) Cheers Steve 01 Oct 2004 -------------- Please do not reply to this thread Please do not reply to this thread Please do not reply to this thread Please do not reply to this thread Please do not reply to this thread If you wish to correct or add something, please reply in the FAQ donation thread If you're having a problem, create a new thread and explain exactly what you've done. Cheers! Steve ------------------------ 18 / 09 / 04 - kinda busy atm, am working on it - please submit stuff! Thanks for all contributions! I'm away THIS WEEK (starting Monday 20/09/04) - please don't be disheartened if you don't see your post straight up here, I will read it - just please submit in the correct thread :) - thanks for supporting your community :) Warning - while this information is being posted by me, very little was actually written by me - it has been submitted for inclusion in the FAQ by various members of the Slackware LQ.org community and is probably entirely under GPL license. Whatever its license, I, nor LQ.org or anyone else is responsible for any damage through the usage of any information listed below. ------------------------------------------------------------------------------------------------------------------ Table of Contents: Video / 3D card related problems: FAQ: How can I enable 3D acceleration? Misc. problems: FAQ: How can I shutdown as a normal user? ----------------- LQ.org's Slackware FAQ is a collaborated effort by many members of the LQ community who've donated their knowledge ---------------- To be done - tidy this up a bit - insert some nice contents / page and do some more stuff :) Add tw001_tw's post on securing Slack / closing ports etc Add TheBman's post on dialup Add tw001_tw's post on dual screen |
FAQ: How can I enable 3D acceleration?
Most modern machines come with a video card which is able to accelerate the rendering of 3D graphics - the most common manufacturers of GPUs (Graphics Processing Unit) are ATi and NVidia.
Both of these companies provide proprietry drivers that enable acceleration for cards that user their GPUs - please not that these drivers are not open source and so, by installing them, will 'taint' your kernel. This change does not affect the running of your machine in any way, but is due to the licensing nature of both the kernel and the proprietry drivers. ATi: Instructions for Slackware 10: 1) Download the latest ATi driver for XFree86 4.3: fglrx-4.3.0-3.12.0.i386.rpm from ATi's linux drivers page Note: It is probably best if you return to the CLI (command line interface) by exiting X now 2) Convert this rpm to a Slackware package, by running: $ rpm2tgz fglrx-4.3.0-3.12.0.i386.rpm 3) Install this newly created Slackware package, by running: $ su - <enter your root password as prompted> # installpkg fglrx-4.3.0-3.12.0.i386.rpm 4) Build the ATi driver, by running: # cd /lib/modules/fglrx/build_mod # chmod +x make.sh # sh make.sh 5) Install the ATi drivers, by running: # cd /lib/modules/fglrx # chmod +x make_install.sh # sh make_install.sh 6) Create a new X.org config file that contains the information for 3D acceleration: # fglrxconfig Enter the information as prompted, allow the file to be saved at /etc/X11/XFree86-4 # mv /etc/X11/xorg.conf /etc/X11/xorg.bak # mv /etc/X11/XFree86-4 /etc/X11/xorg.conf 7) Start X as a normal user: # exit $ startx 8) You can check if you are using the fglrx accelerated module by running: $ fglrxinfo OpenGL vendor string: ATI Technologies Inc. Instead of, 'Mesa' NVidia: 1. Download NVIDIA driver from : http://www.nvidia.com/object/linux.html (choose IA32 for Intel/AMD 32 bits processors, IA64 for Intel 64 bits, AMD64 for AMD 64 bits) 2. Install driver with : exit X session if it is running sh NVIDIA-Linux-x86.xxx.pkgx.run And follow the instruction If install complains about kernel, indicate your kernel version to the installer (example for 2.6.7) : sh NVIDIA-Linux-x86.xxx.pkgx.run -k 2.6.7 3. Edit /etc/X11/xorg.conf or /etc/X11/XF86Config : - At Module section, make sure this option is enabled : Load "glx" And comment or remove Load "dri" and Load "GLcore" if present. - Scroll down until Device section for video card .required setting : Driver "nvidia" .optional settings : read APPENDIX D: X CONFIG OPTIONS of /usr/doc/NVIDIA_GLX-1.0/README Save your x config... 4. Make sure nvidia module is loaded : lsmod | grep nvidia if not, load it : /sbin/modprobe nvidia 5. startx 6. For VIA agp chipset owners only : You can add performances by tweaking nvidia driver before install it : - extract driver package : sh NVIDIA-Linux-x86-xxx-pkgx.run -x cd NVIDIA-Linux-x86-xxx-pkgx from this directory, edit : usr/src/nv/os-registry.c And set values : * static int NVreg_EnableVia4x = 1; * static int NVreg_EnableAGPSBA = 1; * static int NVreg_EnableAGPFW = 1; Save the file and install driver from NVIDIA-Linux-x86-xxx-pkgx directory : ./nvidia-installer |
[sorry]
|
FAQ: How can I shutdown as a normal user?
By default, a Slackware machine can only be shutdown by the root user - this may sound slightly useless at first - do remember that linux was generally used on servers before desktop - would like any remote user to your server being able to shutdown your machine?
How can I shutdown/reboot as a normal user and from GNOME Ensure you have the package, 'sudo' installed - check: # pkgtool to see the list of installed packages. visudo /etc/sudoers (really, any text editor should work) yourusername yourhostname = NOPASSWD: /sbin/reboot, /sbin/halt -h now, /sbin/halt This user can now shutdown via sudo without a password. To enable shutdown/reboot from within gnome (ala the way DL GNOME sets it up): mkdir /var/run/console touch /var/run/console/yourusername chmod +s /sbin/reboot chmod +s /sbin/halt |
FAQ: Why doesn't my sound work?
Sound cards can normally be used through ALSA - use
# alsaconf To set up your soundcard Why don't I have any sound after running 'alsaconf'? First, try unmuting Master and PCM in 'aslamixer'. Save these settings with 'alsactl store'. Kmix in KDE might also work for this. If that doesn't work, maybe there are some debugging steps like seeing if modules are running ... Why doesn't my sound work after a kernel (re)compile? The ALSA modules were lost, reinstall the alsa-drivers package - if for a 2.6 kernel, download and recompile alsa-drivers |
FAQ: How can I boot up into a GUI instead of the CLI (command line interface)?
By default Slackware boots up to a login at console - this can easily be changed:
Edit the file /etc/inittab Change: Code:
# Default runlevel. (Do not set to 0 or 6) Code:
# Default runlevel. (Do not set to 0 or 6) Change: Code:
# These are the standard console login getties in multiuser mode: Code:
# These are the standard console login getties in multiuser mode: Then open the file /etc/rc.d/rc.4 Here is where you select your login manager. By default, you have 3 options, GDM, KDM, and XDM. To make your selection, simply put the one you want first in the list. (What it looks like by default) Code:
# Try to use GNOME's gdm session manager: the GDM section, so it looks like this: Code:
# KDE first: |
Sorry!
|
Two things.
- I updated the title to "SBing's Slackware FAQ" - This would be some great content for the LQ Wiki --jeremy |
Hi there ,I seem to have a problem ,first I downloaded the nvidia driver as explained and when I went to install it it said it needed to precompile my kernel which I let it do and it installed it , but I get no nvidia logo on boot or login so I went into my x11 xorg.conf file and found I dont have hardly any of the options or sections you mentioned 4 me to alter or add ,this is preety much all I have "Section "Module"
# This loads the DBE extension module. Load "dbe" # Double buffer extension # This loads the miscellaneous extensions module, and disables # initialisation of the XFree86-DGA extension within that module. SubSection "extmod" Option "omit xfree86-dga" # don't initialise the DGA extension EndSubSection # This loads the font modules Load "type1" Load "freetype" Load "speedo" # This loads the GLX module Load "glx" EndSection AnyWay what do you recommend I can do or add to get my Nvidia card to work with Slackware10 & why is mine so different to what you explained ,I am using the default kernel that came with slack the 2.4 kernel |
Re: SBing's Slackware FAQ
Quote:
|
SBing Im confused why do i download XFree86 4.3: fglrx-4.3.0-3.12.0.i386.rpm if slackware 10.1 is xorg 6.8. im a noob so correct me if im wrong
the reason i think this is because when i run Check.sh it says Xorg 6.8 ? |
There is now a Slackware FAQ page in the LinuxQuestions.org Wiki:
http://wiki.linuxquestions.org/wiki/Slackware-FAQ |
[ERASE ME, PLEASE]
|
Isn't this an error:
Quote:
# installpkg fglrx-4.3.0-3.12.0.i386.tgz SOme people follow these instructions letter by letter. |
Quote:
|
All times are GMT -5. The time now is 06:44 AM. |