Changes

Jump to navigation Jump to search
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 ===
76

edits

Navigation menu