Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How I got x.org up and running
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4, 5, 6, 7  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
tcs
n00b
n00b


Joined: 18 Mar 2004
Posts: 27
Location: Germany

PostPosted: Thu Apr 08, 2004 9:58 am    Post subject: How I got x.org up and running Reply with quote

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

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!!!)
Code:

   emerge -C xfree

Don't know if this is necessary, just thought that there are several things changed ;)
Code:

   env-update

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

   env-update

followed by
Code:

   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:

   /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
View user's profile Send private message
Bastux
Guru
Guru


Joined: 15 Dec 2002
Posts: 369
Location: France - Paris

PostPosted: Thu Apr 08, 2004 11:09 am    Post subject: Reply with quote

Good How-to!!!
Thanks!


Is it working with nvidia driver?
Back to top
View user's profile Send private message
Bastux
Guru
Guru


Joined: 15 Dec 2002
Posts: 369
Location: France - Paris

PostPosted: Thu Apr 08, 2004 11:11 am    Post subject: Reply with quote

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

Sorry :oops: :oops: :oops: :oops:
Back to top
View user's profile Send private message
g1um
n00b
n00b


Joined: 19 Nov 2003
Posts: 32
Location: Thunder Bluff, Mulgore

PostPosted: Thu Apr 08, 2004 11:56 am    Post subject: > Reply with quote

This is a very good howto! thx :D
Back to top
View user's profile Send private message
tcs
n00b
n00b


Joined: 18 Mar 2004
Posts: 27
Location: Germany

PostPosted: Thu Apr 08, 2004 12:42 pm    Post subject: Reply with quote

Thanks for feedback :D

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 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
Back to top
View user's profile Send private message
hachre
n00b
n00b


Joined: 21 Jan 2003
Posts: 59
Location: Munich, Germany

PostPosted: Thu Apr 08, 2004 12:44 pm    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message
gudentach12
Apprentice
Apprentice


Joined: 21 Feb 2003
Posts: 184
Location: tr.rhp.ger.earth

PostPosted: Thu Apr 08, 2004 2:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
tcs
n00b
n00b


Joined: 18 Mar 2004
Posts: 27
Location: Germany

PostPosted: Thu Apr 08, 2004 2:33 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
MooktaKiNG
Guru
Guru


Joined: 11 Nov 2002
Posts: 326
Location: London, UK

PostPosted: Thu Apr 08, 2004 3:31 pm    Post subject: Reply with quote

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


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
View user's profile Send private message
Pseud
Apprentice
Apprentice


Joined: 19 Mar 2004
Posts: 273
Location: Bangalore, India

PostPosted: Thu Apr 08, 2004 9:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
hachre
n00b
n00b


Joined: 21 Jan 2003
Posts: 59
Location: Munich, Germany

PostPosted: Thu Apr 08, 2004 9:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
patroclo7
n00b
n00b


Joined: 28 Feb 2004
Posts: 68

PostPosted: Thu Apr 08, 2004 9:56 pm    Post subject: radeon mobility patch Reply with quote

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
View user's profile Send private message
hachre
n00b
n00b


Joined: 21 Jan 2003
Posts: 59
Location: Munich, Germany

PostPosted: Thu Apr 08, 2004 10:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
El_Presidente_Pufferfish
Veteran
Veteran


Joined: 11 Jul 2002
Posts: 1179
Location: Seattle

PostPosted: Thu Apr 08, 2004 10:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
hachre
n00b
n00b


Joined: 21 Jan 2003
Posts: 59
Location: Munich, Germany

PostPosted: Thu Apr 08, 2004 10:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
gudentach12
Apprentice
Apprentice


Joined: 21 Feb 2003
Posts: 184
Location: tr.rhp.ger.earth

PostPosted: Thu Apr 08, 2004 11:40 pm    Post subject: Reply with quote

@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
View user's profile Send private message
MighMoS
Guru
Guru


Joined: 24 Apr 2003
Posts: 416
Location: @ ~

PostPosted: Fri Apr 09, 2004 3:31 am    Post subject: Reply with quote

"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
View user's profile Send private message
irf2003
Veteran
Veteran


Joined: 10 Sep 2003
Posts: 1078

PostPosted: Fri Apr 09, 2004 3:47 am    Post subject: Reply with quote

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
View user's profile Send private message
Red Sparrow
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2004
Posts: 128
Location: Greeley, CO

PostPosted: Fri Apr 09, 2004 8:01 am    Post subject: Reply with quote

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
View user's profile Send private message
credmp
Apprentice
Apprentice


Joined: 02 Jul 2002
Posts: 207
Location: Netherlands

PostPosted: Fri Apr 09, 2004 8:12 am    Post subject: Reply with quote

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
View user's profile Send private message
Crispy Beef
Apprentice
Apprentice


Joined: 29 Apr 2003
Posts: 194
Location: UK

PostPosted: Fri Apr 09, 2004 9:41 am    Post subject: Reply with quote

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. :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
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Fri Apr 09, 2004 11:52 am    Post subject: Reply with quote

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
View user's profile Send private message
Red Sparrow
Tux's lil' helper
Tux's lil' helper


Joined: 05 Feb 2004
Posts: 128
Location: Greeley, CO

PostPosted: Fri Apr 09, 2004 1:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
tcs
n00b
n00b


Joined: 18 Mar 2004
Posts: 27
Location: Germany

PostPosted: Fri Apr 09, 2004 1:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
soulfire
n00b
n00b


Joined: 09 Apr 2004
Posts: 70
Location: Italy

PostPosted: Fri Apr 09, 2004 2:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page 1, 2, 3, 4, 5, 6, 7  Next
Page 1 of 7

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum