{"id":18,"date":"2015-09-01T16:39:53","date_gmt":"2015-09-01T13:39:53","guid":{"rendered":"http:\/\/small-service.com\/?p=18"},"modified":"2015-09-07T14:42:19","modified_gmt":"2015-09-07T11:42:19","slug":"start-program-without-x-server-via-ssh","status":"publish","type":"post","link":"https:\/\/small-service.com\/?p=18","title":{"rendered":"start program with GUI via ssh without X-server"},"content":{"rendered":"<p>There are a lot of methods, few of them are described below:<\/p>\n<ol>\n<li>ssh X-forwarding:\n<ul>\n<li>Please ensure such parameters are enabled in your ssh server:<br \/>\n#Specifies whether TCP forwarding is permitted<br \/>\n<strong><em>AllowTcpForwarding yes<\/em><\/strong><br \/>\n<strong><em>X11Forwarding yes<\/em><\/strong><br \/>\n#Specifies the first display number available for sshd&#8217;s X11 forwarding:<br \/>\n<strong><em>X11DisplayOffset 10 \u00a0<\/em><\/strong><br \/>\n#sshd should bind the X11 forwarding server to the loopback address or to the wildcard address:<br \/>\n<strong><em>X11UseLocalhost yes<\/em><\/strong><\/li>\n<li>Turn on X-forwarding by executing command: <em><strong>ssh -X user@host<\/strong><\/em><\/li>\n<li>If you see any errors whit -X. the remote machine is treated as trusted client.. run: <em><strong>ssh -Y user@host<\/strong><\/em><\/li>\n<\/ul>\n<\/li>\n<li>use <em><strong>-display :0.0<\/strong> <\/em>after name of program name. In this case very comfortable to use screen command.<\/li>\n<li>Export global variable: <em><strong>export DISPLAY=&#8221;:0.0&#8243;<\/strong><\/em><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>There are a lot of methods, few of them are described below: ssh X-forwarding: Please ensure such parameters are enabled in your ssh server: #Specifies whether TCP forwarding is permitted AllowTcpForwarding yes X11Forwarding yes #Specifies the first display number available for sshd&#8217;s X11 forwarding: X11DisplayOffset 10 \u00a0 #sshd should bind the X11 forwarding server to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[14,11,12,13,10],"_links":{"self":[{"href":"https:\/\/small-service.com\/index.php?rest_route=\/wp\/v2\/posts\/18"}],"collection":[{"href":"https:\/\/small-service.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/small-service.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/small-service.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/small-service.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=18"}],"version-history":[{"count":7,"href":"https:\/\/small-service.com\/index.php?rest_route=\/wp\/v2\/posts\/18\/revisions"}],"predecessor-version":[{"id":29,"href":"https:\/\/small-service.com\/index.php?rest_route=\/wp\/v2\/posts\/18\/revisions\/29"}],"wp:attachment":[{"href":"https:\/\/small-service.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/small-service.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/small-service.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}