SliTaz GNU/Linux official and community documentation wiki.
.png

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:scratchbook:x-window-system [2011/04/21 22:44]
domcox copy from old wiki
en:scratchbook:x-window-system [2011/04/23 23:13] (current)
domcox fix: wrong display format for files
Line 44: Line 44:
  
  ​Libraries used by xmlwf:  ​Libraries used by xmlwf:
 +<​file>​
           libexpat.so.1 => /​usr/​lib/​libexpat.so.1 (0x40021000)           libexpat.so.1 => /​usr/​lib/​libexpat.so.1 (0x40021000)
           libc.so.6 => /​lib/​tls/​libc.so.6 (0x40041000)           libc.so.6 => /​lib/​tls/​libc.so.6 (0x40041000)
           /​lib/​ld-linux.so.2 => /​lib/​ld-linux.so.2 (0x40000000)           /​lib/​ld-linux.so.2 => /​lib/​ld-linux.so.2 (0x40000000)
 +</​file>​
 ===== freetype-2.3.1 - System font libraries ===== ===== freetype-2.3.1 - System font libraries =====
  
Line 87: Line 87:
  
 A '​ldd'​ on fc-cache gives the libraries below. You can also use libfreetype of XFree86: A '​ldd'​ on fc-cache gives the libraries below. You can also use libfreetype of XFree86:
 +<​file>​
           libfreetype.so.6 => /​usr/​lib/​libfreetype.so.6 (0xb7f12000)           libfreetype.so.6 => /​usr/​lib/​libfreetype.so.6 (0xb7f12000)
           libz.so.1 => /​usr/​lib/​libz.so.1 (0xb7eff000)           libz.so.1 => /​usr/​lib/​libz.so.1 (0xb7eff000)
Line 94: Line 94:
           libc.so.6 => /​lib/​tls/​libc.so.6 (0xb7d7b000)           libc.so.6 => /​lib/​tls/​libc.so.6 (0xb7d7b000)
           /​lib/​ld-linux.so.2 => /​lib/​ld-linux.so.2 (0xb7f8c000)           /​lib/​ld-linux.so.2 => /​lib/​ld-linux.so.2 (0xb7f8c000)
 +</​file>​
 ===== Xserver - Graphical Xvesa server of Xfree86 ===== ===== Xserver - Graphical Xvesa server of Xfree86 =====
  
Line 112: Line 112:
  
 ==== libs for Xvesa ==== ==== libs for Xvesa ====
 +<​file>​
           libz.so.1 => /​usr/​lib/​libz.so.1 (0xb7ed6000)           libz.so.1 => /​usr/​lib/​libz.so.1 (0xb7ed6000)
           libm.so.6 => /​lib/​tls/​libm.so.6 (0xb7eb1000)           libm.so.6 => /​lib/​tls/​libm.so.6 (0xb7eb1000)
           libc.so.6 => /​lib/​tls/​libc.so.6 (0xb7d7e000)           libc.so.6 => /​lib/​tls/​libc.so.6 (0xb7d7e000)
           /​lib/​ld-linux.so.2 (0xb7ef8000)           /​lib/​ld-linux.so.2 (0xb7ef8000)
 +</​file>​
 ==== rgb.txt - RGB colors in X ==== ==== rgb.txt - RGB colors in X ====
  
Line 125: Line 125:
    # cp /​usr/​share/​X11/​rgb.txt $fs/​usr/​share/​X11    # cp /​usr/​share/​X11/​rgb.txt $fs/​usr/​share/​X11
    # chroot $fs /bin/ash    # chroot $fs /bin/ash
-   /# mkdir -p /​usr/​X11R6/​lib/​X11/​ +   # mkdir -p /​usr/​X11R6/​lib/​X11/​ 
-   /# ln -s /​usr/​share/​X11/​rgb.txt /​usr/​X11R6/​lib/​X11/​rgb.txt +   # ln -s /​usr/​share/​X11/​rgb.txt /​usr/​X11R6/​lib/​X11/​rgb.txt 
-   /# exit+   # exit
  
 ==== Xfnts - Fonts ==== ==== Xfnts - Fonts ====
Line 138: Line 138:
    # mkdir -p $fs/​usr/​share/​fonts/​truetype    # mkdir -p $fs/​usr/​share/​fonts/​truetype
  
-   Copy the fonts... +Copy the fonts... 
-   (# cp -a lib/​X11/​fonts/​* $fs/​usr/​X11R6/​lib/​X11/​fonts) +   # cp -a lib/​X11/​fonts/​* $fs/​usr/​X11R6/​lib/​X11/​fonts) 
-   (# cp -a /​usr/​share/​fonts/​truetype/​* $fs/​usr/​share/​fonts/​truetype+   # cp -a /​usr/​share/​fonts/​truetype/​* $fs/​usr/​share/​fonts/​truetype
  
 Then regenerate the fonts.dir file, you must run mkfontdir on the directory in question: Then regenerate the fonts.dir file, you must run mkfontdir on the directory in question:
Line 186: Line 186:
  
 A ldd on XTerm, we copy (and strip) the missing libraries from the host system: A ldd on XTerm, we copy (and strip) the missing libraries from the host system:
 +<​file>​
       libXft.so.2 => /​usr/​lib/​libXft.so.2 (0xb7f09000)       libXft.so.2 => /​usr/​lib/​libXft.so.2 (0xb7f09000)
       libXrender.so.1 => /​usr/​lib/​libXrender.so.1 (0xb7f00000)       libXrender.so.1 => /​usr/​lib/​libXrender.so.1 (0xb7f00000)
Line 206: Line 206:
       libdl.so.2 => /​lib/​libdl.so.2 (0xb7aff000)       libdl.so.2 => /​lib/​libdl.so.2 (0xb7aff000)
       libXpm.so.4 => /​usr/​lib/​libXpm.so.4 (0xb7aee000)       libXpm.so.4 => /​usr/​lib/​libXpm.so.4 (0xb7aee000)
 +</​file>​
 ===== libpng-1.2.18 - PNG Libraries ==== ===== libpng-1.2.18 - PNG Libraries ====
  
Line 241: Line 241:
  
 Ldd libraries that we have provided: Ldd libraries that we have provided:
 +<​file>​
       libX11.so.6 => /​usr/​lib/​libX11.so.6 (0xb7e35000)       libX11.so.6 => /​usr/​lib/​libX11.so.6 (0xb7e35000)
       libpng12.so.0 => /​usr/​lib/​libpng12.so.0 (0xb7e12000)       libpng12.so.0 => /​usr/​lib/​libpng12.so.0 (0xb7e12000)
Line 257: Line 257:
       libm.so.6 => /​lib/​libm.so.6 (0xb7bea000)       libm.so.6 => /​lib/​libm.so.6 (0xb7bea000)
       libexpat.so.1 => /​usr/​lib/​libexpat.so.1 (0xb7bc9000)       libexpat.so.1 => /​usr/​lib/​libexpat.so.1 (0xb7bc9000)
 +</​file>​
 You can start the X server and JWM with the command below or create a script in /​usr/​bin/​startx with the content: You can start the X server and JWM with the command below or create a script in /​usr/​bin/​startx with the content:
 +<​file> ​  
   Xvesa -ac -shadow -screen 1024x768x24 & exec jwm   Xvesa -ac -shadow -screen 1024x768x24 & exec jwm
 +</​file>​
 ==== On SliTaz ==== ==== On SliTaz ====
  
Line 318: Line 318:
  
 ==== libs ==== ==== libs ====
 +<​file>​
       libtiff.so.3 => /​usr/​lib/​libtiff.so.3       libtiff.so.3 => /​usr/​lib/​libtiff.so.3
       libjpeg.so.62 => /​usr/​lib/​libjpeg.so.62 (0xb7ede000)       libjpeg.so.62 => /​usr/​lib/​libjpeg.so.62 (0xb7ede000)
Line 331: Line 331:
       libXdmcp.so.6 => /​usr/​lib/​libXdmcp.so.6 (0xb7c36000)       libXdmcp.so.6 => /​usr/​lib/​libXdmcp.so.6 (0xb7c36000)
       /​lib/​ld-linux.so.2 (0xb7f5d000)       /​lib/​ld-linux.so.2 (0xb7f5d000)
 +</​file>​
 ===== Generate the initramfs and an ISO image ===== ===== Generate the initramfs and an ISO image =====
  
 
en/scratchbook/x-window-system.1303418696.txt.gz · Last modified: 2011/04/21 22:44 by domcox