SOLVED: ssh login fails to set $DISPLAY

Scott Edwards supadupa at
Thu Nov 17 12:06:35 MST 2011

On Thu, Nov 17, 2011 at 1:55 PM, Charles Curley <
charlescurley at> wrote:

> On Sun, 13 Nov 2011 11:10:18 -0700
> Charles Curley <charlescurley at<>>
> wrote:
> > I have three Debian 6.0.x machines, two virtual. The third, dragon,
> > runs XFCE. I can log into the third machine, but cannot get X to work.
> > $DISPLAY is not set for root or for a regular user.
> Solution: per
> (quoting
> Apparently the problem had to do with SSH trying to use IPV6, which is
> not installed on that machine. The solution, then, is to tell sshd to
> use ipv4 only. In the file, /etc/ssh/sshd_config add the line
> AddressFamily inet
> above the first Port or ListenAddress statement(s). Then restart sshd:
> [snip]

Interesting. I'm curious of a .ssh/config equiv could work around that too.
(or ssh -4). ipconfig on the unsupported box has no ipv6 addresses via
ipconfig? (or "ip a")



More information about the PLUG mailing list