Development Team/Chroot: Difference between revisions
RafaelOrtiz (talk | contribs) m jhbuild reference |
No edit summary |
||
| Line 36: | Line 36: | ||
Xephyr -ac :1 ''outside chroot'' | Xephyr -ac :1 ''outside chroot'' | ||
::''NB: If you | ::''NB: If you want something more secure, try:'' | ||
DISP=:1 # adjust to suit | |||
COOKIE=$(mcookie) | |||
AUTH=$(mktemp) | |||
echo "add :1 . $COOKIE" | xauth -f "$AUTH" | |||
echo "add these commands to clients:" | |||
echo "export DISPLAY=\"localhost$DISP\"" | |||
echo "export XAUTHORITY=\"$AUTH\"" | |||
Xephyr -auth "$AUTH" -reset -terminate ":$DISP" | |||
And, ''inside'' the chroot: | And, ''inside'' the chroot: | ||
export DISPLAY=localhost:1 | export DISPLAY=localhost:1 | ||
# or use the commands echoed above | |||
=== D-Bus === | === D-Bus === | ||