Re: still probs with display in chroot
A Dimecres 09 Març 2005 16:01, Dr Gavin Seddon va escriure:
> Yes,
> I have done all this but still get the error. However I have noticed
> when I chroot it says 'no shell'
what does it means?
it means that you cannot mount this directories in the chroot?
please could you send your /etc/fstab file and where do you have the chroot?
> On Wed, 2005-03-09 at 15:38 +0100, Leopold Palomo-Avellaneda wrote:
> > Hi Gavin,
> >
> > > Hi,
> > > I have put
> > > '# ia32 chroot
> > > /home /var/chroot/sid-ia32/home none bind 0
> > > 0 /tmp /var/chroot/sid-ia32/tmp none bind 0
> > > 0 proc /var/chroot/sid-ia32/proc proc defaults 0
> > > 0' into my chroot and 'normal' fstab. But they dont't mount in
> > > chroot. The
> >
> > system reminds me that in the chroot env the dir's are not there.
> >
> > so I understand that the mount fails, no?
> >
> >
> > first of all you need to have chroot working completely. I suppose that
> > you have the directories:
> > /var/chroot/sid-ia32/home
> > /var/chroot/sid-ia32/tmp
> > /var/chroot/sid-ia32/proc
> >
> > created, no?
> >
> > Then mount them
> > mount /var/chroot/sid-ia32/home;
> > mount /var/chroot/sid-ia32/tmp
> > mount /var/chroot/sid-ia32/proc
> >
> >
> > then test the chroot:
> >
> > chroot /var/chroot/sid-ia32
> >
> > Test test and tell something
> >
> >
> > Leo
> >
> > A Dimecres 09 Març 2005 15:19, Dr Gavin Seddon va escriure:
> > > Hi,
> > > I understand this prob of mine must be an incorrect chrot setup. But I
> > > followed the distructions. I have the /newroot/etc/fstab setup as
> > > instructed. The error I get is
> > > 'debian1:/# oowriter
> > > Xlib: connection to ":0.0" refused by server
> > > Xlib: No protocol specified
> > >
> > > I18N: Operating system doesn't support locale ""
> > > Xlib: connection to ":0.0" refused by server
> > > Xlib: No protocol specified
> > >
> > > /usr/lib/openoffice/program/soffice.bin X11 error: Can't open
> > > display: :0.0
> > > Set DISPLAY environment variable, use -display option
> > > or check permissions of your X-Server
> > > (See "man X" resp. "man xhost" for details)'. If this stuff is
> > > mounted why do I get this?
> > >
> > > --
> > > Yhanks.
> > > Gavin.
Reply to: