[buildd-tools-devel] Bug#496246: Still need to create .Xauthority and set $DISPLAY=:0
Thomas Koch
thomas at koch.ro
Wed Apr 27 10:07:19 UTC 2011
Package: schroot
Version: 1.4.21-1+b1
Followup-For: Bug #496246
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi,
I used the following blogpost to get eclipse running in schroot:
http://masterpatricko.blogspot.com/2011/04/development-and-build-environments_20.html
Although I choosed the Desktop chroot type, I still had to run
xauth -f /home/thkoch/.Xauthority extract /var/schroot/gerrit/home/thkoch/.Xauthority :0
in the host system and
export DISPLAY=:0
in the chroot.
It would be nice, if you could provide some examples in the schroot documentation on how these two steps should be automated.
I have commented out the mounting of /home, because I don't want to give the chroot access to my gpg keys and other personal settings.
- -- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages schroot depends on:
ii libboost-filesystem1.46.1 1.46.1-3 filesystem operations (portable pa
ii libboost-program-options1.46. 1.46.1-3 program options library for C++
ii libboost-regex1.46.1 1.46.1-3 regular expression library for C++
ii libboost-system1.46.1 1.46.1-3 Operating system (e.g. diagnostics
ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.6.0-2 GCC support library
ii liblockdev1 1.0.3-1.4 Run-time shared library for lockin
ii libpam0g 1.1.2-2 Pluggable Authentication Modules l
ii libstdc++6 4.6.0-2 The GNU Standard C++ Library v3
ii libuuid1 2.17.2-9.1 Universally Unique ID library
ii schroot-common 1.4.21-1 common files for schroot
schroot recommends no packages.
Versions of packages schroot suggests:
pn aufs-modules | unionfs-module <none> (no description available)
pn btrfs-tools <none> (no description available)
ii debootstrap 1.0.29 Bootstrap a basic Debian system
ii lvm2 2.02.84-3 The Linux Logical Volume Manager
ii unzip 6.0-4 De-archiver for .zip files
- -- Configuration Files:
/etc/schroot/desktop/config changed:
FSTAB="/etc/schroot/desktop/fstab"
COPYFILES="/etc/schroot/desktop/copyfiles"
NSSDATABASES="/etc/schroot/desktop/nssdatabases"
ENVVARS="DISPLAY=:0"
DISPLAY_AUTH=":0"
/etc/schroot/desktop/fstab changed:
/proc /proc none rw,rbind 0 0
/sys /sys none rw,rbind 0 0
/dev /dev none rw,rbind 0 0
/tmp /tmp none rw,bind 0 0
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCAAGBQJNt+rSAAoJEAf8SJEEK6ZaOvgQALkJ1i/Q/HkAU3QK8jo+wVIQ
TSOcEaSI9l6XyB9XahT5aRiLYfeBjhYftFswKEdVzZT9pXLguId0HVeWILxCwWe+
Fs7jwtsKyHJeTYnLNCadTUtf0J/0N9oxIzXI0W2vlcd2YhRxIoVmy+hfAitanfWi
LGdclIT/4IjVIJ3Z8g0SQ2+7isn4XfLgiMsZkVqn2zGU+G3KttLVIufNLbE6i4PJ
JyJNJD/UpxztQuC7nCHu0C+6/UTBoML/L8o1QkLmwLl/x/wtbcsehuH2rYJBIcL+
GaM8cRYAG0Gpp24o3M1iOWoVqM2e4Atf5RSvRBh8N+E/MV+FooXM3q7Ku08M2k2m
5o7udIl5mKzqeObkOTBN2sglTloRdFHLmuOEYB6VLc8j1aKVK0GdMan2kwTmLutp
ayZT3zec6Q27lXh1mweYHTmHXUZlXH8nKHhh+TjwIdvMr9uCpgNPjWk3t+DzZuth
SuDUyJTVd/yi/VlChaKJfmhi7KxegpVoVu1yswUnaxRnz6qZRDjev4W1xGLma5d7
mqHmtb+KNqK1AF2wsjAd9B45H96IqsumzNV8Ro58Tbioy0C2+8hKIbdmetUg81f8
SkiJKXIoZPyS7iXLZDWl2C7qEDDH+dYmSu5L/asA4rA/9mRaEPfwANv0KulCeLL9
wKC97zyNVxvZ1QnJiOy7
=kwJs
-----END PGP SIGNATURE-----
-------------- next part --------------
[gerrit]
type=directory
description=Gerrit
groups=sudo
root-groups=sudo
script-config=desktop/config
directory=/var/schroot/gerrit
More information about the Buildd-tools-devel
mailing list