{"id":565,"date":"2021-10-14T09:05:34","date_gmt":"2021-10-14T13:05:34","guid":{"rendered":"https:\/\/psycomp.utsc.utoronto.ca\/support\/?p=565"},"modified":"2021-10-14T09:06:58","modified_gmt":"2021-10-14T13:06:58","slug":"libgl-error-when-using-ssh-x-forwarding-with-macos","status":"publish","type":"post","link":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/2021\/10\/14\/libgl-error-when-using-ssh-x-forwarding-with-macos\/","title":{"rendered":"libGL error when using SSH and X forwarding with MacOS"},"content":{"rendered":"<p>\r\nIf you use MacOS and &#8220;ssh -X&#8221; or &#8220;ssh -Y&#8221; to access the cluster, and you see the following error messages when start a GUI application on the cluster:\r\n<pre>\r\nlibGL error: No matching fbConfigs or visuals found\r\nlibGL error: failed to load driver: swrast\r\n<\/pre>\r\nRunning the following command after starting a Slurm session may fix the problem:\r\n<pre>\r\nexport LIBGL_ALWAYS_INDIRECT=1\r\n<\/pre>\r\n<\/p>","protected":false},"excerpt":{"rendered":"<p>If you use MacOS and &#8220;ssh -X&#8221; or &#8220;ssh -Y&#8221; to access the cluster, and you see the following error messages when start a GUI application on the cluster: libGL error: No matching fbConfigs or visuals found libGL error: failed &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/2021\/10\/14\/libgl-error-when-using-ssh-x-forwarding-with-macos\/\"> <span class=\"screen-reader-text\">libGL error when using SSH and X forwarding with MacOS<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[3,7],"tags":[],"class_list":["post-565","post","type-post","status-publish","format-standard","hentry","category-clusterinfo","category-linuxshell"],"_links":{"self":[{"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/posts\/565","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/comments?post=565"}],"version-history":[{"count":2,"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/posts\/565\/revisions"}],"predecessor-version":[{"id":567,"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/posts\/565\/revisions\/567"}],"wp:attachment":[{"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/media?parent=565"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/categories?post=565"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/psycomp.utsc.utoronto.ca\/support\/index.php\/wp-json\/wp\/v2\/tags?post=565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}