[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X applications under chroot



On Tue, Oct 04, 2005 at 04:41:48PM -0300, Eduardo Costa Lisboa wrote:
> How can I execute an X application, such as OpenOffice, under chroot?
> 
> When I call it, it tells it can't open the display.
> 
> I already tried to export the display as :0.0 and even as
> localhost:0.0, but none worked (I created a proper /etc/hosts file
> before)
> 
> Any idea?

Make sure you "rbind" mount /tmp and /home into the chroot.

Take care,
  Dale
-- 
Dale E. Martin - dale@the-martins.org
http://the-martins.org/~dmartin



Reply to: