LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Xorg install help (https://www.linuxquestions.org/questions/linux-software-2/xorg-install-help-228489/)

theonebeyond 09-09-2004 04:11 AM

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

CroMagnon 09-09-2004 07:48 AM

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.

SBing 09-09-2004 11:28 AM

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

CroMagnon 09-09-2004 05:11 PM

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.

cusco_dkr 09-25-2004 04:23 PM

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

cheshirechap 09-26-2004 09:25 PM

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

vectordrake 10-03-2004 10:16 AM

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.


All times are GMT -5. The time now is 06:26 AM.