Subject: Re: pkgviews
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
From: James K. Lowden <jklowden@schemamania.org>
List: tech-pkg
Date: 04/03/2003 21:46:38
On Thu, 3 Apr 2003 11:57:23 +0200 (MEST), Hubert Feyrer
<hubert.feyrer@informatik.fh-regensburg.de> wrote:
> On Thu, 3 Apr 2003, James K. Lowden wrote:
> > because of dependencies (without deinstalling half my workstation). 
> > And I can't run it from inside the chroot because it can't connect to
> > its$DISPLAY.  Hmph.
> 
> outside chroot: xhost +localhost
> in chroot: setenv DISPLAY localhost:0.0

Not for me. :-(  Perhaps something more basic is misconfigured?  

jklowden@lowden$ xhost +localhost
localhost being added to access control list
jklowden@lowden$ sudo chroot /usr/sandbox/ bash
Password:
root@lowden# manedit
_X11TransSocketUNIXConnect: Can't connect: errno = 2
_X11TransSocketUNIXConnect: Can't connect: errno = 2
^C

Gtk-WARNING **: cannot open display: :0.0
root@lowden# echo $DISPLAY
:0.0
root@lowden# export DISPLAY=localhost:0.0
root@lowden# oclock
_IceTransSocketUNIXConnect: Can't connect: errno = 2
_IceTransSocketUNIXConnect: Can't connect: errno = 2
^C
root@lowden# hostname
lowden

Thank you, though, Hubert.

--jkl