{"id":923,"date":"2012-04-02T01:09:02","date_gmt":"2012-04-02T06:09:02","guid":{"rendered":"http:\/\/yourLinuxGuy.com\/?p=923"},"modified":"2012-03-24T08:20:39","modified_gmt":"2012-03-24T13:20:39","slug":"x11forwarding-fails-on-opensuse-12-1-with-ipv6-disabled","status":"publish","type":"post","link":"https:\/\/yourLinuxGuy.com\/?p=923","title":{"rendered":"X11Forwarding Fails on Opensuse 12.1 with IPv6 Disabled"},"content":{"rendered":"<p>I&#8217;m one of those people that still disables IPv6 on all my Linux boxes. And, I guess I&#8217;m being punished for it, since if you disable IPv6 on Opensuse, then <code>X11Forwarding<\/code> will no longer function in its default form.<\/p>\n<p>The good news is that it&#8217;s an easy fix.\u00a0 All you have to do is to force <code>sshd<\/code> to listen purely on IPV4.\u00a0 So, just do the following:<\/p>\n<pre>vi \/etc\/ssh\/sshd_config<\/pre>\n<p>(or <code>gedit \/etc\/ssh\/sshd_config<\/code>, or <code>kedit \/etc\/ssh\/sshd_config<\/code>)<\/p>\n<p>&#8230;and change this block from:<\/p>\n<pre>#Port 22\r\n#AddressFamily any\r\n#ListenAddress 0.0.0.0\r\n#ListenAddress ::<\/pre>\n<p>&#8230;to&#8230;<\/p>\n<pre>Port 22\r\nAddressFamily inet\r\nListenAddress 0.0.0.0\r\n#ListenAddress ::<\/pre>\n<p>With this change, the <code>inet<\/code> statement causes it to use IPv4 only, the <code>0.0.0.0<\/code> means listen on any valid IPv4 address (change to suit), and the <code>Port<\/code> command specifies the IPv4 port, usually changed to taste.<\/p>\n<p>Enjoy!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m one of those people that still disables IPv6 on all my Linux boxes. And, I guess I&#8217;m being punished for it, since if you disable IPv6 on Opensuse, then X11Forwarding will no longer function in its default form. The&#8230;<br \/><a class=\"read-more-button\" href=\"https:\/\/yourLinuxGuy.com\/?p=923\">Read more<\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10,111,75],"tags":[113,151,149,112],"class_list":["post-923","post","type-post","status-publish","format-standard","hentry","category-introductory","category-opensuse12-1","category-ssh","tag-ipv6","tag-opensuse12-1","tag-ssh","tag-x11forwarding"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pnjn1-eT","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=923"}],"version-history":[{"count":1,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/923\/revisions"}],"predecessor-version":[{"id":924,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/923\/revisions\/924"}],"wp:attachment":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}