Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Documentation, Tips & Tricks
  • Search

How I got x.org up and running

Unofficial documentation for various parts of Gentoo Linux. Note: This is not a support forum.
Post Reply
Advanced search
159 posts
  • Page 1 of 7
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 7
  • Next
Author
Message
tcs
n00b
n00b
User avatar
Posts: 27
Joined: Thu Mar 18, 2004 7:25 am
Location: Germany

How I got x.org up and running

  • Quote

Post by tcs » Thu Apr 08, 2004 9:58 am

<UPDATED>
corrected /etc/X11/XF86Config and /etc/X11/xorg.conf, ikshaar mentioned this, thx :)
==================================================
<UPDATED>
man, gentoo is too fast for me... :wink:
whole howto is not necessary anymore, you only need to unmerge xfree, emerge xorg, edit your configs and that's it :D
==================================================
<UPDATED>
I just saw that I missed xorg in portage...
Deleted those overlay and digest things as it is unnecessary now :wink:
==================================================


Ok, first try posting something -hopefully- useful here :wink:

Use at your own risk :wink:

My System:

Code: Select all

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: Select all

	/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: Select all

	rc-update del xdm
	rc-update del xfs
Let's start removing that deprecated xfree thing ;) (you made a backup of your data!!!)

Code: Select all

	emerge -C xfree
Don't know if this is necessary, just thought that there are several things changed ;)

Code: Select all

	env-update
Go for x.org:

Code: Select all

	emerge xorg-x11 -pv
Like what you are seeing? Ok, go on:

Code: Select all

	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

Code: Select all

	env-update
followed by

Code: Select all

	etc-update
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: Select all

	/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: Select all

	rc-update add xfs default
Next I had to switch to xorg-x11 libGL:

Code: Select all

	opengl-update xorg-x11
Ready to go for

Code: Select all

	/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: Select all

	rc-update add xdm default

Additional things:
When updating ati-drivers portage wants xfree, I just injected it by typing

Code: Select all

	emerge --inject x11-base/xfree-4.3.0-r5
that gave me an error:

Code: Select all

	!!! BAD COUNTER in 'x11-base/xfree-4.3.0-r5'
but also said

Code: Select all

	>>> Injected x11-base/xfree-4.3.0-r5.
To be sure I tried

Code: Select all

	emerge ati-drivers -pv
which gave me

Code: Select all

	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.
Top
Bastux
Guru
Guru
User avatar
Posts: 369
Joined: Sun Dec 15, 2002 12:19 pm
Location: France - Paris

  • Quote

Post by Bastux » Thu Apr 08, 2004 11:09 am

Good How-to!!!
Thanks!


Is it working with nvidia driver?
Top
Bastux
Guru
Guru
User avatar
Posts: 369
Joined: Sun Dec 15, 2002 12:19 pm
Location: France - Paris

  • Quote

Post by Bastux » Thu Apr 08, 2004 11:11 am

auto-response, I found the answer in your links ...

Sorry :oops: :oops: :oops: :oops:
Top
g1um
n00b
n00b
User avatar
Posts: 32
Joined: Wed Nov 19, 2003 10:28 am
Location: Thunder Bluff, Mulgore
Contact:
Contact g1um
Website

>

  • Quote

Post by g1um » Thu Apr 08, 2004 11:56 am

This is a very good howto! thx :D
Top
tcs
n00b
n00b
User avatar
Posts: 27
Joined: Thu Mar 18, 2004 7:25 am
Location: Germany

  • Quote

Post by tcs » Thu Apr 08, 2004 12:42 pm

Thanks for feedback :D

And.... *whooooops*

Code: Select all

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 8O
So you can cut 90% of posting on top I think :wink:

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.
Top
hachre
n00b
n00b
User avatar
Posts: 59
Joined: Tue Jan 21, 2003 12:01 am
Location: Munich, Germany
Contact:
Contact hachre
Website

  • Quote

Post by hachre » Thu Apr 08, 2004 12:44 pm

Great Howto!!

Say bye to XFree, say hello to XOrg :D
He's not much to look at but it's sooo hard to find a family guy...
Top
gudentach12
Apprentice
Apprentice
User avatar
Posts: 184
Joined: Fri Feb 21, 2003 12:17 pm
Location: tr.rhp.ger.earth

  • Quote

Post by gudentach12 » Thu Apr 08, 2004 2:20 pm

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
Top
tcs
n00b
n00b
User avatar
Posts: 27
Joined: Thu Mar 18, 2004 7:25 am
Location: Germany

  • Quote

Post by tcs » Thu Apr 08, 2004 2:33 pm

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 :wink:

Cheers

tcs
Top
MooktaKiNG
Guru
Guru
User avatar
Posts: 326
Joined: Mon Nov 11, 2002 2:30 pm
Location: London, UK
Contact:
Contact MooktaKiNG
Website

  • Quote

Post by MooktaKiNG » Thu Apr 08, 2004 3:31 pm

Also if anyone wants to backup ther xfree compilation, just incase ;)
do this:

Code: Select all

quickpkg xfree
That will make a binary package of the xfree (WITHOUT recompiling it).
Then you can just:

Code: Select all

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
Top
Pseud
Apprentice
Apprentice
Posts: 273
Joined: Fri Mar 19, 2004 9:58 pm
Location: Bangalore, India

  • Quote

Post by Pseud » Thu Apr 08, 2004 9:16 pm

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
Top
hachre
n00b
n00b
User avatar
Posts: 59
Joined: Tue Jan 21, 2003 12:01 am
Location: Munich, Germany
Contact:
Contact hachre
Website

  • Quote

Post by hachre » Thu Apr 08, 2004 9:20 pm

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...
Top
patroclo7
n00b
n00b
Posts: 68
Joined: Sat Feb 28, 2004 7:57 pm
Contact:
Contact patroclo7
Website

radeon mobility patch

  • Quote

Post by patroclo7 » Thu Apr 08, 2004 9:56 pm

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 :-)
Top
hachre
n00b
n00b
User avatar
Posts: 59
Joined: Tue Jan 21, 2003 12:01 am
Location: Munich, Germany
Contact:
Contact hachre
Website

  • Quote

Post by hachre » Thu Apr 08, 2004 10:07 pm

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...
Top
El_Presidente_Pufferfish
Veteran
Veteran
User avatar
Posts: 1179
Joined: Thu Jul 11, 2002 11:46 pm
Location: Seattle

  • Quote

Post by El_Presidente_Pufferfish » Thu Apr 08, 2004 10:10 pm

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
Top
hachre
n00b
n00b
User avatar
Posts: 59
Joined: Tue Jan 21, 2003 12:01 am
Location: Munich, Germany
Contact:
Contact hachre
Website

  • Quote

Post by hachre » Thu Apr 08, 2004 10:16 pm

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...
Top
gudentach12
Apprentice
Apprentice
User avatar
Posts: 184
Joined: Fri Feb 21, 2003 12:17 pm
Location: tr.rhp.ger.earth

  • Quote

Post by gudentach12 » Thu Apr 08, 2004 11:40 pm

@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
Top
MighMoS
Guru
Guru
User avatar
Posts: 416
Joined: Thu Apr 24, 2003 2:20 pm
Location: @ ~
Contact:
Contact MighMoS
Website

  • Quote

Post by MighMoS » Fri Apr 09, 2004 3:31 am

"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`
Top
irf2003
Veteran
Veteran
Posts: 1078
Joined: Wed Sep 10, 2003 12:57 pm

  • Quote

Post by irf2003 » Fri Apr 09, 2004 3:47 am

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: Select all

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
Top
Red Sparrow
Tux's lil' helper
Tux's lil' helper
Posts: 128
Joined: Thu Feb 05, 2004 9:28 pm
Location: Greeley, CO

  • Quote

Post by Red Sparrow » Fri Apr 09, 2004 8:01 am

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: Select all

[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 -)
Top
credmp
Apprentice
Apprentice
User avatar
Posts: 207
Joined: Tue Jul 02, 2002 2:42 pm
Location: Netherlands
Contact:
Contact credmp
Website

  • Quote

Post by credmp » Fri Apr 09, 2004 8:12 am

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.
Top
Crispy Beef
Apprentice
Apprentice
Posts: 194
Joined: Tue Apr 29, 2003 1:15 pm
Location: UK

  • Quote

Post by Crispy Beef » Fri Apr 09, 2004 9:41 am

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: Select all

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. :D

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
Top
infirit
l33t
l33t
User avatar
Posts: 778
Joined: Sat Jan 11, 2003 1:43 pm
Location: Hoofddorp / The Netherlands

  • Quote

Post by infirit » Fri Apr 09, 2004 11:52 am

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
Top
Red Sparrow
Tux's lil' helper
Tux's lil' helper
Posts: 128
Joined: Thu Feb 05, 2004 9:28 pm
Location: Greeley, CO

  • Quote

Post by Red Sparrow » Fri Apr 09, 2004 1:26 pm

This is what I get if I type "emerge -pv xorg-x11" without xfree installed or injected:

Code: Select all

[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 -)
Top
tcs
n00b
n00b
User avatar
Posts: 27
Joined: Thu Mar 18, 2004 7:25 am
Location: Germany

  • Quote

Post by tcs » Fri Apr 09, 2004 1:37 pm

Jigglypuff wrote:This is what I get if I type "emerge -pv xorg-x11" without xfree installed or injected:

Code: Select all

[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
Top
soulfire
n00b
n00b
User avatar
Posts: 70
Joined: Fri Apr 09, 2004 11:23 am
Location: Italy

  • Quote

Post by soulfire » Fri Apr 09, 2004 2:51 pm

Jigglypuff wrote:

Code: Select all

[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
Top
Post Reply

159 posts
  • Page 1 of 7
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 7
  • Next

Return to “Documentation, Tips & Tricks”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic