Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Development Team/Chroot
(view source)
Revision as of 09:54, 22 May 2009
21 bytes removed
,
09:54, 22 May 2009
→X11
Line 34:
Line 34:
We're going to try option (3) first:
We're going to try option (3) first:
−
Xephyr -ac :1
''outside chroot''
+
#
''outside chroot''
−
+
DISP=:1 # adjust to suit
your configuration
−
::''NB: If you want something more secure, try:''
−
−
DISP=:1 # adjust to suit
COOKIE=$(mcookie)
COOKIE=$(mcookie)
AUTH=$(mktemp)
AUTH=$(mktemp)
−
echo "add
:1
. $COOKIE" | xauth -f "$AUTH"
+
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.
−
−
export
DISPLAY
=localhost:1
−
# or use
the
commands echoed above
=== D-Bus ===
=== D-Bus ===
Mstone
76
edits