From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1EC7Ma-0001UC-8g for garchives@archives.gentoo.org; Mon, 05 Sep 2005 03:09:41 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j8535G6C005974; Mon, 5 Sep 2005 03:05:16 GMT Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [204.127.198.43]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j8535FNd002761 for ; Mon, 5 Sep 2005 03:05:15 GMT Received: from crud.mn.org (c-24-245-76-195.hsd1.mn.comcast.net[24.245.76.195]) by comcast.net (rwcrmhc12) with SMTP id <2005090503081801400apqrke>; Mon, 5 Sep 2005 03:08:19 +0000 Received: (qmail 16079 invoked by uid 501); 4 Sep 2005 22:08:18 -0500 Date: Sun, 4 Sep 2005 22:08:18 -0500 From: Barry.SCHWARTZ@chemoelectric.org To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] Installing into a 32-bit chroot? Message-ID: <20050905030818.GA16590@crud.crud.mn.org> References: <200509041702.07690.prh@gotadsl.co.uk> <200509050156.j851ucKG029730@mailserv.unb.ca> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline In-Reply-To: <200509050156.j851ucKG029730@mailserv.unb.ca> User-Agent: mutt-ng/devel (Linux) X-Archives-Salt: 50c49790-724e-4dfc-9d59-4ed22152942d X-Archives-Hash: 2cc90f5694ee4de72dbb250f99d82057 --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable David Fellows skribis: > To run gnucash I start an sshd service in the chroot listening on port 2= 232 > ( and leave it running indefinitely). SSHD is configured to do X forwardi= ng. > You do NOT start the X server in the chroot. > In 64 bit I created a /home/me/home32 directory in my 64 bit home directo= ry > /home/me. Then I made /home available to the chroot. > As per the the 32 bit chroot instructions I created a user id for myself = that > matches the 64 bit UID with home directory /home/me/home32. > I also had to set up the ssh keys, known hosts files, etc. >=20 > Then I use the command=20 > ssh -X -p2232 localhost > to connect to the chroot > and execute gnucash. >=20 > I have discovered that not all X clients are happy to talk to an X server= that > is running on a machine with a different word size. This is not chroot= =20 > specific and it affects both 32 bit client to 64 bit server and 64 bit cl= ient=20 > to 32 bit server. My short list, from experience is > gnome xterm - OK=20 > emacs - dies on first mouse click > xeyes - OK > gnucash - spews a steady stream of X errors/warnings, but does its thin= g. > (sometimes you are lucky) > wine - dies on startup IRCC I think those may be problems with ssh's X forwarding. You don't need to use ssh. If you make the tmp directories for the chroot bind-mounts to the outer tmp directories, then X can make Unix domain socket connections. You can run X clients from inside the chroot, then. --=20 Barry.SCHWARTZ@chemoelectric.org http://www.chemoelectric.org Esperantistoj rajtas skribi al Barijo.SXVARCO@chemoelectric.org 'We're going to have a temporary disruption of gasoline product.' -- George W. Bush --6c2NcOVqGQ03X4Wi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDG7aiBNGXDWV0vIMRAqmWAJ9aRWfPzoofD41T3DwJpqytRFSeOwCeI2Ef 9v5PA/N/6S0+rexXS9ph89s= =rclG -----END PGP SIGNATURE----- --6c2NcOVqGQ03X4Wi-- -- gentoo-amd64@gentoo.org mailing list