LinuxQuestions.org
Visit Jeremy's Blog.
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 09-30-2002, 12:36 AM   #1
ToeShot
Member
 
Registered: Nov 2001
Location: Near Chicago
Distribution: FC5, Solaris 10, WinXP
Posts: 152

Rep: Reputation: 30
Some Setup Questions


It's my understanding with Slack you have to get your hands dirty in which I have no problem. Upon my install of Slack 8.1 I ran the comand startx. which gave me xauth and xinit errors about libraries not found. But the lIbraries are in the /usr/X11R6/lib directory. So I am assuminf I need to set up a config file but whe I tried xconfig and Xconfig it could not run those programs either.

So I guess What I am asking for is Help geting my Xwindows up and running amd File Directory Layout of Slack and well for now that will be it.

I am sorry to sound Like I need to be hand held but I don't have a book on Slack and I have been Babied I guess with Red Hat.

TIA
 
Old 09-30-2002, 02:56 AM   #2
treebeard
LQ Newbie
 
Registered: Jun 2002
Location: Bucharest, Romania
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
find & install the packages containing the missing libraries. [ for f in /mnt/cdrom/...../x/*.tgz; do if tar -ztf $f | grep libfoo.so; then echo $f; fi; done ]

to configure X, run xf86config
 
Old 09-30-2002, 06:43 PM   #3
ToeShot
Member
 
Registered: Nov 2001
Location: Near Chicago
Distribution: FC5, Solaris 10, WinXP
Posts: 152

Original Poster
Rep: Reputation: 30
But that is what I am saying. The Libraries are installed and nothing is working. I am just wanoder if there is A plain text file I need to edit or If I nned to remove the enitire package and re-instal it.
 
Old 09-30-2002, 06:52 PM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
There is - /etc/X11/XF86Conifg
but why fiddling with it by hand, let the system do the job it can and then fiddle with it if it ain't work
run as root
xf86cfg
upon complition it will create XF86Config.new, just copy it over /etc/X11/XF86Config, but make sure you backed up /etc/X11/XF86Config file first.
 
Old 10-01-2002, 12:44 AM   #5
ToeShot
Member
 
Registered: Nov 2001
Location: Near Chicago
Distribution: FC5, Solaris 10, WinXP
Posts: 152

Original Poster
Rep: Reputation: 30
I have found my config file and it was setup on the install of Slackware. My problem is when I type startx it gives me

xauth: something something: libraries not found 'library name'
xauth: " " " " " "
xauth: " " " " " "
xauth: " " " " " "

Now I have located these libraries and the are in the /usr/X11R6/lib directory. so I am thinking that they are in the wrong spot. But I don't know for sure and if they are I do not know where they go.

or maybe I am just totally wrong about the whole thing. I would just like to get that working first.
 
Old 10-01-2002, 03:16 AM   #6
treebeard
LQ Newbie
 
Registered: Jun 2002
Location: Bucharest, Romania
Distribution: Slackware
Posts: 16

Rep: Reputation: 0
check you have an entry for /usr/X11/lib in the file /etc/ld.so.config. if not, add it and run ldconfig.
and of course, the original error message would have been more helpful.. what librairy does auth not find??
 
Old 10-01-2002, 09:41 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
And I don't think this has been said 3 times yet, so here's my chance
run xf86config and then tweak the file from there.

Cool
 
Old 10-01-2002, 09:49 AM   #8
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 47
If the libraries are not found, do waht Treebeard said, edit /etc/ld.so.conf (in slack its not called ld.so.config but ld.so.conf, just so its no confusing..) and enter the path to the libraries, then exit, save and run ldconfig, then xf86config, tweak the file, run startx and voila. If you are having many library problems it could be a corrupted installation tho...
HTH
-NSKL
 
Old 10-01-2002, 11:46 AM   #9
ToeShot
Member
 
Registered: Nov 2001
Location: Near Chicago
Distribution: FC5, Solaris 10, WinXP
Posts: 152

Original Poster
Rep: Reputation: 30
OK OK I can not run the xf86config but it does have a xfree86setup which I ran, again I can't not startx it keeps giving me the errors about not being able to find or open the libraries that are there. I Belive I may have a bad hard disk I am not sure. I have a 10gig hard disk and when I tried to copy the from part of the disk to another I get input/output errors. So I used fdisk wiped the 2 partitions and created one linux native then I tried to run mkfs. It in turn said Bad Blocks. so I ran badblocks. It ran for over 6 hours and was not finished. I stopped the program, something just didnot seem right. Now I am looking into disk larger than 8 gig. if any one a suggestion on that Iit would definitely be appreciated.
 
Old 10-01-2002, 11:54 AM   #10
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Check your ide cable, if you have a spare try using that and see if the errors go away.
 
Old 10-01-2002, 12:26 PM   #11
ToeShot
Member
 
Registered: Nov 2001
Location: Near Chicago
Distribution: FC5, Solaris 10, WinXP
Posts: 152

Original Poster
Rep: Reputation: 30
I have found an article at LinuxPlanet.com about large disk how-to I will read through that and see what I can figure out. Just wish I had a little more knowledge on hardware.
 
Old 10-02-2002, 03:00 AM   #12
ToeShot
Member
 
Registered: Nov 2001
Location: Near Chicago
Distribution: FC5, Solaris 10, WinXP
Posts: 152

Original Poster
Rep: Reputation: 30
ok I have Figured it out. I think it might explain everything, myhard drive has more bad blocks than Wisconsin has cheese. According to Linux's badblocks comand, I ran that command and 6 hours later it was still running spitting out bad blocks. OK maybe Linux does not like the ten gig hard drive even what I have read says it should be ok. What do I know I am not a hardware expert. So i decided to use the WD life guard tools that came with the hard drive, needless to say it wouldn't even test the disk I may have to have it on IDE0 though, will try later. I tried to install Redhat 5.2, 6.0, win95, win98 and Slackware 7.1 and none of them would install properly or at all, at times, on that drive. So in my final determination I need a new Hard Drive.

Thanks everyone who tried to help me with this.
 
  


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
Postfix Setup Questions? frankd99 Linux - Software 14 01-29-2004 08:02 PM
Postfix Setup Questions? frankd99 Linux - Newbie 1 01-24-2004 08:04 PM
Postfix Setup Questions? frankd99 Linux - Software 4 12-28-2003 02:58 PM
A few email setup questions.... Mr. Eek Linux - Software 2 11-04-2003 08:35 PM
Multiboot setup questions yamawho Linux - Newbie 4 10-22-2003 09:24 AM

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

All times are GMT -5. The time now is 06:15 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
Open Source Consulting | Domain Registration