LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-14-2003, 03:53 AM   #1
floyd
Member
 
Registered: Apr 2002
Location: Sydney, Australia
Distribution: Mandrake
Posts: 73

Rep: Reputation: 15
Updating Xfree86


Hi,

I have been using unix and linux for a few years now, but have only just installed it on my own computer. Therefore I know how to use the system, just not administer it.

I installed Mandrake 9.0 on my computer and decided as my first task to try and get to know everything a little more intimately, to upgrade X to 4.3.0. To do this I logged out, and switched to a different console.

I ran the XInstall script file with all the req'd packages and a couple of extras (whats the advantage of installing 100dpi fonts? Are they better or worse than the others?). I answered yes to every question involved in adding links or overwriting configuration files. Now Im guessing this might have been the wrong thing to do (although the installation notes said it shouldnt be a problem).

Anyway, after doing this I switched back to console 7 and tried to log in... It didnt work, just kept resetting back to the login screen, even after choosing to reset the X windows system.

So I reset the computer. Now I can log in, but instead of booting into KDE it automatically boots into TWM (or something similar), however once it gets in, I can only type into the terminals for about 2 seconds before the keyboard becomes unresponsive (I am using a USB keyboard if that makes a difference), I cannot even switch consoles, the mouse (also USB) however, still works. I can use the mouse to copy and paste (using the middle button) into the xterms, so they are still responsive.

I can access the menu to exit, but when I exit, the title bars of the xterms disappear, but thats about as far as it gets, the mouse is still responsive, but the menu no longer works. The only thing I can do is physically reset.

I am doing all this as a learning experience, so I have no critical data on the system (which is why I was a bit gung-ho about upgrading X).

Can anyone tell me if a) It is possible to recover from this (if someone could tell me how to stop Mandrake auto-logging in that would be a start), and b) How to properly upgrade X without this happening, or refer me to a detailed description of such.

Thanks very much...
 
Old 07-14-2003, 04:10 AM   #2
captainstorm
Member
 
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261

Rep: Reputation: 31
Hello floyd what do you mean by "auto-logging"? You mean auto-logging to X or into console?

My self also tried to upgrate X-windows to 4.3.0 from the RH7.1 Kernel, but got some other problems like no desktop. I am new to Linux and I am not sure the compatitability of X4.3.0. I deleted everything finally and install the RH9, with the kernel2.4.0-8 and everything came back.
 
Old 07-14-2003, 04:27 AM   #3
floyd
Member
 
Registered: Apr 2002
Location: Sydney, Australia
Distribution: Mandrake
Posts: 73

Original Poster
Rep: Reputation: 15
By auto-logging in I mean, it auto logs into my account, I guess this is because I am the only user (besides root) that is set up on the system.

I have found I way around this, even though it auto-logs in, I can switch to one of the other consoles and use the text based interface before the TWM stops the keyboard responding in console 7.

I would much prefer to "repair" the problem rather than re-install, because I will probably learn more that way.
 
Old 07-14-2003, 04:30 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Wow, upgrading X to become personalized with your system is like buying a car then rebuilding the transmission to become familiar with it

Anyway, you might just need to reconfigure X, with mandrake a tool exists called:
XFdrake
If you log in as root from your console and type:
XFdrake
It should start the process. After you've set it up, try using:
startx
To get into your graphical environment. It's very important to swith runlevels while doing all this too. If something does't work, you don't want your system to try to get into a gui if there isn't one right? So...
Open up (with your favorite command line text editor, for newbies I suggest using pico or nano if it's there) your /etc/inittab file (be careful in here) and change the following line:
id:5:default:
to :id:3:default: (the 5 to a 3)
This way your system will start in text mode, and then from there to get into your graphical environment (gui) you can type:
startx
And thest things this way. You will also recieve better error message to post up here so we can see what's going on by using startx.

Cool
 
Old 07-14-2003, 10:58 AM   #5
floyd
Member
 
Registered: Apr 2002
Location: Sydney, Australia
Distribution: Mandrake
Posts: 73

Original Poster
Rep: Reputation: 15
Thanks for the help guys...

I ended up reverting to the original Mandrake XF86 (after working out how) and upgraded again, this time only updating the font server config file. Everything seems to be running smoothly. (Do I loose mandrake fonts? I checked the updated fs config file and it is quite different)

Just installed the Nvidia driver and that is going nicely too.

But if anyone can explain to me, or knows of an article explaining in detail, which config files to keep and which to update and why when upgrading X, it would be much appreciated.

Thanks!
 
  


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
Updating to xfree86 4.4.0 AndrewB Mandriva 1 03-28-2005 08:44 PM
updating XFree86 jam222 Slackware 12 06-05-2004 10:03 AM
Help configuring XFree86 on YDL 2.3 (black screen & failed XFree86 -configure) EnVoy Linux - General 1 11-24-2003 05:32 PM
Updating xfree86 pilotgi Linux - Software 2 06-07-2002 07:25 PM
Updating Xfree86 to 4.1... SatanicHare Linux - Newbie 0 08-01-2001 01:13 PM

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

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