Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
have you upgraded the version of x with redhat 6.2, if not, i am sure its still 3.3.6......
no command that i know of that gives you the version number.
Well, trickykid had it right; if you haven't upgraded XFree86 since your initial install, you're running 3.3.6.
X doesn't magically upgrade itself; you would have to have done it yourself (and believe me, you would remember if you had). Also, 4.1.0 is a full install, and doesn't seem to require a certain version to be previously installed. Just follow the directions here: http://www.xfree86.org/4.1.0/Install2.html#2 and proceed from there.
<edit> Oh, on re-reading your post I think I understand what you're asking. For one thing, the format of the config file has changed. Version 4.x uses XF86Config-4 instead of the old XF86Config. Other changes between ver 3.x.x. and 4.x.x are described at the xfree86.org site. </edit>
Well if you want just do a 'locate XFree'
and any document files that accompanied the package will show you the version number.
For ex.
/usr/X11R6/man/man1/XFree86.1x (viewing this will give you the version number)
/usr/doc/XFree86-xfs-3.3.5 (3.3.5 = also the Version #)
/usr/doc/XFree86-xfs-3.3.5/CHANGES
/usr/doc/XFree86-xfs-3.3.5/LICENSE
.
.
.
.
.
Having done the upgrade thing myself, you're going to have some trouble. Trust me, this is just the way it is. The docs at XFree86.org are great if you have no problems with an installation. If you have to troubleshoot, you're on your own.
To the best of my knowledge (I'm running 4.1.0 now having upgraded today from 4.0.3) XFree86 still uses XF86Config, it's just that some of the syntax has changed (I don't know what you mean by XF86Config-4). Do yourself a big favor, follow the directions and copy the directories /etc/X11 and /usr/X11R6 to make a backup. You'll need to refer to your old working copies of the config files if you have trouble.
Other than that, don't bother using Xconfigurator under Red Hat 6.2 after the upgrade. Due to some syntax changes, Xconfigurator only makes matters worse rather than helps.
Actually, if it were me doing this the first time, I'd upgrade to 4.0.3 FIRST. Why? Well if you get 4.0.3 working properly, you can use the XF86Config from 4.0.3 to configure 4.1.0 painlessly. Just install 4.1.0 and then copy the backup XF86Config from 4.0.3. The reason I suggest this is you're actually jumping 2 revisions in XFree86 if you go from 3.3.6 to 4.1.0. As a general rule, you're going to be able to find more information on your own with 4.0.3 than 4.1.0 (pretty brand spanking new).
Anyway, I know none of this was terribly specific, but I wasted the better part of a day upgrading 3.3.6 to 4.0.3. It took me less than a half hour to upgrade 4.0.3 to 4.1.0, but of course, I'd been down the long and winding road already ;-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.