{"id":9318,"date":"2025-02-16T09:30:00","date_gmt":"2025-02-16T16:30:00","guid":{"rendered":"http:\/\/blog.networkpresence.co\/?p=9318"},"modified":"2025-02-16T00:39:04","modified_gmt":"2025-02-16T07:39:04","slug":"continue-to-get-x11-through-sudo-use","status":"publish","type":"post","link":"http:\/\/blog.networkpresence.co\/?p=9318","title":{"rendered":"Continue to get X11 through sudo use"},"content":{"rendered":"\n<p>Execute the following command to retrieve your display and allow X11 clients to connect back to your X11 display that made the SSH connection into the remote host running the X11 client. eg: firefox<\/p>\n\n\n\n<p>xauth add $(xauth -f ~YOURUSERNAME\/.Xauthority list|tail -1)<\/p>\n\n\n\n<p>Where YOURUSERNAME is the username of your command line or shell or whatever which ran the ssh -X connection to the remote host.<\/p>\n\n\n\n<p>Run the above xauth command after sudo&#8217;ing to root (or other target user).<\/p>\n\n\n\n<p><br>FYI,<br>Richard.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Execute the following command to retrieve your display and allow X11 clients to connect back to your X11 display that made the SSH connection into the remote host running the X11 client. eg: firefox xauth add $(xauth -f ~YOURUSERNAME\/.Xauthority list|tail &hellip; <a href=\"http:\/\/blog.networkpresence.co\/?p=9318\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[70],"tags":[],"class_list":["post-9318","post","type-post","status-publish","format-standard","hentry","category-sales"],"_links":{"self":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/9318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9318"}],"version-history":[{"count":3,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/9318\/revisions"}],"predecessor-version":[{"id":9321,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=\/wp\/v2\/posts\/9318\/revisions\/9321"}],"wp:attachment":[{"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9318"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9318"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.networkpresence.co\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}