Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Which do I have: x.org or xfree?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
lousyd
Apprentice
Apprentice


Joined: 15 Mar 2003
Posts: 166
Location: Des Moines

PostPosted: Thu Jul 29, 2004 3:47 am    Post subject: Which do I have: x.org or xfree? Reply with quote

Okay, so I installed xfree during install and then later unmerged (or so I thought) and emerged x.org. Due to some mouse wheel troubles, I've discovered that I actually now have both installed. I kept twiddling with my xorg.conf to get the mouse wheel to work and on a hunch put the twiddles in the XF86Config, which made the wheel work.

So, does that mean for sure that I'm using xfree, despite both being installed? How can I tell (in a more direct manner) which is being used when gdm starts?

In a semi-related question, gdm won't frickin' start KDE unless I specifically tell it to. If the session is on "last" it starts gnome, despite having used KDE last. Any idea why this would be so? Does gdm not like me? I've un- and remerged gdm, hoping it would set things straight on reinstallation, but no luck. Serves me right for trying the Windows way of system maintenance. So, what config files should I maybe check, for gdm?

Any ideas, please?
Back to top
View user's profile Send private message
[UK]Superdude
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2002
Posts: 149
Location: Adelaide, Australia

PostPosted: Thu Jul 29, 2004 5:13 am    Post subject: Reply with quote

try doing an:
Code:

emerge -s xfree && emerge -s xorg-x11


I did basically what you did, though not with a new install - I had Xfree, unmerged it and put on xorg. I remember there being a blocker in place so that if Xfree was installed portage would block xorg, and vice-versa.
In any case an emerge -s would show in my case:
Code:

*  x11-base/xfree
      Latest version available: 4.3.0-r6
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 71,133 kB
      Homepage:    http://www.xfree.org
      Description: XFree86: free X server
      License:     Adobe-X CID DEC DEC-2 IBM-X NVIDIA-X NetBSD SGI UCB-LBL XC-2 bigelow-holmes-urw-gmbh-luxi christopher-g-demetriou national-semiconductor nokia tektronix the-open-group todd-c-miller x-truetype xfree86-1.0 MIT SGI-B BSD FTL | GPL-2 MSttfEULA

*  x11-base/xorg-x11
      Latest version available: 6.7.0-r2
      Latest version installed: 6.7.0-r2
      Size of downloaded files: 71,895 kB
      Homepage:    http://freedesktop.org/XOrg
      Description: An X11 implementation maintained by the X.Org Foundation
      License:     Adobe-X CID DEC DEC-2 IBM-X NVIDIA-X NetBSD SGI UCB-LBL XC-2 bigelow-holmes-urw-gmbh-luxi christopher-g-demetriou national-semiconductor nokia tektronix the-open-group todd-c-miller x-truetype xfree86-1.0 MIT SGI-B BSD FTL | GPL-2


If I look in /etc/X11
Code:

*[root@penguin1:/home/dave]ls -l /etc/X11/
-rw-r--r--  1 root root  4636 Jul 20 18:17 xorg.conf
-rw-r--r--  1 root root  4636 Jul 20 18:17 XF86Config

It would seem that I still have XF86Config left over from the Xfree install. I also seem to remeber that portage will not remove this config file, and also that xorg will use XF86Config if it cant find xorg.conf.
At least I think that is the case... Anyone else have more info?

As for GDM, I beleive that many people are haveing problems with getting it to recognise KDE. Try KDM, it will recognise your Gnome sessions as well as your KDE ones as well as any other DE you may want to try - Enlightenment, *box etc etc.

Hope this helped.
Back to top
View user's profile Send private message
lousyd
Apprentice
Apprentice


Joined: 15 Mar 2003
Posts: 166
Location: Des Moines

PostPosted: Thu Jul 29, 2004 5:41 am    Post subject: Reply with quote

I still have both xfree and xorg installed. I don't remember how that happened, but it says so right here:

Code:
# emerge -s xorg xfree
Searching...
[ Results for search key : xorg ]

*  x11-base/xorg-x11
      Latest version available: 6.7.0-r1
      Latest version installed: 6.7.0-r1
      Size of downloaded files: 71,879 kB
      Homepage:    http://freedesktop.org/XOrg
      Description: An X11 implementation maintained by the X.Org Foundation

Searching...
[ Results for search key : xfree ]

*  x11-base/xfree
      Latest version available: 4.3.0-r6
      Latest version installed: 4.3.0-r6
      Size of downloaded files: 71,133 kB
      Homepage:    http://www.xfree.org
      Description: XFree86: free X server


So, which, I wonder, am I actually using?

With the gdm thing, I was kind of hoping to keep gdm, because of the slick GUI and the cow in the background, but I may just switch to kdm.
Back to top
View user's profile Send private message
oanjao
n00b
n00b


Joined: 19 Feb 2004
Posts: 73
Location: Orlando, FL

PostPosted: Sat Jul 31, 2004 4:57 pm    Post subject: Reply with quote

Here's a suggestion to figure out which one is running. With XWindows running, type the following in a terminal:
Code:

> su
Password: [your root password]
> ps x

Here is a snippet of what I get on my system:
Code:

4022 ?          S       0:00 /usr/bin/gdm
 545 ?          RL      4:33 /etc/X11/X :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -n
19730 pty/s0    S       0:00 su

This middle line tells me exactly what path was used to launch the X server (of course it may look different on your system). Now we will use that exact path to figure out which X server is active. For my system, I type in:
Code:
 /etc/X11/X -version

And I get:
Code:

This is a pre-release version of XFree86, and is not supported in any
way.  Bugs may be reported to XFree86@XFree86.Org and patches submitted
to fixes@XFree86.Org.  Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs).

XFree86 Version 4.3.0.1
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.25-gentoo-r2 i686 [ELF]
Build Date: 17 May 2004
        Before reporting problems, check http://www.XFree86.Org/
        to make sure that you have the latest version.
Module Loader present

which tells me that XFree86 is the server that I am actually running. I hope this helps.
_________________
For tips and examples, check out my software development and scientific programming blog
Back to top
View user's profile Send private message
lousyd
Apprentice
Apprentice


Joined: 15 Mar 2003
Posts: 166
Location: Des Moines

PostPosted: Thu Aug 05, 2004 5:04 am    Post subject: Reply with quote

Yes, this solved the puzzle. Thank you very much.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
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