Slitaz -- chroot / xephyr

HOST: slitaz-3.0 in HD
CHROOT: slitaz-3.0.iso extract to /home/slitaz/distro
package: xorg-server-Xephyr, packages-3.0.iso

nested X server

Xephyr is an X server that can be run inside another X server, much like Xnest. It is based on the kdrive X server, and as a result it supports newer extensions than Xnest, including render and composite.

root@slitaz:~# Xephyr -pn -ac :1.0 2>/dev/null &

root@slitaz:/# DISPLAY=:1.0 openbox-session 2>/dev/null &

root@slitaz:~# tazpkg info xorg-server-Xephyr

Tazpkg information
Package : xorg-server-Xephyr
Version : 1.5.3
Category : x-window
Short desc : Xephyr server used to creat chrooted X env.
Maintainer : pankso@slitaz.org
Depends : freetype xorg-libXau xorg-libfontenc xorg-libXdmcp xorg-libXfont xorg-libXext xorg-libX11 zlib pixman hal libcrypto xorg-libXv
Wanted src : xorg-server-tinyX
Web site : http://www.x.org/


root@slitaz:/home/slitaz# ls -l
-rwxr-xr-x 1 root root 617 May 25 11:59 chroot_env.sh
-rwxrwxrwx 1 root root 31457280 Apr 15 13:25 slitaz-3.0.iso
lrwxrwxrwx 1 root root 23 May 21 17:18 wok -> /media/packages-3.0/wok
root@slitaz:/home/slitaz# tazlito extract-distro slitaz-3.0.iso

Tazlito extracting : slitaz-3.0.iso

Mounting ISO image...
Copying the Linux kernel... [ OK ]
Copying isolinux files... [ OK ]
Copying GRUB files... [ OK ]
Copying the rootfs... [ OK ]
Extracting the rootfs...
Extracted : slitaz-3.0.iso (30.0M)
Distro tree : /home/slitaz/distro
Rootfs size : 101.1M rootfs
Rootcd size : 29.2M rootcd

root@slitaz:/home/slitaz# ls /home/slitaz/distro
rootcd rootfs
root@slitaz:/home/slitaz# ls /home/slitaz/distro/rootfs
bin etc init media proc sbin tmp var
dev home lib mnt root sys usr
root@slitaz:/home/slitaz# du -sh /home/slitaz/distro/rootfs
101.1M /home/slitaz/distro/rootfs
root@slitaz:/home/slitaz# sh ./chroot_env.sh
Chrooting into /home/slitaz/distro/rootfs...

*** HOST:***
root@slitaz:~# Xephyr -pn -ac :1.0 2>/dev/null &

root@slitaz:/# DISPLAY=:1.0 openbox-session &
/usr/bin/openbox-session: /etc/xdg/openbox/autostart.sh: line 8: ivman: not found
sed: /root/.config/lxpanel/default/panels/panel: No such file or directory