{"id":708,"date":"2012-10-10T16:01:33","date_gmt":"2012-10-10T14:01:33","guid":{"rendered":"http:\/\/locallost.net\/?p=708"},"modified":"2012-10-10T16:05:54","modified_gmt":"2012-10-10T14:05:54","slug":"remotely-open-a-session-on-a-ubuntu-desktop-from-mac-os-x","status":"publish","type":"post","link":"https:\/\/locallost.net\/?p=708","title":{"rendered":"Remotely open a session on a Ubuntu desktop from Mac OS X"},"content":{"rendered":"<p>You have an idle Ubuntu desktop machine running somewhere in your office, and you want to open-up an X session to run some Linux specific software, but you don&rsquo;t want to physically be in front of the machine?<\/p>\n<p><!--more--><\/p>\n<p>Configure the Ubuntu desktop to accept XDMCP clients :<\/p>\n<pre># vi \/etc\/gdm\/custom.conf\r\n...\r\n[security]\r\nDisallowTCP=false\r\n...\r\n[xdmcp]\r\nEnable=true\r\n...<\/pre>\n<p>Restart GDM :<\/p>\n<pre># service gdm restart<\/pre>\n<p>Now, from your Mac OS X desktop, run Xnest :<\/p>\n<pre>$ Xnest -geometry 1280x1024 -query ubuntu-desktop.example.net<\/pre>\n<p>That will display the GUI login screen from the Ubuntu desktop, and allow you to sign-in with a user, as if you where in front of the machine.<\/p>\n<p>Hint: sound will be played on the remote Ubuntu machine, so you might wan&rsquo;t to mute the volume in your X session before running something that might blast music at full volume in the remote room \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You have an idle Ubuntu desktop machine running somewhere in your office, and you want to open-up an X session to run some Linux specific software, but you don&rsquo;t want to physically be in front of the machine?<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[18,17],"tags":[],"class_list":["post-708","post","type-post","status-publish","format-standard","hentry","category-network","category-system"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2Bei9-bq","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/locallost.net\/index.php?rest_route=\/wp\/v2\/posts\/708","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/locallost.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/locallost.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/locallost.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/locallost.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=708"}],"version-history":[{"count":8,"href":"https:\/\/locallost.net\/index.php?rest_route=\/wp\/v2\/posts\/708\/revisions"}],"predecessor-version":[{"id":1031,"href":"https:\/\/locallost.net\/index.php?rest_route=\/wp\/v2\/posts\/708\/revisions\/1031"}],"wp:attachment":[{"href":"https:\/\/locallost.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/locallost.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/locallost.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}