Saturday, October 24, 2009

Linux: To Compile X.org Server 1.6.5 on Debian 5.0 Lenny

I compiled X.org server 1.6.5 on Debian 5.0 Lenny because Lenny's X Windows couldn't run optimally on my Toshiba NB205 netbook's 1024x600 screen. To prepare for compilation, I installed the following packages:



  • bison
  • g++-4.3 or g++-3.4
  • libexpat1-dev
  • libpciaccess-dev
  • libssl-dev
  • libxdamage-dev
  • libxfont-dev
  • libxi-dev
  • libxkbfile-dev
  • libxmu-dev
  • libxxf86vm-dev
  • make
  • x11proto-bigreqs-dev
  • x11proto-composite-dev
  • x11proto-gl-dev
  • x11proto-render-dev
  • x11proto-resource-dev
  • x11proto-scrnsaver-dev
  • x11proto-video-dev
  • x11proto-xcmisc-dev
  • x11proto-xf86dga-dev
  • x11proto-xf86dri-dev
  • x11proto-xinerama-dev
  • xkb-data


g++-3.4 can be found in Debian Etch. I will put my compiled X.org 1.6.5 and dependencies in /usr/local to avoid any conflict with Debian packages:



Compiling Pixman and libDRM


  1. First, I downloaded pixman_0.16.2.orig.tar.gz from Debian Sid's libpixman-1-dev page and compiled pixman as follows:


    tar xzf pixman_0.16.2.orig.tar.gz
    cd pixman-0.16.2/
    ./configure
    make install

    The following files are created:


    /usr/local/include/pixman-1/

    /usr/local/lib/libpixman-1.a

    /usr/local/lib/libpixman-1.la

    /usr/local/lib/libpixman-1.so.0

    /usr/local/lib/libpixman-1.so.0.16.2

    /usr/local/lib/libpixman-1.so

    /usr/local/lib/pkgconfig/pixman-1.pc


  2. I downloaded libdrm_2.4.15.orig.tar.gz from Debian Sid's libdrm-dev page and compiled libdrm2 like this:


    tar xzf libdrm_2.4.14.orig.tar.gz
    cd libdrm-2.4.14/
    ./configure
    make install


    This creates the following files:


    /usr/local/include/drm/

    /usr/local/include/intel_bufmgr.h

    /usr/local/include/xf86drm.h

    /usr/local/include/xf86drmMode.h

    /usr/local/lib/libdrm.la

    /usr/local/lib/libdrm.so

    /usr/local/lib/libdrm.so.2

    /usr/local/lib/libdrm.so.2.4.0

    /usr/local/lib/libdrm_intel.la

    /usr/local/lib/libdrm_intel.so

    /usr/local/lib/libdrm_intel.so.1

    /usr/local/lib/libdrm_intel.so.1.0.0

    /usr/local/lib/pkgconfig/libdrm.pc

    /usr/local/lib/pkgconfig/libdrm_intel.pc



Installing X Protocol Headers


  1. Then, I downloaded x11proto-dri2_2.1.orig.tar.gz from Debian Sid's x11proto-dri2-dev page and compiled dri2proto like this:


    tar xzf x11proto-dri2_2.1.orig.tar.gz
    cd dri2proto-2.1/
    ./configure
    make install

    This installs the following files:


    /usr/local/include/X11/extensions/dri2proto.h

    /usr/local/include/X11/extensions/dri2tokens.h

    /usr/local/lib/pkgconfig/dri2proto.pc


  2. I downloaded x11proto-core_7.0.16.orig.tar.gz from x11proto-core-dev and installed xproto:


    tar xzf x11proto-core_7.0.15.orig.tar.gz
    cd xproto-7.0.15
    ./configure
    make install


    I downloaded x11proto-xext_7.0.4.orig.tar.gz from Debian Sid's x11proto-xext-dev page and installed xextproto:


    tar xzf x11proto-xext_7.0.4.orig.tar.gz
    cd xextproto-7.0.4
    ./configure
    make install

    The following files are created.


    /usr/local/lib/pkgconfig/xproto.pc
    /usr/local/lib/pkgconfig/xextproto.pc
    /usr/local/include/X11/extensions/dpms.h
    /usr/local/include/X11/extensions/dpmsstr.h
    /usr/local/include/X11/extensions/extutil.h
    /usr/local/include/X11/extensions/ge.h
    /usr/local/include/X11/extensions/geproto.h
    /usr/local/include/X11/extensions/Xge.h
    /usr/local/include/X11/extensions/lbxbuf.h
    /usr/local/include/X11/extensions/lbxbufstr.h
    /usr/local/include/X11/extensions/lbxdeltastr.h
    /usr/local/include/X11/extensions/lbximage.h
    /usr/local/include/X11/extensions/lbxopts.h
    /usr/local/include/X11/extensions/lbxstr.h
    /usr/local/include/X11/extensions/lbxzlib.h
    /usr/local/include/X11/extensions/MITMisc.h
    /usr/local/include/X11/extensions/mitmiscstr.h
    /usr/local/include/X11/extensions/multibuf.h
    /usr/local/include/X11/extensions/multibufst.h
    /usr/local/include/X11/extensions/security.h
    /usr/local/include/X11/extensions/securstr.h
    /usr/local/include/X11/extensions/shape.h
    /usr/local/include/X11/extensions/shapestr.h
    /usr/local/include/X11/extensions/shmstr.h
    /usr/local/include/X11/extensions/sync.h
    /usr/local/include/X11/extensions/syncstr.h
    /usr/local/include/X11/extensions/Xag.h
    /usr/local/include/X11/extensions/Xagstr.h
    /usr/local/include/X11/extensions/Xcup.h
    /usr/local/include/X11/extensions/Xcupstr.h
    /usr/local/include/X11/extensions/Xdbe.h
    /usr/local/include/X11/extensions/Xdbeproto.h
    /usr/local/include/X11/extensions/XEVI.h
    /usr/local/include/X11/extensions/XEVIstr.h
    /usr/local/include/X11/extensions/Xext.h
    /usr/local/include/X11/extensions/XLbx.h
    /usr/local/include/X11/extensions/XShm.h
    /usr/local/include/X11/extensions/xtestext1.h
    /usr/local/include/X11/extensions/XTest.h
    /usr/local/include/X11/extensions/xteststr.h
    /usr/local/include/X11/Xfuncproto.h
    /usr/local/include/X11/Xpoll.h
    /usr/local/include/X11/ap_keysym.h
    /usr/local/include/X11/DECkeysym.h
    /usr/local/include/X11/HPkeysym.h
    /usr/local/include/X11/keysymdef.h
    /usr/local/include/X11/keysym.h
    /usr/local/include/X11/Sunkeysym.h
    /usr/local/include/X11/Xalloca.h
    /usr/local/include/X11/Xarch.h
    /usr/local/include/X11/Xatom.h
    /usr/local/include/X11/Xdefs.h
    /usr/local/include/X11/XF86keysym.h
    /usr/local/include/X11/Xfuncs.h
    /usr/local/include/X11/X.h
    /usr/local/include/X11/Xmd.h
    /usr/local/include/X11/Xosdefs.h
    /usr/local/include/X11/Xos.h
    /usr/local/include/X11/Xos_r.h
    /usr/local/include/X11/Xproto.h
    /usr/local/include/X11/Xprotostr.h
    /usr/local/include/X11/Xthreads.h
    /usr/local/include/X11/Xw32defs.h
    /usr/local/include/X11/XWDFile.h
    /usr/local/include/X11/Xwindows.h
    /usr/local/include/X11/Xwinsock.h


  3. I downloaded x11proto-input_1.5.0.orig.tar.gz from Debian Sid's x11proto-input-dev page and installed inputproto:


    tar xzf x11proto-input_1.5.0.orig.tar.gz
    cd inputproto-1.5.0/
    ./configure
    make install

    The following files are copied to the system.


    /usr/local/include/X11/extensions/XI.h

    /usr/local/include/X11/extensions/XInput.h

    /usr/local/include/X11/extensions/XIproto.h

    /usr/local/lib/pkgconfig/inputproto.pc


  4. I downloaded x11proto-randr_1.3.1.orig.tar.gz from Debian Sid's x11proto-randr-dev page and installed randrproto like this:


    tar xzf x11proto-randr_1.3.0.orig.tar.gz
    cd randrproto-1.3.0/
    ./configure
    make install

    This installs the following files:


    /usr/local/include/X11/extensions/randr.h

    /usr/local/include/X11/extensions/randrproto.h

    /usr/local/lib/pkgconfig/randrproto.pc

    /usr/local/share/doc/randrproto/randrproto.txt


  5. I downloaded xtrans_1.2.5.orig.tar.gz from Debian Sid's xtrans-dev page and installed xtrans like this:


    tar xzf xtrans_1.2.4.orig.tar.gz
    cd xtrans-1.2.4
    ./configure
    make install

    The following files are installed:


    /usr/local/include/X11/Xtrans/

    /usr/local/lib/pkgconfig/xtrans.pc

    /usr/local/share/aclocal/xtrans.m4



