LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-10-2006, 12:10 AM   #1
malcolmBl
LQ Newbie
 
Registered: Apr 2006
Distribution: Kubuntu Dapper
Posts: 14

Rep: Reputation: 0
How to update XFree86


I cant get into KDE ATM and it says i need the latest version of XFree86. I went to their site and have no idea how to get all the files from their website when im using winxp to my linux OS on another partition of same hdd.
Can someone please talk me through it in simple terms. First step i need to know what kind of linux i am using:
glibc20, glibc21, glibc22, glibc23 or libc5.
 
Old 04-10-2006, 12:23 AM   #2
vmlinuz.gz
Member
 
Registered: Nov 2005
Posts: 123

Rep: Reputation: 15
To determine the version of your glibc, try running:

Code:
$ /lib/libc.so.6
After that, it should just be a matter of reading the installation documentation - http://www.xfree86.org/4.5.0/Install.html.
 
Old 04-10-2006, 01:16 AM   #3
malcolmBl
LQ Newbie
 
Registered: Apr 2006
Distribution: Kubuntu Dapper
Posts: 14

Original Poster
Rep: Reputation: 0
when i tried running libc.so.6 it said bash command not found and when i tried opening it in emacs i just got rubbish.
 
Old 04-10-2006, 01:43 AM   #4
vmlinuz.gz
Member
 
Registered: Nov 2005
Posts: 123

Rep: Reputation: 15
It probably just wants a program to run it. Try

Code:
$ sh /lib/libc.so.6
 
Old 04-10-2006, 02:58 AM   #5
malcolmBl
LQ Newbie
 
Registered: Apr 2006
Distribution: Kubuntu Dapper
Posts: 14

Original Poster
Rep: Reputation: 0
It said: cannot execute binary file.
 
Old 04-10-2006, 03:52 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Mornin!

Sounds like you are trying to fly a 757 passenger jet when all you really want to do is pedal a bike across the road

You could go the route you are heading, and figure out which glibc/libc version you have installed:
rpm -qa | grep libc

Or you could use your distro as it expects you will along with it's package manager (urpmi, assuming mandrake of course).

Graphically it's called rpmdrake and can be launched from any graphical environment. But since you seem to be running into a snag getting to the gui, you'll probably want to use urpmi, the command-line equivilent.

You'll be in a little over your head, but not nearly as deep as if you go the route your were headed. You can probably optionally toss back in your install CD, choose 'upgrade' (might be called update, it's been a while since I've seen it) and choose to install KDE packages there to get them refreshed enough to get you into a gui.

Assuming that doesn't work, or you don't want to try that route, then read on.

So after you login at the command line (CTRL + ALT + F1) change to your root user:
su -
And enter the root user's password. Now, we can give urpmi a whirl:
urpmi kde

And see what gets returned. Alternatively, we can get something light running and then do KDE once we are back in the gui, so another window manager that may be helpful:
urpmi fluxbox

And lastly, if this is just a problem with your login manager (kdm IIRC) you can bypass it from the command line. Once logged in via the command line type:
startx -- :1
And see if you are able to actually get to a GUI via that route. If so, it's probably just a glitch in the KDM login manager and might be easily fixed by removing a corrupt file in root's home:
su -
ENTER ROOT PASS
cd /root
rm -r .kdm

And see if that gets it back on it's feet.

Hope that helps you head in the right direction at least, re-installing/installing KDE from scratch is FAR more work than one should set out for in this situation.

Good Luck!

Cool
 
Old 04-10-2006, 05:31 AM   #7
malcolmBl
LQ Newbie
 
Registered: Apr 2006
Distribution: Kubuntu Dapper
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks for your help MasterC. I was stuck for a moment but you helped get the ball rolling again. Here are the results:
1. Typed: urpmi kde
result: List of files (I think they were files).

2. typed: urpmi fluxbox
result: no package named fluxbox

3. typed: rpm -qa | grep libc
result: list of 6 or 7 files including glibc-2.3.2-14mdk (does this mean i have glibc23?

4. typed : startx --:1
result: crashed like it always does with the message:
(WW) RADEON: no matching Device section for instance (Bus PCI:1:0:1) found.
(EE) No devices detected.
Fatal server error
No screens

The main reason i want to update XFree86 is for the video drivers as I had a look in the card database using command x -configure and my card (PowerColor ATi Radeon 9600 Pro 256Mb wasnt there).

Last edited by malcolmBl; 04-10-2006 at 05:34 AM.
 
Old 04-10-2006, 05:51 AM   #8
gmcmaster
Member
 
Registered: Feb 2003
Location: Poole, Dorset, England
Distribution: Fedora Core 5
Posts: 80

Rep: Reputation: 15
Check ATI's site, they support Linux and provide drivers for it.
 
Old 04-10-2006, 06:22 AM   #9
malcolmBl
LQ Newbie
 
Registered: Apr 2006
Distribution: Kubuntu Dapper
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by gmcmaster
Check ATI's site, they support Linux and provide drivers for it.
I looked at the drivers here: https://support.ati.com/ics/support/...ge&folderID=27
So i download the ATi driver installer but it is in .run format. How do i get this to run at the command prompt in linux? Burn it onto cd? What commands do i use to access the cd from the command prompt?
 
Old 04-10-2006, 06:35 AM   #10
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
HOWTO install Xorg X11R7.0 on Slakware 10.2
The above was written for Slackware but should work for most any distro. The only problem you may have is that Mandrake-9.2 is so old you may need to update some libraries or other utilities.
 
Old 04-10-2006, 07:37 PM   #11
malcolmBl
LQ Newbie
 
Registered: Apr 2006
Distribution: Kubuntu Dapper
Posts: 14

Original Poster
Rep: Reputation: 0
I bought "The Complete Linux Handbook" with Mandrake 9.2 from the newsagent just 3 weeks ago so I thought 9.2 would be relatively new. If i downloaded the latest version of Mandriva would I have the same problem with the video drivers?

I tried to install Xorg X11R7.0 but when I typed:
tar cjvf X11R6.tar.bz2 X11R6
it said permission denied

Last edited by malcolmBl; 04-10-2006 at 07:42 PM.
 
Old 04-10-2006, 10:38 PM   #12
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Code:
Mandriva Linux 10.1 features the following major softwares:

    *      Linux Kernel 2.6.8 (and various fixes from 2.6.9rc)
    *      Xorg 6.7.0
    *      KDE 3.2.3
    *      GNOME 2.6
    *      Glibc 2.3.3, GCC 3.4.1
    *      Apache 2.0.50, PHP 4.3.8
    *      MySQL 4.0.18, Samba 3.0.6
    *      Mozilla 1.7.2, GIMP 2.0.4
    *      OpenOffice.org 1.1.3
So yes with xorg 6.7 that would be an upgrade from xfree86.
 
Old 04-13-2006, 04:30 AM   #13
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Quote:
I tried to install Xorg X11R7.0 but when I typed:
tar cjvf X11R6.tar.bz2 X11R6
it said permission denied
That step plus just about everything in that in that HOWTO after step 15 needs to be done as root.

Last edited by /bin/bash; 04-13-2006 at 04:37 AM.
 
  


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
Do I have to update XFree86? asktoby Mandriva 2 04-27-2004 09:02 AM
Xfree86 update has bugs? moger Slackware 4 02-16-2004 12:18 PM
How do I update Xfree86? enigma Z Linux - Newbie 9 09-11-2003 07:18 PM
I want to update XFree86 ETeria Linux - Software 2 08-24-2003 05:29 AM
XFree86 update/rollback utabintarbo Linux - Software 1 06-21-2002 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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