LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-09-2004, 04:11 AM   #1
theonebeyond
Member
 
Registered: Aug 2004
Location: Germany
Distribution: Slackware 10.0
Posts: 258

Rep: Reputation: 30
Xorg install help


Hi!

I just read, that a new version of Xorg is out now.

Wanted to try it, but have never done anything like that before.

I have Slack 10.0 installed and I already found out, that there is a link called /usr/X11 to a directory named /usr/X11R6 ... so I guess I could install another, let's say X11R8, parallel to my runnig X ... or am I wrong? Then have to change some config file to make Linux use the new X server?

If I am wrong, how is it done then? Can I install 2 versions of X... switching them as I like?

Thanks a lot, Sascha
 
Old 09-09-2004, 07:48 AM   #2
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Luckily for you, I have just done this, so it's reasonably fresh in my mind

Before we start, is your system set up for compiling source? I don't think X.org have binary downloads. If it is, you'll need to make sure you have the development files for libexpat, libfontconfig, and libpam.

There are some instructions for doing this on X.org, but I'll give you a quick summary of what I did:

1. downloaded source code and put in /usr/src/xc
2. created a directory /opt/newx (you can name it whatever you like)
3. created the file /usr/src/xc/config/cf/host.def with ths content:
#define ProjectRoot /opt/newx
#define NothingOutsideProjectRoot YES
#define DefaultGcc2i386Opt -O0 -g
#define HasFreetype2 YES
#define HasFontconfig YES
4. in /usr/src/xc run make World
5. swear and install the various development libraries I listed above, and keep doing make World until it all compiles
6. as root type 'make install' (the root part is important, as I found out)
7. put the system in single user mode
8. in /usr do 'mv X11R6 oldx', then 'ln -s /opt/newx X11R6'
9. copy /etc/X11/XFree86Config-4 to /etc/X11/xorg.conf
10. in /etc/X11 remove symlink X and recreate it with 'ln -s /usr/bin/X11/Xorg X'
11. if you use a non-provided driver like nvidia (as I do), copy the two nv*drv.o files from /usr/oldx/lib/modules/drivers to /usr/X11R6/lib/modules/drivers
12. Cross your fingers.
13. No, really, cross your fingers.
14. Bring the system back to normal runlevel - startx if you don't use xdm. Unless you have a .xsession already created, you should see unvarnished Xorg in all it's buttcrack-ugly twm glory.

If anything goes wrong, you can remove the /usr/X11R6 symlink and point it to oldx instead, and everything should be golden - but keep a log of every change you make, so you can change it all back if you need to.
 
Old 09-09-2004, 11:28 AM   #3
SBing
Member
 
Registered: Mar 2004
Posts: 519

Rep: Reputation: 35
Quote:
Originally posted by CroMagnon
5. swear and install the various development libraries I listed above, and keep doing make World until it all compiles
lol - so true - it's not soooo bad under Slack but it's times like this I wish I was running Gentoo...:D

Good explanation, but I believe that you don't need to play around with run levels and such if you use Slackware - just quit X back to prompt...

Unless of course you boot to a different run level, but you know about that already ;)

Cheers :)

Steve

Last edited by SBing; 09-09-2004 at 11:33 AM.
 
Old 09-09-2004, 05:11 PM   #4
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
I drop to single user mode because my xdm starts in runlevel 2 I like to be in single user when I move a major directory like X11R6 just to be sure nothing's using it.
 
Old 09-25-2004, 04:23 PM   #5
cusco_dkr
LQ Newbie
 
Registered: Sep 2004
Posts: 1

Rep: Reputation: 0
bonjours,
alors voila après de multiples tentatives pour configurer xfree sous freebsd j'ai finalement tenté xorg qui d'après mes sources est plus stable.
j'ai réussi avec xfree mais le system faisait un peut ce qu'il voulais sous kde black screen réguliers.
logout qui me met de smessages type core truncated error 11 et j'en passe et des meilleurs.

je vous le dis de suite car comme vous pourez le constater je suis une grosse lame sous ce type de system mais bon faut bien commancer un jour.
j'ai donc galeré pendant une semaine complète avec ce x windows.

j'ai pompé xorg et pour l'installer j'ai donc lu la procédure perso j'en suis pa sà etre perdu si y a pas un setup.exe mais faut peut etre pas poucer.

je me remet donc à nouveau en question mais quand je lis que pour installer un prog il faut perl ou autre x prog et que finalement c'ets pas bon faut faire comme ci ou comme ca perso je m'y perds.

j'ai suivi un ex soi disant simple sur un forum qui bien sur a foiré.

ici je lis ce post qu'a rien à voir avec celle que j'ai lu précedament encore une fois je suis surpris.

De plus vous pouriez me dire ou elle sont ces instruction d'install dans le manuel car j'ai rien trouvé de tous ca et n'ayant pas encore la science infuse je risque pas de le deviner qu'il faille fair etous ca.
je pourais toujours recopier votre procédure mais c'est pas vraiment le but car j'aime bien savoir ce que je fais en général.

alors svp je vous en pris pouriez vous me donner une base à connaitre avant de pouvoir installer ou autre en environnement unix ou linux.

voir des lien si vous en conaissez pour les débutants.

je fini par me dire qu'il faut avoir fait hec ou koi.

merci d'avance.

cordialement
 
Old 09-26-2004, 09:25 PM   #6
cheshirechap
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Rep: Reputation: 0
Kind of curious... why would this compile absolutely fine in vector but not in slack(fontconfig errors)? Vector's like a stripped down slack. *sigh* time to burn another cd with necessary installation programs
 
Old 10-03-2004, 10:16 AM   #7
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Quote:
Originally posted by cheshirechap
Kind of curious... why would this compile absolutely fine in vector but not in slack(fontconfig errors)? Vector's like a stripped down slack. *sigh* time to burn another cd with necessary installation programs
A lot has been said in the other direction as well. Its probably more of a "what's already installed or not" issue.
 
  


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
Mandriva 10.2- xorg won't install? tafdavid Linux - General 0 11-16-2005 04:14 AM
XOrg 6.9 RC1 install - success suslik LinuxQuestions.org Member Success Stories 4 10-25-2005 04:35 PM
xorg-x11 install error kansho Linux - Newbie 2 05-16-2005 05:24 AM
How to install xorg-x11-devel??? ginda Linux - Software 2 03-06-2005 03:37 AM
XORG 6.8 install issues hypnoticSpectre Linux - Software 0 11-04-2004 04:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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