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 04-29-2002, 10:09 AM   #1
ed_thix
Member
 
Registered: Apr 2002
Location: Malaysia
Distribution: Slackware 15 & Ubuntu
Posts: 94

Rep: Reputation: 31
Question how to configure X ???????


Hi all, im a newbie .. been using linux ( Red HAt 7.1) for 5 months now. Yesterday i tryied to install Slackware 8.0, with kernel 2.4.5 and KDE 2.1.2.

The problem is that I cannot configure X on my system.
I tryied "startx" and "xinit"; it would not start X, just crash.
Im sure that X should be working fine since RH detects everything.
Could anyone that faces the same problem or anyone out there who can help me in getting KDE/GNOME up and running??. And by the way, how do u Slackware users?? mount your cdroms??. I tryied "mount /mnt/cdrom" and "mount /cdrom", it would not mount my cdrom like RH does....

any help would be usefull
 
Old 04-29-2002, 11:09 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
after install, you have to configure X.. slack doesn't do this during install..

run xf86config at the command... to start the config of X.
 
Old 04-29-2002, 12:10 PM   #3
jpweston
Member
 
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222

Rep: Reputation: 30
ed_thix,

For X, give what trickykid suggested a try. xf86config provides a friendly menu style interface. If you still run into issues, you can try running XFree86 -configure as root from the command line. This will go through your system and figure out what you have set up and create an XF86Config.new file with the results. That is what I ended up needing to do to get X working.

As far as mounting the cdrom goes, I use the full syntax of the mount command:

mount -t iso9660 /dev/cdrom /cdrom

mount -tfilesystem type device path mount point

You could probably put that into a little script to "automate" it if you like.

j.
 
Old 04-29-2002, 03:13 PM   #4
pathogenik
LQ Newbie
 
Registered: Apr 2002
Location: OHIO
Distribution: slackware 8.0
Posts: 26

Rep: Reputation: 15
as for cd rom...

open up /etc/fstab...and just add the lines..

/dev/hdc /cdrom iso9660 ro,noauto,users 0 0

if ya want to throw the floppy drive on there you should create a directory for where you want to mount it...(mine is /floppy) then add...

/dev/fd0 (mount point) auto noauto,users 0 0

that should take care of it..and it's pretty easy. all you have to type at command line is :

note: slack has a premade directory for the cd rom as /cdrom...you can change this ..eg put it in /mnt , me personally i removed /mnt and just added /floppy but it's on you.

have phun...

--pathogenik
 
Old 04-29-2002, 05:51 PM   #5
ed_thix
Member
 
Registered: Apr 2002
Location: Malaysia
Distribution: Slackware 15 & Ubuntu
Posts: 94

Original Poster
Rep: Reputation: 31
Thumbs up

Thank you everybody, Ive managed to get X up and working, only now Ive to configure the resolutions and sound. Hmm it is really true that Slack's the most "hardest" to learn, but its pretty interesting to me, so I think ill keep using it since ..

p/s: now wanna ask u guys out there on sound config the box, there's no sndconfig like RH does in Slack, ??? how do i get sound config on my machine, most probably Slack should detect since RH did.....
 
Old 04-29-2002, 07:57 PM   #6
jpweston
Member
 
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222

Rep: Reputation: 30
ed_thix,

When I configured sound on my box, I had to change permissions on the following:

/dev/dsp
/dev/mixer

Many folks here suggested that a group called audio be created in /etc/group, make yourself a member of that group, then change the ownership and permissions of the above devices to allow members of the audio group to access it.

There are other "big stick" solutions to the issue, so you may just want to do a search of the forums for audio configuration.

j.
 
Old 04-30-2002, 04:35 AM   #7
ed_thix
Member
 
Registered: Apr 2002
Location: Malaysia
Distribution: Slackware 15 & Ubuntu
Posts: 94

Original Poster
Rep: Reputation: 31
Thumbs up

hmm, still working through sound in my box.

Now, im stuck at the screen resolution, how do i configure my screen to say 800 x 600 resol. Its really killing my eyes in 640 x 480 mode.

well about the sound configuration, ill try it first then il ask u guys,
Thanks anyway
 
Old 04-30-2002, 09:14 AM   #8
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by ed_thix
hmm, still working through sound in my box.

Now, im stuck at the screen resolution, how do i configure my screen to say 800 x 600 resol. Its really killing my eyes in 640 x 480 mode.

well about the sound configuration, ill try it first then il ask u guys,
Thanks anyway
do a ctrl - alt - ( +plus or -minus ) on the number pad to change resolutions..
or you can edit your XF86Config file with the correct resolutions you want to start out with.. under the screen sections in the file.
 
Old 04-30-2002, 09:54 AM   #9
jpweston
Member
 
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222

Rep: Reputation: 30
Here's a section from my XF86Config file:

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600"
End SubSection
EndSection

