{"id":651,"date":"2013-06-08T03:50:11","date_gmt":"2013-06-08T03:50:11","guid":{"rendered":"http:\/\/shivdev.com\/blog\/?p=651"},"modified":"2013-06-08T03:52:35","modified_gmt":"2013-06-08T03:52:35","slug":"export-display-on-rhel-red-hat-enterprise-linux","status":"publish","type":"post","link":"http:\/\/shivdev.com\/blog\/2013\/06\/08\/export-display-on-rhel-red-hat-enterprise-linux\/","title":{"rendered":"Export DISPLAY on RHEL Red Hat Enterprise Linux"},"content":{"rendered":"<p><strong>On the source machine <\/strong><\/p>\n<blockquote><p>\n[user@sourcemachine ~] <strong>echo $DISPLAY<\/strong><br \/>\n:1011.0<br \/>\n[user@sourcemachine ~] <strong>xhost +<\/strong>\n<\/p><\/blockquote>\n<p><strong>On the remote machine<\/strong><\/p>\n<blockquote><p>\n[user@sourcemachine ~] <strong>ssh user@remotemachine<\/strong><br \/>\n[user@remotemachine ~] <strong>export DISPLAY=sourcemachine:1011.0<\/strong><br \/>\n[user@remotemachine ~] <strong>\/usr\/bin\/firefox &#038;<\/strong>\n<\/p><\/blockquote>\n<p>OR<\/p>\n<blockquote><p>\n[user@sourcemachine ~] <strong>ssh <em>-X<\/em> user@remotemachine<\/strong><br \/>\n[user@remotemachine ~] <strong>\/usr\/bin\/firefox &#038;<\/strong>\n<\/p><\/blockquote>\n<p>With the ssh -X option, you don&#8217;t need to worry about DISPLAY, but some applications might not work.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On the source machine [user@sourcemachine ~] echo $DISPLAY :1011.0 [user@sourcemachine ~] xhost + On the remote machine [user@sourcemachine ~] ssh user@remotemachine [user@remotemachine ~] export DISPLAY=sourcemachine:1011.0 [user@remotemachine ~] \/usr\/bin\/firefox &#038; OR [user@sourcemachine ~] ssh -X user@remotemachine [user@remotemachine ~] \/usr\/bin\/firefox &#038; With the ssh -X option, you don&#8217;t need to worry about DISPLAY, but some applications might [&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\/651"}],"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=651"}],"version-history":[{"count":3,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/posts\/651\/revisions"}],"predecessor-version":[{"id":654,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/posts\/651\/revisions\/654"}],"wp:attachment":[{"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/media?parent=651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/categories?post=651"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/shivdev.com\/blog\/wp-json\/wp\/v2\/tags?post=651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}