How to run the X xserver in a chroot environment

Robby Workman rw at rlworkman.net
Thu Jun 11 15:46:41 PDT 2009


On Thu, 11 Jun 2009 22:54:52 +0200
Tino Keitel <tino.keitel+xorg at tikei.de> wrote:

> Hi,
> 
> as the Intel driver is very fragile recently, I want to test it in a
> chroot environment, and keep the stable 2.4 driver in the normal
> system. This implies that I also keep an old version of the X server
> in the normal system. So I installed a chroot system. But HAL can not
> be used in a chroot, and without HAL, I get not input devices in the X
> server.
> 
> Is there a way to solve this? Like using the HAL from the normal
> system inside the chroot, by bind-mounting or hard linking the proper
> dirs/files? I already tried this, but found nothing HAL related. I
> bind-mounted /var/run/dbus inside the chroot, and lshal works. But X
> still shows this error:


I've seen some people try this (all without success), but I've never
tried it myself, as it's not worth the effort (IMHO).  Put the "chroot"
on a separate partition and just boot into it directly.

-RW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20090611/8db68e75/attachment.pgp>


More information about the xorg mailing list