Compiling Mesa 3D Library


Then, I downloaded mesa_7.6.orig.tar.gz from Debian and compiled Mesa 7.6 as follows:


tar xzf mesa_7.6.orig.tar.gz
cd mesa-7.6/
./configure
make
make install

The following files are installed:


/usr/local/include/GL/GLwDrawA.h

/usr/local/include/GL/GLwDrawAP.h

/usr/local/include/GL/GLwMDrawA.h

/usr/local/include/GL/GLwMDrawAP.h

/usr/local/include/GL/dmesa.h

/usr/local/include/GL/ggimesa.h

/usr/local/include/GL/gl.h

/usr/local/include/GL/gl_mangle.h

/usr/local/include/GL/glew.h

/usr/local/include/GL/glext.h

/usr/local/include/GL/glfbdev.h

/usr/local/include/GL/glu.h

/usr/local/include/GL/glu_mangle.h

/usr/local/include/GL/glut.h

/usr/local/include/GL/glutf90.h

/usr/local/include/GL/glx.h

/usr/local/include/GL/glx_mangle.h

/usr/local/include/GL/glxew.h

/usr/local/include/GL/glxext.h

/usr/local/include/GL/internal/dri_interface.h

/usr/local/include/GL/mesa_wgl.h

/usr/local/include/GL/mglmesa.h

/usr/local/include/GL/osmesa.h

/usr/local/include/GL/svgamesa.h

/usr/local/include/GL/vms_x_fix.h

/usr/local/include/GL/wglew.h

/usr/local/include/GL/wglext.h

/usr/local/include/GL/wmesa.h

/usr/local/lib/dri/EGL_i915.so

/usr/local/lib/dri/ffb_dri.so

/usr/local/lib/dri/i810_dri.so

/usr/local/lib/dri/i915_dri.so

/usr/local/lib/dri/i965_dri.so

/usr/local/lib/dri/mach64_dri.so

/usr/local/lib/dri/mga_dri.so

/usr/local/lib/dri/r128_dri.so

/usr/local/lib/dri/r200_dri.so

/usr/local/lib/dri/r300_dri.so

/usr/local/lib/dri/r600_dri.so

/usr/local/lib/dri/radeon_dri.so

/usr/local/lib/dri/s3v_dri.so

/usr/local/lib/dri/savage_dri.so

/usr/local/lib/dri/sis_dri.so

/usr/local/lib/dri/swrast_dri.so

/usr/local/lib/dri/tdfx_dri.so

/usr/local/lib/dri/trident_dri.so

/usr/local/lib/dri/unichrome_dri.so

/usr/local/lib/libEGL.so

/usr/local/lib/libEGL.so.1

/usr/local/lib/libEGL.so.1.0

/usr/local/lib/libGL.so

/usr/local/lib/libGL.so.1

/usr/local/lib/libGL.so.1.2

/usr/local/lib/libGLU.so

/usr/local/lib/libGLU.so.1

/usr/local/lib/libGLU.so.1.3.070600

/usr/local/lib/libGLw.so

/usr/local/lib/libGLw.so.1

/usr/local/lib/libGLw.so.1.0.0

/usr/local/lib/libglut.so

/usr/local/lib/libglut.so.3

/usr/local/lib/libglut.so.3.7.1

/usr/local/lib/pkgconfig/dri.pc

/usr/local/lib/pkgconfig/gl.pc

/usr/local/lib/pkgconfig/glu.pc

/usr/local/lib/pkgconfig/glut.pc

/usr/local/lib/pkgconfig/glw.pc


Compiling X.org Server


Then, I downloaded xorg-server_1.6.5.orig.tar.gz from Debian and compiled X.org server. The X.org server depends on libpciaccess0 library, so be sure to install libpciaccess-dev before building a X.org server.


tar xzf xorg-server_1.6.5.orig.tar.gz

cd xorg-server-1.6.5/

./configure --sysconfdir=/etc --localstatedir=/var --with-xkb-path=/usr/share/X11/xkb --with-xkb-output=/var/tmp

make

make install

The following files are installed:


/usr/local/bin/X
/usr/local/bin/Xnest
/usr/local/bin/Xorg
/usr/local/bin/Xvfb
/usr/local/bin/cvt
/usr/local/bin/gtf
/usr/local/include/xorg/BT.h
/usr/local/include/xorg/IBM.h
/usr/local/include/xorg/TI.h
/usr/local/include/xorg/XIstubs.h
/usr/local/include/xorg/bstore.h
/usr/local/include/xorg/bstorestr.h
/usr/local/include/xorg/bt829.h
/usr/local/include/xorg/cfb8_16.h
/usr/local/include/xorg/closestr.h
/usr/local/include/xorg/closure.h
/usr/local/include/xorg/colormap.h
/usr/local/include/xorg/colormapst.h
/usr/local/include/xorg/compiler.h
/usr/local/include/xorg/cursor.h
/usr/local/include/xorg/cursorstr.h
/usr/local/include/xorg/damage.h
/usr/local/include/xorg/damagestr.h
/usr/local/include/xorg/dbestruct.h
/usr/local/include/xorg/dgaproc.h
/usr/local/include/xorg/dix.h
/usr/local/include/xorg/dixaccess.h
/usr/local/include/xorg/dixevents.h
/usr/local/include/xorg/dixfont.h
/usr/local/include/xorg/dixfontstr.h
/usr/local/include/xorg/dixgrabs.h
/usr/local/include/xorg/dixstruct.h
/usr/local/include/xorg/dri.h
/usr/local/include/xorg/dri2.h
/usr/local/include/xorg/dristruct.h
/usr/local/include/xorg/edid.h
/usr/local/include/xorg/exa.h
/usr/local/include/xorg/exevents.h
/usr/local/include/xorg/extension.h
/usr/local/include/xorg/extinit.h
/usr/local/include/xorg/extnsionst.h
/usr/local/include/xorg/fb.h
/usr/local/include/xorg/fbdevhw.h
/usr/local/include/xorg/fboverlay.h
/usr/local/include/xorg/fbrop.h
/usr/local/include/xorg/fi1236.h
/usr/local/include/xorg/fourcc.h
/usr/local/include/xorg/gc.h
/usr/local/include/xorg/gcstruct.h
/usr/local/include/xorg/geext.h
/usr/local/include/xorg/geint.h
/usr/local/include/xorg/globals.h
/usr/local/include/xorg/glyphstr.h
/usr/local/include/xorg/hotplug.h
/usr/local/include/xorg/i2c_def.h
/usr/local/include/xorg/input.h
/usr/local/include/xorg/inputstr.h
/usr/local/include/xorg/mi.h
/usr/local/include/xorg/mibank.h
/usr/local/include/xorg/mibstore.h
/usr/local/include/xorg/micmap.h
/usr/local/include/xorg/micoord.h
/usr/local/include/xorg/mifillarc.h
/usr/local/include/xorg/mifpoly.h
/usr/local/include/xorg/migc.h
/usr/local/include/xorg/miline.h
/usr/local/include/xorg/mipict.h
/usr/local/include/xorg/mipointer.h
/usr/local/include/xorg/mipointrst.h
/usr/local/include/xorg/misc.h
/usr/local/include/xorg/miscstruct.h
/usr/local/include/xorg/mispans.h
/usr/local/include/xorg/mistruct.h
/usr/local/include/xorg/miwideline.h
/usr/local/include/xorg/mizerarc.h
/usr/local/include/xorg/msp3430.h
/usr/local/include/xorg/opaque.h
/usr/local/include/xorg/os.h
/usr/local/include/xorg/picture.h
/usr/local/include/xorg/picturestr.h
/usr/local/include/xorg/pixmap.h
/usr/local/include/xorg/pixmapstr.h
/usr/local/include/xorg/privates.h
/usr/local/include/xorg/property.h
/usr/local/include/xorg/propertyst.h
/usr/local/include/xorg/ptrveloc.h
/usr/local/include/xorg/randrstr.h
/usr/local/include/xorg/region.h
/usr/local/include/xorg/regionstr.h
/usr/local/include/xorg/registry.h
/usr/local/include/xorg/renderedge.h
/usr/local/include/xorg/resource.h
/usr/local/include/xorg/rgb.h
/usr/local/include/xorg/rrtransform.h
/usr/local/include/xorg/sarea.h
/usr/local/include/xorg/screenint.h
/usr/local/include/xorg/scrnintstr.h
/usr/local/include/xorg/selection.h
/usr/local/include/xorg/servermd.h
/usr/local/include/xorg/shadow.h
/usr/local/include/xorg/shadowfb.h
/usr/local/include/xorg/shmint.h
/usr/local/include/xorg/site.h
/usr/local/include/xorg/swaprep.h
/usr/local/include/xorg/swapreq.h
/usr/local/include/xorg/tda8425.h
/usr/local/include/xorg/tda9850.h
/usr/local/include/xorg/tda9885.h
/usr/local/include/xorg/uda1380.h
/usr/local/include/xorg/validate.h
/usr/local/include/xorg/vbe.h
/usr/local/include/xorg/vbeModes.h
/usr/local/include/xorg/vgaHW.h
/usr/local/include/xorg/wfbrename.h
/usr/local/include/xorg/window.h
/usr/local/include/xorg/windowstr.h
/usr/local/include/xorg/xaa.h
/usr/local/include/xorg/xaaWrapper.h
/usr/local/include/xorg/xaalocal.h
/usr/local/include/xorg/xaarop.h
/usr/local/include/xorg/xf86.h
/usr/local/include/xorg/xf86Crtc.h
/usr/local/include/xorg/xf86Cursor.h
/usr/local/include/xorg/xf86DDC.h
/usr/local/include/xorg/xf86Modes.h
/usr/local/include/xorg/xf86Module.h
/usr/local/include/xorg/xf86Opt.h
/usr/local/include/xorg/xf86Optrec.h
/usr/local/include/xorg/xf86Parser.h
/usr/local/include/xorg/xf86Pci.h
/usr/local/include/xorg/xf86PciInfo.h
/usr/local/include/xorg/xf86Priv.h
/usr/local/include/xorg/xf86Privstr.h
/usr/local/include/xorg/xf86RAC.h
/usr/local/include/xorg/xf86RamDac.h
/usr/local/include/xorg/xf86RandR12.h
/usr/local/include/xorg/xf86Rename.h
/usr/local/include/xorg/xf86Resources.h
/usr/local/include/xorg/xf86Xinput.h
/usr/local/include/xorg/xf86_OSlib.h
/usr/local/include/xorg/xf86_OSproc.h
/usr/local/include/xorg/xf86cmap.h
/usr/local/include/xorg/xf86fbman.h
/usr/local/include/xorg/xf86i2c.h
/usr/local/include/xorg/xf86int10.h
/usr/local/include/xorg/xf86sbusBus.h
/usr/local/include/xorg/xf86str.h
/usr/local/include/xorg/xf86xv.h
/usr/local/include/xorg/xf86xvmc.h
/usr/local/include/xorg/xf86xvpriv.h
/usr/local/include/xorg/xisb.h
/usr/local/include/xorg/xkbfile.h
/usr/local/include/xorg/xkbrules.h
/usr/local/include/xorg/xkbsrv.h
/usr/local/include/xorg/xkbstr.h
/usr/local/include/xorg/xorg-server.h
/usr/local/include/xorg/xorgVersion.h
/usr/local/include/xorg/xserver-properties.h
/usr/local/include/xorg/xvdix.h
/usr/local/include/xorg/xvmcext.h
/usr/local/lib/X11/Options
/usr/local/lib/pkgconfig/xorg-server.pc
/usr/local/lib/xorg/modules/extensions/libdbe.la
/usr/local/lib/xorg/modules/extensions/libdbe.so
/usr/local/lib/xorg/modules/extensions/libdri.la
/usr/local/lib/xorg/modules/extensions/libdri.so
/usr/local/lib/xorg/modules/extensions/libdri2.la
/usr/local/lib/xorg/modules/extensions/libdri2.so
/usr/local/lib/xorg/modules/extensions/libextmod.la
/usr/local/lib/xorg/modules/extensions/libextmod.so
/usr/local/lib/xorg/modules/extensions/libglx.la
/usr/local/lib/xorg/modules/extensions/libglx.so
/usr/local/lib/xorg/modules/libexa.la
/usr/local/lib/xorg/modules/libexa.so
/usr/local/lib/xorg/modules/libfb.la
/usr/local/lib/xorg/modules/libfb.so
/usr/local/lib/xorg/modules/libint10.la
/usr/local/lib/xorg/modules/libint10.so
/usr/local/lib/xorg/modules/libshadow.la
/usr/local/lib/xorg/modules/libshadow.so
/usr/local/lib/xorg/modules/libshadowfb.la
/usr/local/lib/xorg/modules/libshadowfb.so
/usr/local/lib/xorg/modules/libvbe.la
/usr/local/lib/xorg/modules/libvbe.so
/usr/local/lib/xorg/modules/libvgahw.la
/usr/local/lib/xorg/modules/libvgahw.so
/usr/local/lib/xorg/modules/libwfb.la
/usr/local/lib/xorg/modules/libwfb.so
/usr/local/lib/xorg/modules/libxaa.la
/usr/local/lib/xorg/modules/libxaa.so
/usr/local/lib/xorg/modules/libxf8_16bpp.la
/usr/local/lib/xorg/modules/libxf8_16bpp.so
/usr/local/lib/xorg/modules/linux/libfbdevhw.la
/usr/local/lib/xorg/modules/linux/libfbdevhw.so
/usr/local/lib/xorg/modules/multimedia/bt829_drv.la
/usr/local/lib/xorg/modules/multimedia/bt829_drv.so
/usr/local/lib/xorg/modules/multimedia/fi1236_drv.la
/usr/local/lib/xorg/modules/multimedia/fi1236_drv.so
/usr/local/lib/xorg/modules/multimedia/msp3430_drv.la
/usr/local/lib/xorg/modules/multimedia/msp3430_drv.so
/usr/local/lib/xorg/modules/multimedia/tda8425_drv.la
/usr/local/lib/xorg/modules/multimedia/tda8425_drv.so
/usr/local/lib/xorg/modules/multimedia/tda9850_drv.la
/usr/local/lib/xorg/modules/multimedia/tda9850_drv.so
/usr/local/lib/xorg/modules/multimedia/tda9885_drv.la
/usr/local/lib/xorg/modules/multimedia/tda9885_drv.so
/usr/local/lib/xorg/modules/multimedia/uda1380_drv.la
/usr/local/lib/xorg/modules/multimedia/uda1380_drv.so
/usr/local/lib/xorg/protocol.txt
/usr/local/share/X11/xkb/compiled/README.compiled
/usr/local/share/aclocal/xorg-server.m4
/usr/local/share/man/man1/Xnest.1
/usr/local/share/man/man1/Xorg.1
/usr/local/share/man/man1/Xserver.1
/usr/local/share/man/man1/Xvfb.1
/usr/local/share/man/man1/cvt.1
/usr/local/share/man/man1/gtf.1
/usr/local/share/man/man4/exa.4
/usr/local/share/man/man4/fbdevhw.4
/usr/local/share/man/man5/xorg.conf.5


Compiling X.org Keyboard and Mouse Driver


Then, I downloaded xserver-xorg-input-keyboard_1.4.0.orig.tar.gz from Debian Sid's xserver-xorg-input-kbd page. Also, I downloaded xserver-xorg-input-mouse_1.5.0.orig.tar.gz from Debian Sid's xserver-xorg-input-mouse page. The keyboard and mouse drivers are compiled as follows.


tar xzf xserver-xorg-input-keyboard_1.3.2.orig.tar.gz
cd xf86-input-keyboard-1.3.2/
./configure
make
make install
cd ..
tar xzf xserver-xorg-input-mouse_1.4.0.orig.tar.gz
cd xf86-input-mouse-1.4.0/
./configure
make
make install


Compiling Intel Video Driver


Then, I downloaded xf86-video-intel-2.9.1.tar.bz2 from intellinuxgraphics.org and compiled it.


tar xzf xf86-video-intel-2.9.1.tar.bz2
cd xf86-video-intel-2.9.1
./configure
make
make install

The following files are installed after compilation:


/usr/local/lib/xorg/modules/drivers/ch7017.la
/usr/local/lib/xorg/modules/drivers/ch7017.so
/usr/local/lib/xorg/modules/drivers/ch7xxx.la
/usr/local/lib/xorg/modules/drivers/ch7xxx.so
/usr/local/lib/xorg/modules/drivers/intel_drv.la
/usr/local/lib/xorg/modules/drivers/intel_drv.so
/usr/local/lib/xorg/modules/drivers/ivch.la
/usr/local/lib/xorg/modules/drivers/ivch.so
/usr/local/lib/xorg/modules/drivers/sil164.la
/usr/local/lib/xorg/modules/drivers/sil164.so
/usr/local/lib/xorg/modules/drivers/tfp410.la
/usr/local/lib/xorg/modules/drivers/tfp410.so
/usr/local/share/man/man4/intel.4


List of Produced Files


The following is the list of all files created in /usr/local:


