Can’t forward X, cannot open display

X Server = CentOS 6.x , disabled IPV6

Client = not relevant

Problem: Tried to forward X (gedit) from CentOS 6 to Mac OSX, but keep geting issues with display not opening:

” (gedit:5985): Gtk-WARNING **: cannot open display :0.0″

Cause: This is a SSHD bug trying to bind to IPv6, not trying IPv4

Solution:  Either put “AddressFamily inet” (instead of “AddressFamily any“) in the /etc/ssh/sshd_conf  and restart or enable IPv6 on host.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: