{"id":3259,"date":"2024-01-19T08:59:07","date_gmt":"2024-01-19T15:59:07","guid":{"rendered":"https:\/\/in.nau.edu\/arc\/?page_id=3259"},"modified":"2024-08-13T14:44:35","modified_gmt":"2024-08-13T21:44:35","slug":"x11-forwarding-unix","status":"publish","type":"page","link":"https:\/\/in.nau.edu\/arc\/x11-forwarding-unix\/","title":{"rendered":"Setting Up X11 Forwarding (Mac\/Linux)"},"content":{"rendered":"<!-- shortcode-right-column -->\n<div class=\"shortcode-right-column\" >\n    <div class=\"shortcode-right-column__container\"><\/p>\n<p><!-- shortcode-contact -->\n<div class=\"shortcode-contact\">\n    <div class=\"contact-header\">\n        <h3>Contact Advanced Research Computing<\/h3>\n    <\/div>\n    <div class=\"contact-body\">\n                <a href=\"mailto:ask-arc@nau.edu\" aria-label=\"Contact Advanced Research Computing: Email Address\" title=\"Email Address\">\n            <div class=\"contact-icon-container\">\n                <i class=\"fas fa-envelope\" aria-hidden=\"true\"><\/i>\n                <span class=\"sr-only\">Email:<\/span>\n            <\/div>\n            <div class=\"contact-email\">ask-arc&#8203;@nau.edu<\/div>\n        <\/a>\n                    <\/div>\n<\/div>\n\n<\/p>\n<hr \/>\n<h2>Quick Links<\/h2>\n<ul>\n<li><a href=\"https:\/\/in.nau.edu\/arc\/obtaining-an-account\/\">Obtaining a Monsoon Account<\/a><\/li>\n<\/ul>\n<hr \/>\n<p><\/div>\n<\/div>\n\n<h2>Setting Up X11 Forwarding (Mac\/Linux)<\/h2>\n<p>Setting up X11 forwarding on Mac and Linux are very similar. However, setting it up on Mac requires an extra step.<\/p>\n<!-- shortcode-accordion -->\n<div class=\"shortcode-accordion shortcode-accordion--closed\" style=\"position: relative;\" >\n        <a class=\"shortcode-accordion__trigger\" data-header=\"Mac \u2013 Installing an X Server_0\" href=\"#\">\n      <div class=\"shortcode-accordion__header\">\n          <h4>Mac \u2013 Installing an X Server <span class=\"screen-reader-text\">Accordion Closed<\/span><\/h4>\n          <span class=\"shortcode-accordion__header__arrow\"><\/span>\n      <\/div>\n    <\/a>\n    <div class=\"shortcode-accordion__body\">\n        <!DOCTYPE html PUBLIC \"-\/\/W3C\/\/DTD HTML 4.0 Transitional\/\/EN\" \"http:\/\/www.w3.org\/TR\/REC-html40\/loose.dtd\">\n<html><body>\n<h2>Installing an X Server<\/h2>\n<p>On Mac, the installation of an X server requires the use of an external application. We recommend installing and running <a href=\"https:\/\/www.xquartz.org\/\">XQuartz<\/a>.<\/p>\n<h2>Troubleshooting XQuartz<\/h2>\n<p>If you are having a problem getting X11 forwarding working on a Mac, you may need to edit your <span style=\"font-size: 16px; font-family: monospace; border: 1px solid; border-radius: 4px; padding: 0px 4px 0px; border-color: #BBBBBB;\">\/private\/etc\/ssh\/sshd_config<\/span> file and add the following line:<\/p>\n<pre><code>X11Forwarding yes<\/code><\/pre>\n<\/body><\/html>\n\n    <\/div>\n<\/div>\n\n<h2>Connecting to Monsoon with X11 Forwarding<\/h2>\n<p>To connect to Monsoon with X11 forwarding, open a terminal and enter the following command:<\/p>\n<p><code>$ ssh -Y [UID]@monsoon.hpc.nau.edu<\/code><\/p>\n<p><em>Note: If you are a classroom Monsoon user, you <strong>MUST<\/strong> replace <span style=\"font-size: 16px; font-family: monospace; border: 1px solid; border-radius: 4px; padding: 0px 4px 0px; border-color: #BBBBBB;\">monsoon<\/span> with <span style=\"font-size: 16px; font-family: monospace; border: 1px solid; border-radius: 4px; padding: 0px 4px 0px; border-color: #BBBBBB;\">rain<\/span>.<\/em><\/p>\n<p>From here, it will appear to be a regular SSH session because we haven&#8217;t started any graphical applications yet. The simplest way to test if the connection worked is by running the <span style=\"font-size: 16px; font-family: monospace; border: 1px solid; border-radius: 4px; padding: 0px 4px 0px; border-color: #BBBBBB;\">xeyes<\/span> application:<\/p>\n<p><code>$ xeyes<\/code><\/p>\n<p>If the <span style=\"font-size: 16px; font-family: monospace; border: 1px solid; border-radius: 4px; padding: 0px 4px 0px; border-color: #BBBBBB;\">xeyes<\/span> program was able to successfully launch, then you are done setting up X11 forwarding.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Setting Up X11 Forwarding (Mac\/Linux) Setting up X11 forwarding on Mac and Linux are very similar. However, setting it up on Mac requires an extra step. Connecting to Monsoon with X11 Forwarding To connect to Monsoon with X11 forwarding, open a terminal and enter the following command: $ ssh -Y [UID]@monsoon.hpc.nau.edu Note: If you are [&hellip;]<\/p>\n","protected":false},"author":2758,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","ring_central_script_selection":"","footnotes":""},"class_list":["post-3259","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/pages\/3259","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/users\/2758"}],"replies":[{"embeddable":true,"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/comments?post=3259"}],"version-history":[{"count":5,"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/pages\/3259\/revisions"}],"predecessor-version":[{"id":3574,"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/pages\/3259\/revisions\/3574"}],"wp:attachment":[{"href":"https:\/\/in.nau.edu\/arc\/wp-json\/wp\/v2\/media?parent=3259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}