/usr/local/bin/X
/usr/local/bin/Xnest
/usr/local/bin/Xorg
/usr/local/bin/Xvfb
/usr/local/bin/cvt
/usr/local/bin/gtf
/usr/local/include/GL/GLwDrawA.h
/usr/local/include/GL/GLwDrawAP.h
/usr/local/include/GL/GLwMDrawA.h
/usr/local/include/GL/GLwMDrawAP.h
/usr/local/include/GL/dmesa.h
/usr/local/include/GL/ggimesa.h
/usr/local/include/GL/gl.h
/usr/local/include/GL/gl_mangle.h
/usr/local/include/GL/glew.h
/usr/local/include/GL/glext.h
/usr/local/include/GL/glfbdev.h
/usr/local/include/GL/glu.h
/usr/local/include/GL/glu_mangle.h
/usr/local/include/GL/glut.h
/usr/local/include/GL/glutf90.h
/usr/local/include/GL/glx.h
/usr/local/include/GL/glx_mangle.h
/usr/local/include/GL/glxew.h
/usr/local/include/GL/glxext.h
/usr/local/include/GL/internal
/usr/local/include/GL/internal/dri_interface.h
/usr/local/include/GL/mesa_wgl.h
/usr/local/include/GL/mglmesa.h
/usr/local/include/GL/osmesa.h
/usr/local/include/GL/svgamesa.h
/usr/local/include/GL/vms_x_fix.h
/usr/local/include/GL/wglew.h
/usr/local/include/GL/wglext.h
/usr/local/include/GL/wmesa.h
/usr/local/include/X11/DECkeysym.h
/usr/local/include/X11/HPkeysym.h
/usr/local/include/X11/Sunkeysym.h
/usr/local/include/X11/X.h
/usr/local/include/X11/XF86keysym.h
/usr/local/include/X11/XWDFile.h
/usr/local/include/X11/Xalloca.h
/usr/local/include/X11/Xarch.h
/usr/local/include/X11/Xatom.h
/usr/local/include/X11/Xdefs.h
/usr/local/include/X11/Xfuncproto.h
/usr/local/include/X11/Xfuncs.h
/usr/local/include/X11/Xmd.h
/usr/local/include/X11/Xos.h
/usr/local/include/X11/Xos_r.h
/usr/local/include/X11/Xosdefs.h
/usr/local/include/X11/Xpoll.h
/usr/local/include/X11/Xproto.h
/usr/local/include/X11/Xprotostr.h
/usr/local/include/X11/Xthreads.h
/usr/local/include/X11/Xtrans
/usr/local/include/X11/Xtrans/Xtrans.c
/usr/local/include/X11/Xtrans/Xtrans.h
/usr/local/include/X11/Xtrans/Xtransint.h
/usr/local/include/X11/Xtrans/Xtranslcl.c
/usr/local/include/X11/Xtrans/Xtranssock.c
/usr/local/include/X11/Xtrans/Xtranstli.c
/usr/local/include/X11/Xtrans/Xtransutil.c
/usr/local/include/X11/Xtrans/transport.c
/usr/local/include/X11/Xw32defs.h
/usr/local/include/X11/Xwindows.h
/usr/local/include/X11/Xwinsock.h
/usr/local/include/X11/ap_keysym.h
/usr/local/include/X11/extensions/MITMisc.h
/usr/local/include/X11/extensions/XEVI.h
/usr/local/include/X11/extensions/XEVIstr.h
/usr/local/include/X11/extensions/XI.h
/usr/local/include/X11/extensions/XInput.h
/usr/local/include/X11/extensions/XIproto.h
/usr/local/include/X11/extensions/XLbx.h
/usr/local/include/X11/extensions/XShm.h
/usr/local/include/X11/extensions/XTest.h
/usr/local/include/X11/extensions/Xag.h
/usr/local/include/X11/extensions/Xagstr.h
/usr/local/include/X11/extensions/Xcup.h
/usr/local/include/X11/extensions/Xcupstr.h
/usr/local/include/X11/extensions/Xdbe.h
/usr/local/include/X11/extensions/Xdbeproto.h
/usr/local/include/X11/extensions/Xext.h
/usr/local/include/X11/extensions/Xge.h
/usr/local/include/X11/extensions/dpms.h
/usr/local/include/X11/extensions/dpmsstr.h
/usr/local/include/X11/extensions/dri2proto.h
/usr/local/include/X11/extensions/dri2tokens.h
/usr/local/include/X11/extensions/extutil.h
/usr/local/include/X11/extensions/ge.h
/usr/local/include/X11/extensions/geproto.h
/usr/local/include/X11/extensions/lbxbuf.h
/usr/local/include/X11/extensions/lbxbufstr.h
/usr/local/include/X11/extensions/lbxdeltastr.h
/usr/local/include/X11/extensions/lbximage.h
/usr/local/include/X11/extensions/lbxopts.h
/usr/local/include/X11/extensions/lbxstr.h
/usr/local/include/X11/extensions/lbxzlib.h
/usr/local/include/X11/extensions/mitmiscstr.h
/usr/local/include/X11/extensions/multibuf.h
/usr/local/include/X11/extensions/multibufst.h
/usr/local/include/X11/extensions/randr.h
/usr/local/include/X11/extensions/randrproto.h
/usr/local/include/X11/extensions/security.h
/usr/local/include/X11/extensions/securstr.h
/usr/local/include/X11/extensions/shape.h
/usr/local/include/X11/extensions/shapestr.h
/usr/local/include/X11/extensions/shmstr.h
/usr/local/include/X11/extensions/sync.h
/usr/local/include/X11/extensions/syncstr.h
/usr/local/include/X11/extensions/xtestext1.h
/usr/local/include/X11/extensions/xteststr.h
/usr/local/include/X11/keysym.h
/usr/local/include/X11/keysymdef.h
/usr/local/include/drm/drm.h
/usr/local/include/drm/drm_mode.h
/usr/local/include/drm/drm_sarea.h
/usr/local/include/drm/i915_drm.h
/usr/local/include/drm/mach64_drm.h
/usr/local/include/drm/mga_drm.h
/usr/local/include/drm/nouveau_drm.h
/usr/local/include/drm/r128_drm.h
/usr/local/include/drm/r300_reg.h
/usr/local/include/drm/radeon_drm.h
/usr/local/include/drm/savage_drm.h
/usr/local/include/drm/sis_drm.h
/usr/local/include/drm/via_3d_reg.h
/usr/local/include/drm/via_drm.h
/usr/local/include/drm/xgi_drm.h
/usr/local/include/intel_bufmgr.h
/usr/local/include/pixman-1/pixman-version.h
/usr/local/include/pixman-1/pixman.h
/usr/local/include/xf86drm.h
/usr/local/include/xf86drmMode.h
/usr/local/include/xorg/BT.h
/usr/local/include/xorg/IBM.h
/usr/local/include/xorg/TI.h
/usr/local/include/xorg/XIstubs.h
/usr/local/include/xorg/bstore.h
/usr/local/include/xorg/bstorestr.h
/usr/local/include/xorg/bt829.h
/usr/local/include/xorg/cfb8_16.h
/usr/local/include/xorg/closestr.h
/usr/local/include/xorg/closure.h
/usr/local/include/xorg/colormap.h
/usr/local/include/xorg/colormapst.h
/usr/local/include/xorg/compiler.h
/usr/local/include/xorg/cursor.h
/usr/local/include/xorg/cursorstr.h
/usr/local/include/xorg/damage.h
/usr/local/include/xorg/damagestr.h
/usr/local/include/xorg/dbestruct.h
/usr/local/include/xorg/dgaproc.h
/usr/local/include/xorg/dix.h
/usr/local/include/xorg/dixaccess.h
/usr/local/include/xorg/dixevents.h
/usr/local/include/xorg/dixfont.h
/usr/local/include/xorg/dixfontstr.h
/usr/local/include/xorg/dixgrabs.h
/usr/local/include/xorg/dixstruct.h
/usr/local/include/xorg/dri.h
/usr/local/include/xorg/dri2.h
/usr/local/include/xorg/dristruct.h
/usr/local/include/xorg/edid.h
/usr/local/include/xorg/exa.h
/usr/local/include/xorg/exevents.h
/usr/local/include/xorg/extension.h
/usr/local/include/xorg/extinit.h
/usr/local/include/xorg/extnsionst.h
/usr/local/include/xorg/fb.h
/usr/local/include/xorg/fbdevhw.h
/usr/local/include/xorg/fboverlay.h
/usr/local/include/xorg/fbrop.h
/usr/local/include/xorg/fi1236.h
/usr/local/include/xorg/fourcc.h
/usr/local/include/xorg/gc.h
/usr/local/include/xorg/gcstruct.h
/usr/local/include/xorg/geext.h
/usr/local/include/xorg/geint.h
/usr/local/include/xorg/globals.h
/usr/local/include/xorg/glyphstr.h
/usr/local/include/xorg/hotplug.h
/usr/local/include/xorg/i2c_def.h
/usr/local/include/xorg/input.h
/usr/local/include/xorg/inputstr.h
/usr/local/include/xorg/mi.h
/usr/local/include/xorg/mibank.h
/usr/local/include/xorg/mibstore.h
/usr/local/include/xorg/micmap.h
/usr/local/include/xorg/micoord.h
/usr/local/include/xorg/mifillarc.h
/usr/local/include/xorg/mifpoly.h
/usr/local/include/xorg/migc.h
/usr/local/include/xorg/miline.h
/usr/local/include/xorg/mipict.h
/usr/local/include/xorg/mipointer.h
/usr/local/include/xorg/mipointrst.h
/usr/local/include/xorg/misc.h
/usr/local/include/xorg/miscstruct.h
/usr/local/include/xorg/mispans.h
/usr/local/include/xorg/mistruct.h
/usr/local/include/xorg/miwideline.h
/usr/local/include/xorg/mizerarc.h
/usr/local/include/xorg/msp3430.h
/usr/local/include/xorg/opaque.h
/usr/local/include/xorg/os.h
/usr/local/include/xorg/picture.h
/usr/local/include/xorg/picturestr.h
/usr/local/include/xorg/pixmap.h
/usr/local/include/xorg/pixmapstr.h
/usr/local/include/xorg/privates.h
/usr/local/include/xorg/property.h
/usr/local/include/xorg/propertyst.h
/usr/local/include/xorg/ptrveloc.h
/usr/local/include/xorg/randrstr.h
/usr/local/include/xorg/region.h
/usr/local/include/xorg/regionstr.h
/usr/local/include/xorg/registry.h
/usr/local/include/xorg/renderedge.h
/usr/local/include/xorg/resource.h
/usr/local/include/xorg/rgb.h
/usr/local/include/xorg/rrtransform.h
/usr/local/include/xorg/sarea.h
/usr/local/include/xorg/screenint.h
/usr/local/include/xorg/scrnintstr.h
/usr/local/include/xorg/selection.h
/usr/local/include/xorg/servermd.h
/usr/local/include/xorg/shadow.h
/usr/local/include/xorg/shadowfb.h
/usr/local/include/xorg/shmint.h
/usr/local/include/xorg/site.h
/usr/local/include/xorg/swaprep.h
/usr/local/include/xorg/swapreq.h
/usr/local/include/xorg/tda8425.h
/usr/local/include/xorg/tda9850.h
/usr/local/include/xorg/tda9885.h
/usr/local/include/xorg/uda1380.h
/usr/local/include/xorg/validate.h
/usr/local/include/xorg/vbe.h
/usr/local/include/xorg/vbeModes.h
/usr/local/include/xorg/vgaHW.h
/usr/local/include/xorg/wfbrename.h
/usr/local/include/xorg/window.h
/usr/local/include/xorg/windowstr.h
/usr/local/include/xorg/xaa.h
/usr/local/include/xorg/xaaWrapper.h
/usr/local/include/xorg/xaalocal.h
/usr/local/include/xorg/xaarop.h
/usr/local/include/xorg/xf86.h
/usr/local/include/xorg/xf86Crtc.h
/usr/local/include/xorg/xf86Cursor.h
/usr/local/include/xorg/xf86DDC.h
/usr/local/include/xorg/xf86Modes.h
/usr/local/include/xorg/xf86Module.h
/usr/local/include/xorg/xf86Opt.h
/usr/local/include/xorg/xf86Optrec.h
/usr/local/include/xorg/xf86Parser.h
/usr/local/include/xorg/xf86Pci.h
/usr/local/include/xorg/xf86PciInfo.h
/usr/local/include/xorg/xf86Priv.h
/usr/local/include/xorg/xf86Privstr.h
/usr/local/include/xorg/xf86RAC.h
/usr/local/include/xorg/xf86RamDac.h
/usr/local/include/xorg/xf86RandR12.h
/usr/local/include/xorg/xf86Rename.h
/usr/local/include/xorg/xf86Resources.h
/usr/local/include/xorg/xf86Xinput.h
/usr/local/include/xorg/xf86_OSlib.h
/usr/local/include/xorg/xf86_OSproc.h
/usr/local/include/xorg/xf86cmap.h
/usr/local/include/xorg/xf86fbman.h
/usr/local/include/xorg/xf86i2c.h
/usr/local/include/xorg/xf86int10.h
/usr/local/include/xorg/xf86sbusBus.h
/usr/local/include/xorg/xf86str.h
/usr/local/include/xorg/xf86xv.h
/usr/local/include/xorg/xf86xvmc.h
/usr/local/include/xorg/xf86xvpriv.h
/usr/local/include/xorg/xisb.h
/usr/local/include/xorg/xkbfile.h
/usr/local/include/xorg/xkbrules.h
/usr/local/include/xorg/xkbsrv.h
/usr/local/include/xorg/xkbstr.h
/usr/local/include/xorg/xorg-server.h
/usr/local/include/xorg/xorgVersion.h
/usr/local/include/xorg/xserver-properties.h
/usr/local/include/xorg/xvdix.h
/usr/local/include/xorg/xvmcext.h
/usr/local/lib/X11/Options
/usr/local/lib/dri/EGL_i915.so
/usr/local/lib/dri/ffb_dri.so
/usr/local/lib/dri/i810_dri.so
/usr/local/lib/dri/i915_dri.so
/usr/local/lib/dri/i965_dri.so
/usr/local/lib/dri/mach64_dri.so
/usr/local/lib/dri/mga_dri.so
/usr/local/lib/dri/r128_dri.so
/usr/local/lib/dri/r200_dri.so
/usr/local/lib/dri/r300_dri.so
/usr/local/lib/dri/r600_dri.so
/usr/local/lib/dri/radeon_dri.so
/usr/local/lib/dri/s3v_dri.so
/usr/local/lib/dri/savage_dri.so
/usr/local/lib/dri/sis_dri.so
/usr/local/lib/dri/swrast_dri.so
/usr/local/lib/dri/tdfx_dri.so
/usr/local/lib/dri/trident_dri.so
/usr/local/lib/dri/unichrome_dri.so
/usr/local/lib/libEGL.so
/usr/local/lib/libEGL.so.1
/usr/local/lib/libEGL.so.1.0
/usr/local/lib/libGL.so
/usr/local/lib/libGL.so.1
/usr/local/lib/libGL.so.1.2
/usr/local/lib/libGLU.so
/usr/local/lib/libGLU.so.1
/usr/local/lib/libGLU.so.1.3.070600
/usr/local/lib/libGLw.so
/usr/local/lib/libGLw.so.1
/usr/local/lib/libGLw.so.1.0.0
/usr/local/lib/libdrm.la
/usr/local/lib/libdrm.so
/usr/local/lib/libdrm.so.2
/usr/local/lib/libdrm.so.2.4.0
/usr/local/lib/libdrm_intel.la
/usr/local/lib/libdrm_intel.so
/usr/local/lib/libdrm_intel.so.1
/usr/local/lib/libdrm_intel.so.1.0.0
/usr/local/lib/libglut.so
/usr/local/lib/libglut.so.3
/usr/local/lib/libglut.so.3.7.1
/usr/local/lib/libpixman-1.a
/usr/local/lib/libpixman-1.la
/usr/local/lib/libpixman-1.so
/usr/local/lib/libpixman-1.so.0
/usr/local/lib/libpixman-1.so.0.16.2
/usr/local/lib/pkgconfig/dri.pc
/usr/local/lib/pkgconfig/dri2proto.pc
/usr/local/lib/pkgconfig/gl.pc
/usr/local/lib/pkgconfig/glu.pc
/usr/local/lib/pkgconfig/glut.pc
/usr/local/lib/pkgconfig/glw.pc
/usr/local/lib/pkgconfig/inputproto.pc
/usr/local/lib/pkgconfig/libdrm.pc
/usr/local/lib/pkgconfig/libdrm_intel.pc
/usr/local/lib/pkgconfig/pixman-1.pc
/usr/local/lib/pkgconfig/randrproto.pc
/usr/local/lib/pkgconfig/xextproto.pc
/usr/local/lib/pkgconfig/xorg-server.pc
/usr/local/lib/pkgconfig/xproto.pc
/usr/local/lib/pkgconfig/xtrans.pc
/usr/local/lib/xorg/modules/drivers/ch7017.la
/usr/local/lib/xorg/modules/drivers/ch7017.so
/usr/local/lib/xorg/modules/drivers/ch7xxx.la
/usr/local/lib/xorg/modules/drivers/ch7xxx.so
/usr/local/lib/xorg/modules/drivers/intel_drv.la
/usr/local/lib/xorg/modules/drivers/intel_drv.so
/usr/local/lib/xorg/modules/drivers/ivch.la
/usr/local/lib/xorg/modules/drivers/ivch.so
/usr/local/lib/xorg/modules/drivers/sil164.la
/usr/local/lib/xorg/modules/drivers/sil164.so
/usr/local/lib/xorg/modules/drivers/tfp410.la
/usr/local/lib/xorg/modules/drivers/tfp410.so
/usr/local/lib/xorg/modules/extensions/libdbe.la
/usr/local/lib/xorg/modules/extensions/libdbe.so
/usr/local/lib/xorg/modules/extensions/libdri.la
/usr/local/lib/xorg/modules/extensions/libdri.so
/usr/local/lib/xorg/modules/extensions/libdri2.la
/usr/local/lib/xorg/modules/extensions/libdri2.so
/usr/local/lib/xorg/modules/extensions/libextmod.la
/usr/local/lib/xorg/modules/extensions/libextmod.so
/usr/local/lib/xorg/modules/extensions/libglx.la
/usr/local/lib/xorg/modules/extensions/libglx.so
/usr/local/lib/xorg/modules/input/kbd_drv.la
/usr/local/lib/xorg/modules/input/kbd_drv.so
/usr/local/lib/xorg/modules/input/mouse_drv.la
/usr/local/lib/xorg/modules/input/mouse_drv.so
/usr/local/lib/xorg/modules/libexa.la
/usr/local/lib/xorg/modules/libexa.so
/usr/local/lib/xorg/modules/libfb.la
/usr/local/lib/xorg/modules/libfb.so
/usr/local/lib/xorg/modules/libint10.la
/usr/local/lib/xorg/modules/libint10.so
/usr/local/lib/xorg/modules/libshadow.la
/usr/local/lib/xorg/modules/libshadow.so
/usr/local/lib/xorg/modules/libshadowfb.la
/usr/local/lib/xorg/modules/libshadowfb.so
/usr/local/lib/xorg/modules/libvbe.la
/usr/local/lib/xorg/modules/libvbe.so
/usr/local/lib/xorg/modules/libvgahw.la
/usr/local/lib/xorg/modules/libvgahw.so
/usr/local/lib/xorg/modules/libwfb.la
/usr/local/lib/xorg/modules/libwfb.so
/usr/local/lib/xorg/modules/libxaa.la
/usr/local/lib/xorg/modules/libxaa.so
/usr/local/lib/xorg/modules/libxf8_16bpp.la
/usr/local/lib/xorg/modules/libxf8_16bpp.so
/usr/local/lib/xorg/modules/linux/libfbdevhw.la
/usr/local/lib/xorg/modules/linux/libfbdevhw.so
/usr/local/lib/xorg/modules/multimedia/bt829_drv.la
/usr/local/lib/xorg/modules/multimedia/bt829_drv.so
/usr/local/lib/xorg/modules/multimedia/fi1236_drv.la
/usr/local/lib/xorg/modules/multimedia/fi1236_drv.so
/usr/local/lib/xorg/modules/multimedia/msp3430_drv.la
/usr/local/lib/xorg/modules/multimedia/msp3430_drv.so
/usr/local/lib/xorg/modules/multimedia/tda8425_drv.la
/usr/local/lib/xorg/modules/multimedia/tda8425_drv.so
/usr/local/lib/xorg/modules/multimedia/tda9850_drv.la
/usr/local/lib/xorg/modules/multimedia/tda9850_drv.so
/usr/local/lib/xorg/modules/multimedia/tda9885_drv.la
/usr/local/lib/xorg/modules/multimedia/tda9885_drv.so
/usr/local/lib/xorg/modules/multimedia/uda1380_drv.la
/usr/local/lib/xorg/modules/multimedia/uda1380_drv.so
/usr/local/lib/xorg/protocol.txt
/usr/local/share/X11/xkb/compat
/usr/local/share/X11/xkb/compat.dir
/usr/local/share/X11/xkb/compiled/README.compiled
/usr/local/share/X11/xkb/geometry
/usr/local/share/X11/xkb/geometry.dir
/usr/local/share/X11/xkb/keycodes
/usr/local/share/X11/xkb/keycodes.dir
/usr/local/share/X11/xkb/keymap
/usr/local/share/X11/xkb/keymap.dir
/usr/local/share/X11/xkb/rules
/usr/local/share/X11/xkb/semantics
/usr/local/share/X11/xkb/semantics.dir
/usr/local/share/X11/xkb/symbols
/usr/local/share/X11/xkb/symbols.dir
/usr/local/share/X11/xkb/types
/usr/local/share/X11/xkb/types.dir
/usr/local/share/aclocal/xorg-server.m4
/usr/local/share/aclocal/xtrans.m4
/usr/local/share/doc/randrproto/randrproto.txt
/usr/local/share/man/man1/Xnest.1
/usr/local/share/man/man1/Xorg.1
/usr/local/share/man/man1/Xserver.1
/usr/local/share/man/man1/Xvfb.1
/usr/local/share/man/man1/cvt.1
/usr/local/share/man/man1/gtf.1
/usr/local/share/man/man4/exa.4
/usr/local/share/man/man4/fbdevhw.4
/usr/local/share/man/man4/intel.4
/usr/local/share/man/man4/kbd.4
/usr/local/share/man/man4/mousedrv.4
/usr/local/share/man/man5/xorg.conf.5


Post Compilation


After compilation, I typed the following command:


ldconfig

You can remove the following packages if you are to use the self-compiled X.org server.


  • libgl1-mesa-dri
  • libglu1-mesa
  • x11proto-core-dev
  • x11proto-input-dev
  • x11proto-xext-dev
  • xserver-xorg-core
  • xtrans-dev

I edited the configuration file of my display manager SLiM so that SLiM will start the new X server at /usr/local/bin/Xorg.

3 comments:

  1. And by the way, I tried running ldconfig too, but the result was all the same, X wouldn't start with the new driver, the screen just blinked a few times and it started with the vesa driver.

    Considering the xorg.conf worked just fine with the old driver which was the same (intel) only an older version, the only things I should change in it is the module name ("intel" instead of "i810" if there is no link named "i810_drv.so") and the "ModulePath" line if the new driver or the new server is located elsewhere.

    Am I right or am I wrong?

    ReplyDelete
  2. Hi Ken,

    First, THANK YOU so much for this post, also for replying, You're my one in a billion chance of solving this.

    Now, I'll take it step by step:

    1.) /etc/X11/default-display-manager says "/usr/bin/kdm"

    2.) Now that I know about kdm and kdmrc, I looked in /etc/kde3/kdm/kdmrc and indeed, I found a line:
    ServerCmd=/usr/bin/X -br
    which I will change to:
    ServerCmd=/usr/local/bin/X -br

    I also have a dir /etc/kde4, but there is no kdm/kdmrc in it since my kde version is 3.5.9

    Now I will recompile the X Server and try to start it. For now I close this post and I'll come back after the test.
    The beauty of it is that my Linux is on aufs and I have lots of space on ramdisk.
    I can test lots of things without damaging anything, a restart will fix everything...

    ReplyDelete
  3. Well, I'm back from the test.
    Short story - I did squat.
    Long story:

    After compiling everything as usual without errors, I shut the X Server down from tty1 with init 2, went into console tty2, open mc and started modifying:

    - /etc/X11/X (link) changed to point to /usr/local/bin/Xorg
    - in /etc/X11/Xserver.xserver-common-backup changed its first line from:
    /usr/bin/X11/XF86_NONE
    to /usr/local/bin/X
    - in /etc/X11/xorg.conf changed the ModulePath option in "Files" section to /usr/local/lib/xorg/modules and the Driver option in "Device" section to "intel"
    - in /etc/kde3/kdm/kdmrc changed line:
    ServerCmd=/usr/bin/X -br
    to:
    ServerCmd=/usr/local/bin/X -br
    - last, but not least, I ran "ldconfig" in a console, I think it is required for the new libs in /usr/local/lib

    After all this, running "init 5" results in the same good old Xserver 1.4.0.90 running with a vesa driver.

    If I try to run directly /usr/local/bin/Xorg -config /etc/X11/xorg.conf, all I get is a black screen and the computer becomes completely nonresponsive, I can't switch to any console to check the X log, all I can do is to push the Reset button.

    I'm getting so tired...
    I think knopper's scripts are messing something up, and I went through the 45Xsession, xsession scripts and some in /etc/init.d and I didn't find anything, so I'm really lost.

    For now...

    ReplyDelete

About This Blog

KBlog logo This blog is about current events and issues concerning general population. Thanks for visiting the blog and posting your comments.

© Contents by KBlog

© Blogger template by Emporium Digital 2008

Followers

Total Pageviews

icon
Powered By Blogger