{"id":126,"date":"2016-09-20T15:39:22","date_gmt":"2016-09-20T19:39:22","guid":{"rendered":"https:\/\/fs.wp.odu.edu\/sobrien\/?p=126"},"modified":"2016-09-20T15:40:23","modified_gmt":"2016-09-20T19:40:23","slug":"remote-x11-application-windows","status":"publish","type":"post","link":"https:\/\/fs.wp.odu.edu\/sobrien\/2016\/09\/20\/remote-x11-application-windows\/","title":{"rendered":"Remote X11 application windows"},"content":{"rendered":"<p>When you are running an application on your local Mac from a remote SSH tunnel (<code>via ssh -X<\/code>), and that application needs to spawn windows programmatically, your local XQuartz server will not be able to draw the windows unless you set &#8220;Allow connections from network\u00a0clients.&#8221;<\/p>\n<p><a href=\"https:\/\/fs.wp.odu.edu\/sobrien\/wp-content\/uploads\/sites\/1816\/2016\/09\/Screen-Shot-2016-09-20-at-3.33.28-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-127\" src=\"https:\/\/fs.wp.odu.edu\/sobrien\/wp-content\/uploads\/sites\/1816\/2016\/09\/Screen-Shot-2016-09-20-at-3.33.28-PM.png\" alt=\"screen-shot-2016-09-20-at-3-33-28-pm\" width=\"487\" height=\"361\" srcset=\"https:\/\/fs.wp.odu.edu\/sobrien\/wp-content\/uploads\/sites\/1816\/2016\/09\/Screen-Shot-2016-09-20-at-3.33.28-PM.png 1192w, https:\/\/fs.wp.odu.edu\/sobrien\/wp-content\/uploads\/sites\/1816\/2016\/09\/Screen-Shot-2016-09-20-at-3.33.28-PM-300x222.png 300w, https:\/\/fs.wp.odu.edu\/sobrien\/wp-content\/uploads\/sites\/1816\/2016\/09\/Screen-Shot-2016-09-20-at-3.33.28-PM-1024x759.png 1024w, https:\/\/fs.wp.odu.edu\/sobrien\/wp-content\/uploads\/sites\/1816\/2016\/09\/Screen-Shot-2016-09-20-at-3.33.28-PM-547x406.png 547w\" sizes=\"(max-width: 487px) 100vw, 487px\" \/><\/a><\/p>\n<p>We ran into this when running MatLab R2013 (or so) via an ssh tunnel from a remote RHEL6 compute server: the MATLAB script spawns windows that are java figures, and the local XQuartz server by default wouldn&#8217;t draw them &#8212; although oddly, they did spawn. With this switch set, it works, as shown:<\/p>\n<p><a href=\"https:\/\/fs.wp.odu.edu\/sobrien\/wp-content\/uploads\/sites\/1816\/2016\/09\/Screen-Shot-2016-09-20-at-3.05.21-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-128\" src=\"https:\/\/fs.wp.odu.edu\/sobrien\/wp-content\/uploads\/sites\/1816\/2016\/09\/Screen-Shot-2016-09-20-at-3.05.21-PM.png\" alt=\"screen-shot-2016-09-20-at-3-05-21-pm\" width=\"604\" height=\"377\" srcset=\"https:\/\/fs.wp.odu.edu\/sobrien\/wp-content\/uploads\/sites\/1816\/2016\/09\/Screen-Shot-2016-09-20-at-3.05.21-PM.png 3584w, https:\/\/fs.wp.odu.edu\/sobrien\/wp-content\/uploads\/sites\/1816\/2016\/09\/Screen-Shot-2016-09-20-at-3.05.21-PM-300x187.png 300w, https:\/\/fs.wp.odu.edu\/sobrien\/wp-content\/uploads\/sites\/1816\/2016\/09\/Screen-Shot-2016-09-20-at-3.05.21-PM-1024x639.png 1024w, https:\/\/fs.wp.odu.edu\/sobrien\/wp-content\/uploads\/sites\/1816\/2016\/09\/Screen-Shot-2016-09-20-at-3.05.21-PM-650x406.png 650w\" sizes=\"(max-width: 604px) 100vw, 604px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you are running an application on your local Mac from a remote SSH tunnel (via ssh -X), and that application needs to spawn windows programmatically, your local XQuartz server will not be able to draw the windows unless you set &#8220;Allow connections from network\u00a0clients.&#8221; We ran into this when running MatLab R2013 (or so) [&hellip;]<\/p>\n","protected":false},"author":3412,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","wds_primary_category":0},"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/fs.wp.odu.edu\/sobrien\/wp-json\/wp\/v2\/posts\/126"}],"collection":[{"href":"https:\/\/fs.wp.odu.edu\/sobrien\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fs.wp.odu.edu\/sobrien\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fs.wp.odu.edu\/sobrien\/wp-json\/wp\/v2\/users\/3412"}],"replies":[{"embeddable":true,"href":"https:\/\/fs.wp.odu.edu\/sobrien\/wp-json\/wp\/v2\/comments?post=126"}],"version-history":[{"count":1,"href":"https:\/\/fs.wp.odu.edu\/sobrien\/wp-json\/wp\/v2\/posts\/126\/revisions"}],"predecessor-version":[{"id":129,"href":"https:\/\/fs.wp.odu.edu\/sobrien\/wp-json\/wp\/v2\/posts\/126\/revisions\/129"}],"wp:attachment":[{"href":"https:\/\/fs.wp.odu.edu\/sobrien\/wp-json\/wp\/v2\/media?parent=126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fs.wp.odu.edu\/sobrien\/wp-json\/wp\/v2\/categories?post=126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fs.wp.odu.edu\/sobrien\/wp-json\/wp\/v2\/tags?post=126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}