Install XOrg7

From Lunar Linux
(Difference between revisions)
Jump to: navigation, search
(Installation notes)
(NVIDIA Drivers)
 
(53 intermediate revisions by 7 users not shown)
Line 1: Line 1:
=The path to XOrg7=
+
=XOrg7=
 +
All commands need to be run as root.
 +
==Installing XOrg 7.x ==
  
==Upgrading from XOrg 6.x==
+
You may use the 'XOrg7' module to install XOrg 7.X:<br />
 +
<code>lin XOrg7</code>
  
Currently, the XOrg7 module needs you to do a few things manually if you upgrade from an earlier XOrg 6.x installation. You have to adhere to the following steps. If you do not listen to our advice then you're on your own.
+
You no longer need to generate an xorg.config file as X will do this on its own.
  
*Remove the old XOrg
+
You may also need to install xf86-input-evdev in order for you keyboard and mouse to work with X <br />
: <code>lrm XOrg</code>
+
<code>lin xf86-input-evdev </code>
Note: XOrg conflicts with XOrg7. Thus it would've been removed anyway. But we need to do more ...
+
  
*Backup the old /etc/X11 (with your old xorg.conf)
+
== Third Party Drivers==
: <code>mv /etc/X11 /etc/X11.old</code>
+
  
*Remove the old XOrg installation remains
+
===NVIDIA Drivers===
: <code>rm -fr /usr/X11R6</code>
+
  
*Remove some old symlinks
+
When installing Nvidia drivers make sure that X is not running as the Nvidia drivers will not install properly.
**<code>rm /usr/X11</code>
+
**<code>rm /usr/include/X11</code>
+
**<code>rm /usr/lib/X11</code>
+
**<code>rm /usr/include/GL</code>
+
  
==Installing XOrg 7.x ==
+
You may install the Nvidia driver by using the following command.<br />
*Add the XOrg7 profile to the alias file:<br />
+
<code>lin NVIDIA </code>
edit /var/lib/lunar/moonbase/aliases and add XOrg7 to the %X line...
+
  
