Line 46: |
Line 46: |
| === X11 === | | === X11 === |
| | | |
− | Most X11 servers are configured to disable TCP connections. This means that in order to get a working X connection we can:
| + | We need to point Sugar at an X server. One easy (but insecure) way to do this is to make a nested X server like so, ''outside the chroot'': |
− | | |
− | # bind-mount the X unix socket into the chroot.
| |
− | # ssh ''into'' the chroot with X11-forwarding enabled.
| |
− | # Enable TCP on an X server, e.g. a nested Xephyr.
| |
− | | |
− | We're going to try option (3) first:
| |
| | | |
| Xephyr -ac :1 | | Xephyr -ac :1 |
| | | |
− | And, ''inside'' the chroot, set the <tt>DISPLAY</tt> to <tt>localhost:1</tt>.
| + | See the talk page for more secure alternatives. |
| | | |
| === D-Bus === | | === D-Bus === |