Re: X11 clients in chroot
2011/8/10 Robert Millan <rmh@debian.org>:
> It appears that connect() is failing with ECONNREFUSED:
>
> 33548 xclock CALL socket(PF_LOCAL,SOCK_STREAM,0)
> 33548 xclock RET socket 3
> 33548 xclock CALL fcntl(0x3,<invalid=2>,FD_CLOEXEC)
> 33548 xclock RET fcntl 0
> 33548 xclock CALL connect(0x3,0x7fffffffd8b0,0x6e)
> 33548 xclock STRU struct sockaddr { AF_LOCAL, /tmp/.X11-unix/X0 }
> 33548 xclock NAMI "/tmp/.X11-unix/X0"
> 33548 xclock RET connect -1 errno 61 Connection refused
Turns out nullfs is to blame. I replaced nullfs with a symlink (in
the opposite direction), and now I can finally run X11 clients from
inside the chroot.
--
Robert Millan
Reply to: