X over SSH not working?

Dan Nicholson dbn.lists at gmail.com
Thu Sep 27 09:21:09 PDT 2007

On 9/27/07, Alan Lord <alanslists at gmail.com> wrote:
> Alexander E. Patrakov wrote:
> > Alan Lord wrote:
> <snip />
> >> However, when I ssh into my new LFS/BLFS server I keep getting the
> >> dreaded "Error: Can't open display:".
> >
> > sshd hard-codes the path to the "xauth" command, and defaults to
> > /usr/X11R6/bin/xauth. Rebuilding it after Xorg should help.
> Alexander, your depth and breadth of knowledge continuously amazes me!
> Thanks very much. That indeed solved the problem. Perhaps this should be
> noted either in the book or in the WiKi?

It'd be nice to just put it in the book in the configure statement.
You can set --with-xauth=/path/to/xauth. However, at that point, you
might not know what the path will be. But that option should at least
be noted in Command Explanations.


More information about the blfs-support mailing list