Development Team/Chroot: Difference between revisions
m →X11 |
|||
| Line 34: | Line 34: | ||
We're going to try option (3) first: | We're going to try option (3) first: | ||
# ''outside chroot'' | |||
DISP=:1 # adjust to suit your configuration | |||
DISP=:1 # adjust to suit | |||
COOKIE=$(mcookie) | COOKIE=$(mcookie) | ||
AUTH=$(mktemp) | AUTH=$(mktemp) | ||
echo "add | echo "add $DISP . $COOKIE" | xauth -f "$AUTH" | ||
echo "add these commands to clients:" | echo "add these commands to clients:" | ||
echo "export DISPLAY=\"localhost$DISP\"" | echo "export DISPLAY=\"localhost$DISP\"" | ||
| Line 47: | Line 44: | ||
Xephyr -auth "$AUTH" -reset -terminate "$DISP" && rm "$AUTH" | Xephyr -auth "$AUTH" -reset -terminate "$DISP" && rm "$AUTH" | ||
And, ''inside'' the chroot | And, ''inside'' the chroot, set the <tt>DISPLAY</tt> and <tt>XAUTHORITY</tt> variables as directed by the setup script. | ||
=== D-Bus === | === D-Bus === | ||