The SubSection is where you make your change. The first resolution after Modes is what X will start with. The second entry will be the resolution used with Ctrl-Alt-+

j.
 
Old 04-30-2002, 12:43 PM   #10
ed_thix
Member
 
Registered: Apr 2002
Location: Malaysia
Distribution: Slackware 15 & Ubuntu
Posts: 94

Original Poster
Rep: Reputation: 31
Thumbs up

at last ive managed to settle the resolution settings on my box, thanx guys...
i did a Superprobe to get the info about my vcard and i did it all, Xconfig everything now its fine on the graphics..

Well the next setup is the soundcard. actually im not sure about how to get sound on my box???
but i noticed while setting up RH 5 months ago, that my soundcard is onboard, pnp, crystal something something heheh..

but where do I have to start on setting up sound??
insmod??
modprobe??

im still lost here, so hope u guys can guide me...
 
Old 05-01-2002, 04:54 PM   #11
ed_thix
Member
 
Registered: Apr 2002
Location: Malaysia
Distribution: Slackware 15 & Ubuntu
Posts: 94

Original Poster
Rep: Reputation: 31
Question

Ive got something to do and need guidance since ive never done it before, well ive downloaded the kernel 2.4.18 from kernel.org...
and im planing on installing it in my box.

But im not sure how to or where to start,
1) where do i put the 2.4.18 kernel?? i mean which directory??
2) after installing the kernel ill have to reconfigure lilo right??
3)and this is what i wanna know, whats actually the risk of installing devellopment kernels such as 2.5.XX or something like that??
4) as i can understand it, to compile a new kernel we have to:

1) untar it;(this is where im not sure?? where do i have to put the tar files eg:kernel 2.4.18.gz??which directory to be precised
2) menuconfig
3) and the rest......

5) hope u guys can guide me
 
Old 05-01-2002, 06:41 PM   #12
jpweston
Member
 
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222

Rep: Reputation: 30
Take a look at this article:

http://www.linuxorbit.com/modules.ph...icle&artid=494

I referred to it during my first kernel configurations.

j.
 
Old 05-01-2002, 08:43 PM   #13
ed_thix
Member
 
Registered: Apr 2002
Location: Malaysia
Distribution: Slackware 15 & Ubuntu
Posts: 94

Original Poster
Rep: Reputation: 31
thanks jpweston
ill look into it , and IF i succeed, ill post it here....
 
Old 05-02-2002, 03:16 AM   #14
eccarlsen
LQ Newbie
 
Registered: Apr 2002
Posts: 14

Rep: Reputation: 0
As far as the sound goes you need to know what sound card you have. If you do know what card it is then edit the file /etc/rc.d/rc.modules. There will most likely be a line that corresponds to your sound card. Uncomment this line and reboot (or just issue the command on that line from a shell if you don't want to reboot).

As far as compiling a new kernel the kernel source usually goes in /usr/src. If you go to that directory you will notice a linux directory and then a linux-2.x.xx directory (depends on which kernel version you have). The linux directory is also probably just a link to the existing source. I usually delete the linux link (be careful - make sure it's just a link with ls -l) and then uncompress the new source in that directory. I create a linux link to the new source directory (ie. linux-2.4.18 in your case) and then cd into that directory. From there you can pretty much follow the instructions given in the slackware book:

http://www.slackware.com/book/index....urce=x948.html

although you probably won't need to do the make mrproper, and be sure to do a make modules_install after the make modules step.
 
Old 05-02-2002, 04:34 AM   #15
ed_thix
Member
 
Registered: Apr 2002
Location: Malaysia
Distribution: Slackware 15 & Ubuntu
Posts: 94

Original Poster
Rep: Reputation: 31
Question

eccarlsen,

well, im using an onboard sound, crystal something its PnP by the way..(remembered when i did sndconfig on Red HAt back a few months ago..)
By the way is there a way to find out whats the actual soundcard if i dont know the name of the sound card??

as for compiling the kernel, ive just dloaded patch-2.4.18.gz ( the latest stable kernel rite!!) from kernel.org and ill start looking into it when im free, ill post my progress here then...
 
  


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
Configure dhcpd (Configure DHCP Server) hanserver2004 LinuxQuestions.org Member Success Stories 3 10-23-2006 06:39 AM
ardour wont configure: configure: error: C preprocessor "/lib/cpp" fails sanity check disciple061 Linux - Software 4 01-22-2005 12:35 PM
Configure dhcpd (Configure DHCP Server) hanserver2004 General 1 08-16-2004 01:39 PM
How to use GNU autoconf to generate a new configure from configure.in ?? vanhelsing Programming 5 08-05-2004 10:02 AM
configure: error: when trying to install / configure new software ? met tomfer007 Linux - Software 1 07-25-2004 03:52 PM

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

All times are GMT -5. The time now is 09:31 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