{"id":531,"date":"2011-01-28T00:30:38","date_gmt":"2011-12-15T21:51:50","guid":{"rendered":"http:\/\/kraftek.com\/blog\/sshd419-error-failed-to-allocate-internet-domain-x11-display-socket\/"},"modified":"2011-01-28T00:30:38","modified_gmt":"2011-12-15T21:51:50","slug":"sshd419-error-failed-to-allocate-internet-domain-x11-display-socket","status":"publish","type":"post","link":"\/blog\/index.php\/sshd419-error-failed-to-allocate-internet-domain-x11-display-socket\/","title":{"rendered":"sshd[419]: error: Failed to allocate internet-domain X11 display socket."},"content":{"rendered":"<p>If you cannot get ssh X11 forwarding to work even when you configured your sshd_config properly, and you get the<br \/>\nmessage &#8220;sshd[419]: error: Failed to allocate internet-domain X11 display socket.&#8221; in your console&#8230; you need to disable<br \/>\nopenssh&#8217;s ipv6 mode.<br \/>\nadd this to your sshd_config file:<br \/>\nListenAddress 0.0.0.0<br \/>\nAnd change your init script to pass the &#8220;-4&#8221; option to sshd, as:<br \/>\ncase $1 in<br \/>\n&#8216;start&#8217;)<br \/>\ncreate_key $SSHDIR\/ssh_host_rsa_key rsa<br \/>\ncreate_key $SSHDIR\/ssh_host_dsa_key dsa<br \/>\n\/opt\/acs\/sbin\/sshd -4 &amp;<br \/>\n;;<br \/>\nRestart sshd and you&#8217;ll have X11Forwarding working<br \/>\n86\/433<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you cannot get ssh X11 forwarding to work even when you configured your sshd_config properly, and you get the message &#8220;sshd[419]: error: Failed to allocate internet-domain X11 display socket.&#8221; in your console&#8230; you need to disable openssh&#8217;s ipv6 mode. add this to your sshd_config file: ListenAddress 0.0.0.0 And change your init script to pass [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-531","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/531","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=531"}],"version-history":[{"count":0,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/531\/revisions"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=531"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}