SOLVED: ssh login fails to set $DISPLAY
supadupa at gmail.com
Thu Nov 17 12:06:35 MST 2011
On Thu, Nov 17, 2011 at 1:55 PM, Charles Curley <
charlescurley at charlescurley.com> wrote:
> On Sun, 13 Nov 2011 11:10:18 -0700
> Charles Curley <charlescurley at charlescurley.com<https://email@example.com>>
> > 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 http://www.gemberdesign.com/blog/category/Networking
> (quoting http://www.se.cuhk.edu.hk/~hmleung/wordpress/?p=876):
> 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:
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