{"id":92,"date":"2010-09-29T16:41:33","date_gmt":"2010-09-29T23:41:33","guid":{"rendered":"http:\/\/shivdev.com\/blog\/2010\/09\/29\/export-display-on-centos\/"},"modified":"2010-09-29T16:49:11","modified_gmt":"2010-09-29T23:49:11","slug":"export-display-on-centos","status":"publish","type":"post","link":"http:\/\/shivdev.com\/blog\/2010\/09\/29\/export-display-on-centos\/","title":{"rendered":"Export DISPLAY on CentOS"},"content":{"rendered":"<p>One of the pain points with UNIX is that there are several flavors of Linux and several flavors of Shells. Things that work one way on Solaris (CSH) may not work with CentOS (BASH) or Ubuntu (tcsh).\u00a0 After major struggle and after several trials-and-errors, I figured how a simple thing like exporting display can be so painful if you don&#8217;t know how it works.<\/p>\n<p><strong>On the CentOS box where you want to see the DISPLAY<\/strong> (pretty standard)<\/p>\n<blockquote><p>xhost +<\/p><\/blockquote>\n<p><strong>Then simply <em>ssh -X<\/em> to the remote host and you should be all set:<\/strong> (This is the trick)<\/p>\n<blockquote><p>ssh <strong>-X<\/strong> user@remotehost<br \/>\nxclock &amp;<\/p><\/blockquote>\n<p><strong>That&#8217;s it folks!<\/strong> Remember to use the <strong>-X<\/strong> option with SSH.<\/p>\n<p>Don&#8217;t mess with<em> export DISPLAY=SOURCEIP:0.0<\/em>. This will cause you MAJOR GRIEF.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the pain points with UNIX is that there are several flavors of Linux and several flavors of Shells. Things that work one way on Solaris (CSH) may not work with CentOS (BASH) or Ubuntu (tcsh).\u00a0 After major struggle and after several trials-and-errors, I figured how a simple thing like exporting display can be [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[13],"tags":[],"_links":{"self":[{"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/posts\/92"}],"collection":[{"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/comments?post=92"}],"version-history":[{"count":0,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/posts\/92\/revisions"}],"wp:attachment":[{"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/media?parent=92"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/categories?post=92"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/tags?post=92"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}