opensuse sshd Server X11 Forwarding fails with “Failed to allocate internet-domain X11 display socket”

What I want to achieve: Open an ssh connection (from Ubuntu client) to ssh daemon on opensuse 12.2 with X11 forwarding. Command line is
ssh -X host
It fails with sshd[6024]: error: Failed to allocate internet-domain X11 display socket. in /var/log/messages.

Solution was the entry
AddressFamily inet
in host’s /etc/ssh/sshd_config (don’t forget to restart service)

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s