Install XOrg7

From Lunar Linux
(Difference between revisions)
Jump to: navigation, search
(Missing modules from the XOrg 7.x modular tree)
(NVIDIA Drivers)
 
(20 intermediate revisions by 6 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 (XOrg 6.x conflicts with XOrg 7.x)
+
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>
:: This action will most likely cause some font related modules to recompile, this is to be expected.
+
  
*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 if they still exist
+
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>
+
  
*Make sure XOrg is never installed again:
+
You may install the Nvidia driver by using the following command.<br />
**<code>lunar exile XOrg</code>
+
<code>lin NVIDIA </code>
**<code>lunar fixdepends </code>  
+
If you do not do this it could be resurrected by modules that were installed with XOrg...
+
  
==Installing XOrg 7.x ==
+
To set up the nvidia driver all you need to do is run.<br />
 +
<code> nvidia-xconfig </code>
  
  
===Installing xorg-7.1===
+
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
 
+
XOrg 7.1 was added to moonbase as of 17/10/2006. It has it's own section in /var/lib/lunar/moonbase/xorg7
+
 
+
You may now use the 'XOrg7' module to install XOrg 7.1:<br /><br />
+
<code>lin XOrg7</code>
+
 
+
XOrg-7.1 is needed if you want to mess with Xgl.
+
  
 
==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 48: 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 61: 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 (import in moonbase 20061107 - elangelo)
 
 
**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
 
**xf86dga - known unto god
 
 
**xfd - display all the characters in an X font
 
**xfd - display all the characters in an X font
 
**xfindproxy - locate proxy services
 
**xfindproxy - locate proxy services
Line 84: Line 65:
 
**xfwp - X Firewall Proxy
 
**xfwp - X Firewall Proxy
 
**xgc - X graphics demo
 
**xgc - X graphics demo
**xload - system load average display for X
 
 
**xlogo - Draw [old] X logo
 
**xlogo - Draw [old] X logo
 
**xlsclients - list client applications running on a display
 
**xlsclients - list client applications running on a display
**xmag - magnify parts of the screen
 
 
**xphelloworld - Xprint sample applications
 
**xphelloworld - Xprint sample applications
 
**xprehashprinterlist - Rehash list of Xprint printers
 
**xprehashprinterlist - Rehash list of Xprint printers
Line 95: Line 74:
 
**xsm - X Session Manager
 
**xsm - X Session Manager
 
**xstdcmap - X standard colormap utility
 
**xstdcmap - X standard colormap utility
 +
**xtrap - an extension to X that facilitates user emulation
 
**xvidtune - video mode tuner for Xorg
 
**xvidtune - video mode tuner for Xorg
 
*x11-data ==> COMPLETE
 
*x11-data ==> COMPLETE
*x11-doc
+
*x11-doc ==> COMPLETE
**xorg-docs
+
**xorg-sgml-doctools
+
 
*x11-driver
 
*x11-driver
 
**xf86-video-sunbw2
 
**xf86-video-sunbw2

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