LinuxQuestions.org
Review your favorite Linux distribution.
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 08-12-2003, 07:32 AM   #1
Zeebro
LQ Newbie
 
Registered: Jun 2003
Distribution: RH9
Posts: 25

Rep: Reputation: 15
Can't startx


I'm running a cleanish install of a recent Slackware 9 ISO and on issuing the startx command X is unable to start. The prodominant error appears to be:

gnome-session: error while loading shared libraries: libxml2.so.2: cannot open shared object file: no such file or directory

I can post the rest of the messages I receive if needed if soemone could let me know how I do this Thanks for any help
 
Old 08-12-2003, 07:42 AM   #2
reclusivemonkey
Member
 
Registered: May 2003
Location: Halifax, WY, UK
Distribution: Slackware 9
Posts: 167

Rep: Reputation: 30
Did you install everything?
 
Old 08-12-2003, 07:51 AM   #3
Zeebro
LQ Newbie
 
Registered: Jun 2003
Distribution: RH9
Posts: 25

Original Poster
Rep: Reputation: 15
No I didn't, evidently I'm guessing. Most of the default programs were installed, I just didn't deselect anything that I didn't understand the description of during install.
 
Old 08-12-2003, 07:51 AM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Meaning there's a libxml .tgz you need to get. Mine's libxml2-2.5.7-i686-1dl, but that was upgraded. I think the original is libxml2-2.5.4-i386-1.tgz and will be on your disk or a mirror in the /l directory.
 
Old 08-12-2003, 08:16 AM   #5
reclusivemonkey
Member
 
Registered: May 2003
Location: Halifax, WY, UK
Distribution: Slackware 9
Posts: 167

Rep: Reputation: 30
Hi Zeebro,

I know what you mean about not installing anything you didn't understand the description of, and when I was using M$ software I wanted it as clean as possible. However I found over the course of many installations that its a lot easier to install everything. You can install things a lot more cleanly in Slackware & GNU/Linux than in 'closed-source' software. Unless you are stuck for HD space, install everything, then if you want to do some cleaning up, only remove programs that you understand the description of and don't need :-) Thats just IMHO of course...
 
Old 08-12-2003, 12:16 PM   #6
Zeebro
LQ Newbie
 
Registered: Jun 2003
Distribution: RH9
Posts: 25

Original Poster
Rep: Reputation: 15
Yeah man too right. That's one of the things I love about the linux world, you can actually install what you want to install on YOUR machine (on the subject http://www.kuznetsov.uklinux.net/gal...uxperience.php). Thing is I'm trying to get the box secure and I'm following a guide which instructs you to install only the base linux and networking package. I also want X though so it's proving a nightmare considering I'm a n00b. I'll get there though, it's all welcomed knowledge. Also, thanks for replying both of you 8D

Last edited by Zeebro; 08-12-2003 at 12:24 PM.
 
Old 08-12-2003, 01:33 PM   #7
reclusivemonkey
Member
 
Registered: May 2003
Location: Halifax, WY, UK
Distribution: Slackware 9
Posts: 167

Rep: Reputation: 30
Zeebro,

I totally know where you are coming from about the security angle. However, its unlikely that you will be able to make it totally secure until you know a bit more about your system. If security is your main concern, I would advise installing a full slackware, then doing the following:-

Make sure you turn off any unecessary services such as ftp, http, sendmail, etc. You can see what is loaded at the console by using 'top'. To stop ftp services you will need to comment out the ftp line in /etc/inetd.conf, and while you are there, comment out the 'finger' line. To stop sendmail and the htpp (apache web server), comment out the relevant lines in /etc/rc.d/rc.S (I think its rc.S, I am at work now...) [Shows what I know. Sendmail and apache are run from /etc/rc.d/rc.M of course!]. Then go to /etc/hosts.allow and enter ALL: localhost and in /etc/hosts.deny add ALL: ALL. This is pretty elementary security, but is easy to do and shouldn't inflict with much if you are just running a desktop. When you want to create some firewall rules, you are on your own, I'm still digesting the man pages ;-) You could also pop over to www.slackware.com and look at the security advisories and update any relevant packages.

Finally I have a book from SAMS publishing called Maximum Linux Security. I got it for £9.99 over here (I am assuming you are from the US?) in a discount book store and its well worth the money and includes some security software on a CD. Hope that helps,

munkeh

Last edited by reclusivemonkey; 08-12-2003 at 06:00 PM.
 
Old 08-12-2003, 07:37 PM   #8
Zeebro
LQ Newbie
 
Registered: Jun 2003
Distribution: RH9
Posts: 25

Original Poster
Rep: Reputation: 15
Thanks for the advice, it's appreciated. This guide is pretty good like, it deals with elementry stuff and I'm slowly getting through it. It seems to account for deeper stuff, potential vunerabilities etc and I ain't got to the hardcore bits yet but I know it goes onto building a firewall and like, good stuff to know for the future. Thing is the box will be a dedicated FTP so I wanna get really locked down to put my mind at ease and learn some of the score with linux security. It's a great doc anyways, you can get it from:

www.giac.org/practical/Seth_DeVries_GCUX.doc

Also I'm from UK not US. It would be nice to get a copy of that book, books are always better than the screen . Take care man
 
Old 08-13-2003, 04:41 AM   #9
reclusivemonkey
Member
 
Registered: May 2003
Location: Halifax, WY, UK
Distribution: Slackware 9
Posts: 167

Rep: Reputation: 30
Anytime d00d. Just Books is where I got it from. If you go to Slashdot and search the security section there will be a lot of interesting links too Keep on slackin'!

munkeh

P.S. I would be tempted to write to the author of the paper and aske him what he thought of distributing content for GNU/Linux in Microsoft Word .doc format. Firstly it flies in the face of everything we believe in AND its bad security practice as macros can be spread through MS Word documents. RTF would have been better.
 
Old 08-13-2003, 10:38 AM   #10
Zeebro
LQ Newbie
 
Registered: Jun 2003
Distribution: RH9
Posts: 25

Original Poster
Rep: Reputation: 15
Good point mate, kinda defeatist really. Maybe it's been passed down the line and someone else has converted it, he does seem to know what he's on about. Thanks again for the info, I'll lok into that book when my bank account allows me to do so
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
WHY should I type startx twice to startx? hiux Debian 6 09-09-2005 09:12 AM
startx doesn't startx for user vdemuth Mandriva 10 11-08-2004 07:41 PM
Bug / Xwindows / startx : xinit works but startx crash www.rzr.free.fr Linux - Software 4 10-17-2004 08:06 AM
startx vs startx -- :2 (font dimension is different!!) moly82 Linux - General 7 09-15-2003 12:11 PM
Can not startx ol' digital Linux - Newbie 3 02-06-2003 04:47 PM

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

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