*First of all you need to check out crater... (we are developping X11R7 in an "experimental" branch of the moonbase as to avoid ppl messing up their production boxes)
+
To set up the nvidia driver all you need to do is run.<br />
** <code>svn co https://username@foo-projects.org/svn/lunar/moonbase/branches/crater crater</code> <br>Then copy the XOrg7 directory to your zlocal
+
<code> nvidia-xconfig </code>
** or fetch the [http://merlin.ugent.be/lunar/xorg7.0.tar.gz xorg7.0-tarball] or the [http://merlin.ugent.be/lunar/xorg7.1.tar.gz the xorg7.1-tarball] from http://merlin.ugent.be/lunar/ and copy that directory to your zlocal
+
  
  
*For now, you may use the XOrg7 profile for it:<br />
+
Anytime you do a kernel update you are going to have to rebuild the Nvidia drivers kenrel modules. The next time you reboot into the new kernel you need to turn off X and any login managers that you may be using such as Slim/KDM/GDM/XDM then issue  <code> lin NVIDIA </code> to rebuild this module
<code>lin XOrg7</code>
+
  
 
==Installation notes==
 
==Installation notes==
  
XOrg7 is installing to /usr by default and ''NOT'' to /usr/X11R7 or any other prefix inside /usr. The [http://www.pathname.com/fhs Filesystem Hierarchy Standard] does not allow that. All major linux distributions are following the FHS and have adjusted their builds accordingly:
+
'''XOrg7 is installing to /usr by default''' and ''NOT'' to /usr/X11R7 or any other prefix inside /usr. The [http://www.pathname.com/fhs Filesystem Hierarchy Standard] does not allow that. All major linux distributions are following the FHS and have adjusted their builds accordingly:
  
 
*[http://lists.debian.org/debian-devel-announce/2006/04/msg00010.html Debian]
 
*[http://lists.debian.org/debian-devel-announce/2006/04/msg00010.html Debian]
Line 43: Line 36:
 
You may however set an arbitary prefix for XOrg incase you do not want it to install to /usr. You may do so by running the following command:<br /><br />
 
You may however set an arbitary prefix for XOrg incase you do not want it to install to /usr. You may do so by running the following command:<br /><br />
 
: <code>lunar set X11R7_PREFIX=/your/prefix/here</code><br><br />
 
: <code>lunar set X11R7_PREFIX=/your/prefix/here</code><br><br />
The most commonly used prefix would be /usr/X11R7, however, some other prefix inside /opt is entirely possible.
+
 
  
  
Line 50: Line 43:
 
: <code>/usr/X11R6 -> $MODULE_PREFIX; /usr by default</code><br /><br />
 
: <code>/usr/X11R6 -> $MODULE_PREFIX; /usr by default</code><br /><br />
 
The X11R6 symlink is there for compatibility reasons. Many of the older and even some of the newer packages inside the moonbase have a hardcoded path pointing to /usr/X11R6 inside their source trees. Keeping the symlink prevents them from breaking apart.
 
The X11R6 symlink is there for compatibility reasons. Many of the older and even some of the newer packages inside the moonbase have a hardcoded path pointing to /usr/X11R6 inside their source trees. Keeping the symlink prevents them from breaking apart.
 
==Annoyances==
 
The latest NVIDIA driver doesn't support the current [http://lists.freedesktop.org/archives/xorg/2006-May/015396.html ABI changes] in X11R7.1. This means you will be lacking text in some programs. Gtk+-2 programs do not show this problem (though firefox does). Solution? Some have suggested that turning of the XRendeR acceleration should work (so add: Option      "RenderAccel" "false"). If that doesn't work i guess you'll have to use the opensource driver (xf86-video-nv) [http://www.nvnews.net/vbulletin/showthread.php?t=70570 thread on nvidia forum].
 
  
 
==Missing modules from the XOrg 7.x modular tree==
 
==Missing modules from the XOrg 7.x modular tree==
Line 59: Line 49:
  
 
*x11-apps
 
*x11-apps
**appres - list X application resource database
 
 
**lbxproxy - Low BandWidth X proxy
 
**lbxproxy - Low BandWidth X proxy
**luit - Convert terminal i/o from legacy encodings to UTF-8
 
 
**mkcfm - create summaries of CID font metric files
 
**mkcfm - create summaries of CID font metric files
 
**oclock - round X clock
 
**oclock - round X clock
 
**proxymngr - proxy manager service
 
**proxymngr - proxy manager service
 
**scripts - run X command on another system via rsh
 
**scripts - run X command on another system via rsh
**sessreg - Register X sessions in system utmp/utmpx databases
 
 
**showfont - show information about X font from font server
 
**showfont - show information about X font from font server
**twm - simple window manager
 
 
**viewres - graphical class/resource browser for Xt
 
**viewres - graphical class/resource browser for Xt
 
**xbiff - watch mailboxes for new message delivery
 
**xbiff - watch mailboxes for new message delivery
 
**xclipboard - X clipboard manager
 
**xclipboard - X clipboard manager
**xdbedizzy - DBE sample
 
 
**xditview - display ditroff output
 
**xditview - display ditroff output
**xdm - list X application resource database
+
**xfd - display all the characters in an X font
**xf86dga
+
**xfindproxy - locate proxy services
**xfd
+
**xfontsel - point and click selection of X11 font names
**xfindproxy
+
**xfsinfo - X font server information utility
**xfontsel
+
**xfwp - X Firewall Proxy
**xfsinfo
+
**xgc - X graphics demo
**xfwp
+
**xlogo - Draw [old] X logo
**xgc
+
**xlsclients - list client applications running on a display
**xkbprint
+
**xphelloworld - Xprint sample applications
**xkill
+
**xprehashprinterlist - Rehash list of Xprint printers
**xload
+
**xrx - "Broadway"
**xlogo
+
**xsetmode - set the mode for an X Input device
**xlsclients
+
**xsetpointer - set an X Input device as the main pointer
**xmag
+
**xsm - X Session Manager
**xphelloworld
+
**xstdcmap - X standard colormap utility
**xprehashprinterlist
+
**xtrap - an extension to X that facilitates user emulation
**xrx
+
**xvidtune - video mode tuner for Xorg
**xsetmode
+
*x11-data ==> COMPLETE
**xsetpointer
+
*x11-doc ==> COMPLETE
**xsm
+
*x11-driver
**xstdcmap
+
**xf86-video-sunbw2
**xvidtune
+
**xf86-video-suncg3
*x11-data
+
**xf86-video-suncg6
 +
**xf86-video-suncg14
 +
**xf86-video-sunffb
 +
**xf86-video-sunleo
 +
**xf86-video-suntcx
 +
**xf86-video-tdfx
 +
**xf86-video-tga
 +
**xf86-video-trident (added by Auke - 20061103)
 +
**xf86-video-tseng
 +
*x11-extras ==> COMPLETE
 +
*x11-font ==> COMPLETE
 +
*x11-lib
 +
**libAppleWM - platform specific libraries: [MacOS]
 +
**libWindowsWM - platform specific libraries: [Win32]
 +
*x11-proto
 +
**windowswmproto - platform specific protocol headers [Win32]
 +
*x11-util
 +
**lndir
 +
*xserver ==> COMPLETE

Latest revision as of 22:31, 12 May 2010

Contents

XOrg7

All commands need to be run as root.

Installing XOrg 7.x

You may use the 'XOrg7' module to install XOrg 7.X:
lin XOrg7

You no longer need to generate an xorg.config file as X will do this on its own.

You may also need to install xf86-input-evdev in order for you keyboard and mouse to work with X
lin xf86-input-evdev

Third Party Drivers

NVIDIA Drivers

When installing Nvidia drivers make sure that X is not running as the Nvidia drivers will not install properly.

You may install the Nvidia driver by using the following command.
lin NVIDIA

To set up the nvidia driver all you need to do is run.
nvidia-xconfig


Anytime you do a kernel update you are going to have to rebuild the Nvidia drivers kenrel modules. The next time you reboot into the new kernel you need to turn off X and any login managers that you may be using such as Slim/KDM/GDM/XDM then issue lin NVIDIA to rebuild this module

Installation notes

XOrg7 is installing to /usr by default and NOT to /usr/X11R7 or any other prefix inside /usr. The Filesystem Hierarchy Standard does not allow that. All major linux distributions are following the FHS and have adjusted their builds accordingly:

You may however set an arbitary prefix for XOrg incase you do not want it to install to /usr. You may do so by running the following command:

lunar set X11R7_PREFIX=/your/prefix/here


The XOrg7 profile is going to create some symlinks on your system:

/usr/X11 -> $MODULE_PREFIX; /usr by default
/usr/X11R6 -> $MODULE_PREFIX; /usr by default

The X11R6 symlink is there for compatibility reasons. Many of the older and even some of the newer packages inside the moonbase have a hardcoded path pointing to /usr/X11R6 inside their source trees. Keeping the symlink prevents them from breaking apart.

Missing modules from the XOrg 7.x modular tree

Despite our best efforts to give you the whole XOrg 7.x modular tree as modules to install there are still many of them left untouched either because they are not important to run a full featured X environment or nobody had the time to add them yet. As always contribution are welcome and appreciated:

  • x11-apps
    • lbxproxy - Low BandWidth X proxy
    • mkcfm - create summaries of CID font metric files
    • oclock - round X clock
    • proxymngr - proxy manager service
    • scripts - run X command on another system via rsh
    • showfont - show information about X font from font server
    • viewres - graphical class/resource browser for Xt
    • xbiff - watch mailboxes for new message delivery
    • xclipboard - X clipboard manager
    • xditview - display ditroff output
    • xfd - display all the characters in an X font
    • xfindproxy - locate proxy services
    • xfontsel - point and click selection of X11 font names
    • xfsinfo - X font server information utility
    • xfwp - X Firewall Proxy
    • xgc - X graphics demo
    • xlogo - Draw [old] X logo
    • xlsclients - list client applications running on a display
    • xphelloworld - Xprint sample applications
    • xprehashprinterlist - Rehash list of Xprint printers
    • xrx - "Broadway"
    • xsetmode - set the mode for an X Input device
    • xsetpointer - set an X Input device as the main pointer
    • xsm - X Session Manager
    • xstdcmap - X standard colormap utility
    • xtrap - an extension to X that facilitates user emulation
    • xvidtune - video mode tuner for Xorg
  • x11-data ==> COMPLETE
  • x11-doc ==> COMPLETE
  • x11-driver
    • xf86-video-sunbw2
    • xf86-video-suncg3
    • xf86-video-suncg6
    • xf86-video-suncg14
    • xf86-video-sunffb
    • xf86-video-sunleo
    • xf86-video-suntcx
    • xf86-video-tdfx
    • xf86-video-tga
    • xf86-video-trident (added by Auke - 20061103)
    • xf86-video-tseng
  • x11-extras ==> COMPLETE
  • x11-font ==> COMPLETE
  • x11-lib
    • libAppleWM - platform specific libraries: [MacOS]
    • libWindowsWM - platform specific libraries: [Win32]
  • x11-proto
    • windowswmproto - platform specific protocol headers [Win32]
  • x11-util
    • lndir
  • xserver ==> COMPLETE
Personal tools
Namespaces
Variants
Actions
Wiki Navigation
Project Sites
Toolbox