It is straightforward to connect to a parent X server on DISPLAY=:0.0 within a "pbuilder login" environment: Outside chroot: mkdir /var/cache/pbuilder/build/XXX/tmp/X11-unix ln -s /tmp/X11-unix/* /var/cache/pbuilder/build/XXX/tmp/X11-unix/ xauth list $DISPLAY and then either this inside chroot: apt-get install xbase-clients (for xauth) xauth add $DISPLAY -see-above- or this outside: xauth -f /var/cache/pbuilder/build/XXX/root/.Xauthority add `xauth list $DISPLAY` It would be convenient if this process were automated, so by eg going "pbuilder login --xclients" one could get a pbuilder chroot shell that can run X clients.
Hmm.. thanks. I think this is another case that calls for "external hooks", so this actually gives me motivation to include the patch for external hooks. Until that support is included, use of X over ssh is one way of doing the similar thing (which works even on user-mode-linux setups) regards, junichi
Really slowly though! (Also you can't fully test things that use X shared memory for speed, like action games and movie players.)
Hi, pbuilder login --bindmounts /tmp/.X11-unix/ will do half of the work now. What's the remaining task ? I have an impression that it should be possible to create a 'pbuilder execute' script. regards, junichi