View previous topic :: View next topic |
Author |
Message |
tcs n00b
Joined: 18 Mar 2004 Posts: 27 Location: Germany
|
Posted: Thu Apr 08, 2004 9:58 am Post subject: How I got x.org up and running |
|
|
<UPDATED>
corrected /etc/X11/XF86Config and /etc/X11/xorg.conf, ikshaar mentioned this, thx
==================================================
<UPDATED>
man, gentoo is too fast for me...
whole howto is not necessary anymore, you only need to unmerge xfree, emerge xorg, edit your configs and that's it
==================================================
<UPDATED>
I just saw that I missed xorg in portage...
Deleted those overlay and digest things as it is unnecessary now
==================================================
Ok, first try posting something -hopefully- useful here
Use at your own risk
My System:
Code: |
CPU AMD XP 2500+
MoBo ASUS-A7N8X
RAM 1 GB
GPU Radeon 9800 Pro
|
First we have to backup all our data, just in case
Clean up your system:
Stop the xfree/xfs tasks:
Code: |
/etc/init.d/xdm stop
/etc/init.d/xfs stop
|
I don't know if this is necessary, I did that because these are being removed later:
Code: |
rc-update del xdm
rc-update del xfs
|
Let's start removing that deprecated xfree thing (you made a backup of your data!!!)
Don't know if this is necessary, just thought that there are several things changed
Go for x.org:
Code: |
emerge xorg-x11 -pv
|
Like what you are seeing? Ok, go on:
Code: |
emerge xorg-x11 -f (you can leave that step, I've got a very bad connection :/ )
emerge xorg-x11
|
Have a coffee, this took ~55 minutes on my system
After that I did a
followed by
This reorganized a lot of configs on my system, after that I just had to edit a few files:
copied /etc/X11/XF86Config to /etc/X11/xorg.conf
edited FontPaths in this configuration
edited directories in /etc/fonts/fonts.conf
Then gave it a try:
Code: |
/etc/init.d/xfs start
|
Watching the service with fingers crossed scanning his font directories...
All done without any trouble!
Ok, we're save to do
Code: |
rc-update add xfs default
|
Next I had to switch to xorg-x11 libGL:
Code: |
opengl-update xorg-x11
|
Ready to go for
Code: |
/etc/init.d/xdm start
|
Was without any problems bringing up my gdm, logged in and enjoyed my new environment
Last thing to do:
Code: |
rc-update add xdm default
|
Additional things:
When updating ati-drivers portage wants xfree, I just injected it by typing
Code: |
emerge --inject x11-base/xfree-4.3.0-r5
|
that gave me an error:
Code: |
!!! BAD COUNTER in 'x11-base/xfree-4.3.0-r5'
|
but also said
Code: |
>>> Injected x11-base/xfree-4.3.0-r5.
|
To be sure I tried
Code: |
emerge ati-drivers -pv
|
which gave me
Code: |
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] media-video/ati-drivers-3.2.8-r1 +gnome -kde -qt 4,262 kB
Total size of downloads: 4,262 kB
|
So the error seems to be not critical
First I was a bit afraid of removing that xfree-monster and replacing it with x.org... had horrible ideas about being there without anything running, broken libs etc.
Nothing of these nightmares happened, it works perfect and now I will start studying the differences between those systems
Hope there is anyone who could get some information out of that messy english...
Cheers
tcs
Threads that got me started:
XOrg-X11 ebuilds
experiences with xorg-x11-6.7.0
Last edited by tcs on Fri Apr 09, 2004 9:27 pm; edited 4 times in total |
|
Back to top |
|
|
Bastux Guru
Joined: 15 Dec 2002 Posts: 369 Location: France - Paris
|
Posted: Thu Apr 08, 2004 11:09 am Post subject: |
|
|
Good How-to!!!
Thanks!
Is it working with nvidia driver? |
|
Back to top |
|
|
Bastux Guru
Joined: 15 Dec 2002 Posts: 369 Location: France - Paris
|
Posted: Thu Apr 08, 2004 11:11 am Post subject: |
|
|
auto-response, I found the answer in your links ...
Sorry |
|
Back to top |
|
|
g1um n00b
Joined: 19 Nov 2003 Posts: 32 Location: Thunder Bluff, Mulgore
|
Posted: Thu Apr 08, 2004 11:56 am Post subject: > |
|
|
This is a very good howto! thx |
|
Back to top |
|
|
tcs n00b
Joined: 18 Mar 2004 Posts: 27 Location: Germany
|
Posted: Thu Apr 08, 2004 12:42 pm Post subject: |
|
|
Thanks for feedback
And.... *whooooops*
Code: |
horus tcs # la /usr/portage/x11-base/xorg-x11/
total 64
drwxr-xr-x 3 root root 4096 Apr 7 20:31 .
drwxr-xr-x 9 root root 4096 Apr 7 22:40 ..
-rw-r--r-- 1 root root 712 Apr 7 20:31 ChangeLog
drwxr-xr-x 2 root root 4096 Apr 7 11:17 files
-rw-r--r-- 1 root root 239 Apr 7 20:29 Manifest
-rw-r--r-- 1 root root 232 Apr 7 10:56 metadata.xml
-rw-r--r-- 1 root root 36967 Apr 7 20:31 xorg-x11-6.7.0.ebuild
|
Seems as if I missed something while planning backup & installation
So you can cut 90% of posting on top I think
Cheers
tcs
[EDIT]
-was less than 90%, should be ok now
[/EDIT]
Last edited by tcs on Thu Apr 08, 2004 1:08 pm; edited 1 time in total |
|
Back to top |
|
|
hachre n00b
Joined: 21 Jan 2003 Posts: 59 Location: Munich, Germany
|
Posted: Thu Apr 08, 2004 12:44 pm Post subject: |
|
|
Great Howto!!
Say bye to XFree, say hello to XOrg _________________ He's not much to look at but it's sooo hard to find a family guy... |
|
Back to top |
|
|
gudentach12 Apprentice
Joined: 21 Feb 2003 Posts: 184 Location: tr.rhp.ger.earth
|
Posted: Thu Apr 08, 2004 2:20 pm Post subject: |
|
|
hi,
i dont know that much about the whole Xfree thing....., but what about DRI ?
Because right now i am still having some problems, getting Dri to work with the new kernel (2.6.5-rc1-mm).
anyway, cool howto, i will try it as soon as i get home....
thanks for help, gudentach12 |
|
Back to top |
|
|
tcs n00b
Joined: 18 Mar 2004 Posts: 27 Location: Germany
|
Posted: Thu Apr 08, 2004 2:33 pm Post subject: |
|
|
gudentach12 wrote: | hi,
i dont know that much about the whole Xfree thing....., but what about DRI ?
Because right now i am still having some problems, getting Dri to work with the new kernel (2.6.5-rc1-mm).
anyway, cool howto, i will try it as soon as i get home....
thanks for help, gudentach12 |
Hi,
DRI works fine on my system, same behaviour as before with xfree.
What hardware are you using? Perhaps there are answers to your problems already in this forum, DRI is a well known problem configuring linux
Cheers
tcs |
|
Back to top |
|
|
MooktaKiNG Guru
Joined: 11 Nov 2002 Posts: 326 Location: London, UK
|
Posted: Thu Apr 08, 2004 3:31 pm Post subject: |
|
|
Also if anyone wants to backup ther xfree compilation, just incase
do this:
That will make a binary package of the xfree (WITHOUT recompiling it).
Then you can just:
Code: | emerge --usepkgonly xfree |
_________________ http://www.mooktakim.com
Athlon XP 2001, Giga-Byte GA-7VRXP MB, 640Mb DDR RAM 333MHz, MSI Geforce 4800SE 128Mb DDR, 40x12x48 Liteon CDRW drive, Flower Cooler, ADSL Router |
|
Back to top |
|
|
Pseud Apprentice
Joined: 19 Mar 2004 Posts: 273 Location: Bangalore, India
|
Posted: Thu Apr 08, 2004 9:16 pm Post subject: |
|
|
I'm sorry if this is the gazillionth time this question is being asked, but I just want to be sure:
Will __anything at all, (even some small doesn't-matter-much-really thing)__ that used to work with XFree (I think mine's version 4.3) not work with XOrg? _________________ eschew obfuscation |
|
Back to top |
|
|
hachre n00b
Joined: 21 Jan 2003 Posts: 59 Location: Munich, Germany
|
Posted: Thu Apr 08, 2004 9:20 pm Post subject: |
|
|
As of now XOrg is a Fork of XFree from December with some patches till then...
It will be the next generation X11 System by freedesktop.org.
Anything that ran with XFree should run with XOrg too at the moment. _________________ He's not much to look at but it's sooo hard to find a family guy... |
|
Back to top |
|
|
patroclo7 n00b
Joined: 28 Feb 2004 Posts: 68
|
Posted: Thu Apr 08, 2004 9:56 pm Post subject: radeon mobility patch |
|
|
I have a radeon mobility IGP 320 (U1). With xfree, I had dri functioning only patching a xfree 4.3.99.16... I read that many xfree long-term patches have been included in xorg. Does someone know if mine has been included too? As an alternative, do you know if there is a corresponding patch for xorg?
I'd like to switch, but enabling dri in xfree was such a nightmare that I do not want to risk to go back |
|
Back to top |
|
|
hachre n00b
Joined: 21 Jan 2003 Posts: 59 Location: Munich, Germany
|
Posted: Thu Apr 08, 2004 10:07 pm Post subject: |
|
|
I don't have any clue about that... sorry ;/ you can try browsing freedesktop.org or x.org about that :/ _________________ He's not much to look at but it's sooo hard to find a family guy... |
|
Back to top |
|
|
El_Presidente_Pufferfish Veteran
Joined: 11 Jul 2002 Posts: 1179 Location: Seattle
|
Posted: Thu Apr 08, 2004 10:10 pm Post subject: |
|
|
Does anybody else see the really ugly checkerboard background before your standard wallpaper/kdm starts?
i looked in the patch to fix it for xfree, and the change is already there(defaultserverargs="-br"), so i don't know how to get rid of it |
|
Back to top |
|
|
hachre n00b
Joined: 21 Jan 2003 Posts: 59 Location: Munich, Germany
|
Posted: Thu Apr 08, 2004 10:16 pm Post subject: |
|
|
I have the same awful checkerboard ;/ I think its b0rked.. _________________ He's not much to look at but it's sooo hard to find a family guy... |
|
Back to top |
|
|
gudentach12 Apprentice
Joined: 21 Feb 2003 Posts: 184 Location: tr.rhp.ger.earth
|
Posted: Thu Apr 08, 2004 11:40 pm Post subject: |
|
|
@tcs:
i have a ati radeon 8500 on amd athlon 1400, 1gig ram....
i know that there are a lot of posts of people having problems gettings dri to work.... so have i.
i followed some tutorials in the forums but none of them solved my problem until now....
maybe i will try with xorg....
(sorry for bad english)
gudentach12 |
|
Back to top |
|
|
MighMoS Guru
Joined: 24 Apr 2003 Posts: 416 Location: @ ~
|
Posted: Fri Apr 09, 2004 3:31 am Post subject: |
|
|
"What additional functionality does this new server from afar bring to us humble users?" asked the questioning pengiun _________________ jabber: MighMoS@jabber.org
localhost # export HOME=`which heart` |
|
Back to top |
|
|
irf2003 Veteran
Joined: 10 Sep 2003 Posts: 1078
|
Posted: Fri Apr 09, 2004 3:47 am Post subject: |
|
|
tcs, there is no longer a need to inject x11-base/xfree,
just emerge sync or emerge-webrsync if you last did so
on or before 04/08/2004
just to confirm the above
Code: |
bash-2.05b# emerge -ep world | grep x11
[ebuild N ] x11-base/opengl-update-1.6
[ebuild N ] x11-misc/ttmkfdir-3.0.9-r1
[ebuild N ] x11-base/xorg-x11-6.7.0
[ebuild N ] x11-terms/xterm-184
[ebuild N ] x11-libs/qt-3.3.1-r1
[ebuild N ] x11-libs/openmotif-2.1.30-r5
[ebuild N ] x11-libs/pango-1.4.0
[ebuild N ] x11-libs/gtk+-2.4.0
[ebuild N ] x11-libs/gtk+-1.2.10-r11
[ebuild N ] x11-themes/xmms-themes-0.0.3
[ebuild N ] x11-libs/wxGTK-2.4.2
[ebuild N ] x11-misc/xchm-0.9
[ebuild N ] x11-libs/startup-notification-0.6
|
hth |
|
Back to top |
|
|
Red Sparrow Tux's lil' helper
Joined: 05 Feb 2004 Posts: 128 Location: Greeley, CO
|
Posted: Fri Apr 09, 2004 8:01 am Post subject: |
|
|
I can't seem to figure this out. When I do an "emerge -pv xorg-x11" (after clearing xfree off of the system), it wants to install xfree again along with xorg-x11. If I inject xfree, I then get (in part):
Code: |
[blocks B ] x11-base/xfree ("virtual/xft" from pkg x11-base/xorg-x11-6.7.0)
[blocks B ] x11-base/xfree ("virtual/x11" from pkg x11-base/xorg-x11-6.7.0)
|
Anyone got any ideas about how to fix this? And could this be related in any way to the fact that I manually added "~ppc" to the keywords section in the ebuild?
Thanks,
(- Steve -) |
|
Back to top |
|
|
credmp Apprentice
Joined: 02 Jul 2002 Posts: 207 Location: Netherlands
|
Posted: Fri Apr 09, 2004 8:12 am Post subject: |
|
|
The Block means that the package (xorg-x11) can not be installed with XFree and that you have to remove it first.... it does not mean that it will install XFree. |
|
Back to top |
|
|
Crispy Beef Apprentice
Joined: 29 Apr 2003 Posts: 194 Location: UK
|
Posted: Fri Apr 09, 2004 9:41 am Post subject: |
|
|
I thought I'd share my experiences with installing XOrg after following this HOWTO. I'm on AMD64 here and heard that everything should work ok.
Just did:
Code: | emerge -C xfree
emerge xorg-x11
emerge corefonts
cp /etc/X11/XF86Config /etc/xorg.conf |
Then just added a couple of lines to initialise the corefonts. Killed the current X session and everything worked perfectly.
XOrg does seem quite a bit faster to load as others seems to have reported, and I don't know if it's just me but the rendering of fonts seems to be a bit better too, all in all, well worth the effort. _________________ --
______
Crispy |
|
Back to top |
|
|
infirit l33t
Joined: 11 Jan 2003 Posts: 778 Location: Hoofddorp / The Netherlands
|
Posted: Fri Apr 09, 2004 11:52 am Post subject: |
|
|
For the people having installed x cursor themes, Gold or Blue for example. You should either copy the themes into /usr/share/cursors/xorg-x11/ or make symlinks to them from /usr/share/cursors/xfree/.
I did not have any problems with gtk themes. _________________ EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
Red Sparrow Tux's lil' helper
Joined: 05 Feb 2004 Posts: 128 Location: Greeley, CO
|
Posted: Fri Apr 09, 2004 1:26 pm Post subject: |
|
|
This is what I get if I type "emerge -pv xorg-x11" without xfree installed or injected:
Code: |
[ebuild N ] x11-base/xorg-x11-6.7.0 -(3dfx) -cjk -debug -doc -hardened -ipv6 +nls +pam -pie -sdk -static 70,283 kB
[ebuild N ] x11-base/xfree-4.3.0-r5 -(3dfx) -(3dnow) -bindist -cjk -debug -doc -ipv6 -(mmx) +nls +pam -sdk -(sse) -static -truetype -xml2 20,288 kB
[ebuild N ] app-arch/rpm2targz-9.0-r2 0 kB
[ebuild N ] sys-apps/utempter-0.5.3.2-r1 0 kB
[ebuild N ] x11-terms/xterm-184 -truetype 0 kB
|
(- Steve -) |
|
Back to top |
|
|
tcs n00b
Joined: 18 Mar 2004 Posts: 27 Location: Germany
|
Posted: Fri Apr 09, 2004 1:37 pm Post subject: |
|
|
Jigglypuff wrote: | This is what I get if I type "emerge -pv xorg-x11" without xfree installed or injected:
Code: |
[ebuild N ] x11-base/xorg-x11-6.7.0 -(3dfx) -cjk -debug -doc -hardened -ipv6 +nls +pam -pie -sdk -static 70,283 kB
[ebuild N ] x11-base/xfree-4.3.0-r5 -(3dfx) -(3dnow) -bindist -cjk -debug -doc -ipv6 -(mmx) +nls +pam -sdk -(sse) -static -truetype -xml2 20,288 kB
[ebuild N ] app-arch/rpm2targz-9.0-r2 0 kB
[ebuild N ] sys-apps/utempter-0.5.3.2-r1 0 kB
[ebuild N ] x11-terms/xterm-184 -truetype 0 kB
|
(- Steve -) |
Please could anyone confirm, but I suppose you should check your USE Variable in /etc/make.conf.
Cheers
tcs |
|
Back to top |
|
|
soulfire n00b
Joined: 09 Apr 2004 Posts: 70 Location: Italy
|
Posted: Fri Apr 09, 2004 2:51 pm Post subject: |
|
|
Jigglypuff wrote: |
Code: |
[ebuild N ] x11-base/xorg-x11-6.7.0 -(3dfx) -cjk -debug -doc -hardened -ipv6 +nls +pam -pie -sdk -static 70,283 kB
[ebuild N ] x11-base/xfree-4.3.0-r5 -(3dfx) -(3dnow) -bindist -cjk -debug -doc -ipv6 -(mmx) +nls +pam -sdk -(sse) -static -truetype -xml2 20,288 kB
[ebuild N ] app-arch/rpm2targz-9.0-r2 0 kB
[ebuild N ] sys-apps/utempter-0.5.3.2-r1 0 kB
[ebuild N ] x11-terms/xterm-184 -truetype 0 kB
|
|
the same for me _________________ I can divide by zero |
|
Back to top |
|
|
|