pkgsrc-Users archive

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

Re: Problem using a second pkgsrc unprivileged



On Mon, 26 Oct 2020 22:48:10 +0100
Connor McLaughlan <cont6pro3%gmail.com@localhost> wrote:

> One last step missing is that i can't access the Xserver from within
> the chroot. The error is not talking very much beside:
> localhost$ xclock
> Error: Can't open display: :0.0

That is probably because it doesn't know there is Xserver running
outside chroot. You need to allow TCP connections to Xserver and then
set DISPLAY env variable to a correct value and allow X11 authorization
via mit-magic-cookie. I don't remember the details, but there are
plenty of tutorials out there.


Home | Main Index | Thread Index | Old Index