Spoiler:
hmm..
I get:
[root@kindle root]#
LD_LIBRARY_PATH=../lib:$LD_LIBRARY_PATH Xephyr-5 :1 -title "
L:A_N:application_ID:xephyr_PC:N" -screen 600x800 -cc 4 -dpi 155 &
Quote:
[root@kindle root]# _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/kindle:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
[dix] Could not init font path element /mntususr/share/fonts/X11/misc/, removing from list!
[dix] Could not init font path element /mntususr/share/fonts/X11/TTF/, removing from list!
[dix] Could not init font path element /mntususr/share/fonts/X11/OTF/, removing from list!
|
and then it starts...
I suppose you checked
[root@kindle root]#
ls -ak /mntususr/share/fonts/x11/100dpi/font*
Quote:
/mntususr/share/fonts/x11/100dpi/fonts.alias
/mntususr/share/fonts/x11/100dpi/fonts.dir
|
just to like
triple sure???
EDIT:
from
Xephyr-5 --help
Quote:
-fn string default font name
-fp string default font path
|
so you point it at anything you want...
here's some useful info too I suppose
(I have custom fonts on mine on the root dir as you can see, just go pick something you want to use...)
[root@kindle 100dpi]#
pwd
Quote:
/usr/share/fonts/X11/100dpi
|
[root@kindle 100dpi]#
cat fonts.alias
There are two types of important files: fonts.dir in each of these paths, and fonts.alias in some of the paths. For example, let's go to /usr/share/fonts/X11/100dpi, and open the files. The files look similar to this:
Quote:
[fonts.dir]
366
charB08.pcf.gz -bitstream-charter-bold-r-normal--11-80-100-100-p-69-iso8859-1
charB10.pcf.gz -bitstream-charter-bold-r-normal--14-100-100-100-p-88-iso8859-1
charB12.pcf.gz -bitstream-charter-bold-r-normal--17-120-100-100-p-107-iso8859-1
charB14.pcf.gz -bitstream-charter-bold-r-normal--19-140-100-100-p-119-iso8859-1
charB18.pcf.gz -bitstream-charter-bold-r-normal--25-180-100-100-p-157-iso8859-1
...
|
The first line specifies the number of fonts under current directory. Following lines map
file names to
font names.
Quote:
[fonts.alias]
!! fonts.alias -- automatically generated file. DO NOT EDIT.
!! To modify, see update-fonts-alias(8).
!! /etc/X11/fonts/100dpi/xfonts-100dpi.alias
lucidasans-bolditalic-8 -b&h-lucida-bold-i-normal-sans-11-80-100-100-p-69-iso8859-1
lucidasans-bolditalic-10 -b&h-lucida-bold-i-normal-sans-14-100-100-100-p-90-iso8859-1
lucidasans-bolditalic-12 -b&h-lucida-bold-i-normal-sans-17-120-100-100-p-108-iso8859-1
...
|
This file maps
font alias to
font names. So it is clear that once font 'fixed' is needed, the font server search fonts.alias in each font path for a match. If the match exists, the corresponding font file is specified in fonts.dir. If no match exists the X server cannot start.
Hope this helps.
For your needs this would equate to something like: (random font chosen)
[root@kindle 100dpi]#
LD_LIBRARY_PATH=../lib:$LD_LIBRARY_PATH ./Xephyr-5 :1 -title "L:A_N:application_ID:xephyr_PC:N" -screen 600x800 -cc 4 -dpi 155 -fp /usr/share/fonts/X11/100dpi/ -fn "-bitstream-charter-bold-r-normal--11-80-1
00-100-p-69-iso8859-1"
or with an alias: (other random font)
[root@kindle 100dpi]#
LD_LIBRARY_PATH=../lib:$LD_LIBRARY_PATH Xephyr-5 :1 -title "L:A_N:application_ID:xephyr_PC:N" -screen 600x800 -cc 4 -dpi 155 -fp /usr/share/fonts/X11/100dpi/ -fn "lucidasans-bolditalic-8"