{"id":280,"date":"2014-03-17T13:03:33","date_gmt":"2014-03-17T12:03:33","guid":{"rendered":"http:\/\/rostman\/?p=280"},"modified":"2014-03-17T13:03:33","modified_gmt":"2014-03-17T12:03:33","slug":"vnc-os-x-przydalo-sie","status":"publish","type":"post","link":"https:\/\/rostman.eu\/index.php\/2014\/03\/17\/vnc-os-x-przydalo-sie\/","title":{"rendered":"VNC OS X &#8211; przyda\u0142o si\u0119 :)"},"content":{"rendered":"<h3>How to Remotely Turn On (and off) OS X Screen Sharing<\/h3>\n<p>This procedure keeps security in mind.\u00a0 The idea is to turn on screen sharing while you need it, and then turn it off when you\u2019re done.\u00a0 Also, the write-ups of <a href=\"http:\/\/www.techtoolblog.com\/archives\/using-osx-vnc\">Tim Boland<\/a> and <a href=\"http:\/\/www.gigoblog.com\/2008\/04\/08\/set-up-screen-sharing-vnc-via-command-line-on-mac-os-x-remotely-using-ssh\/\">Chris Brewer<\/a> were very helpful in figuring this out.<\/p>\n<p><strong>1)\u00a0 SSH into your remote OS X machine<\/strong> with an administrator\u2019s log in and password.<\/p>\n<p><strong>2) Enable Remote Desktop<\/strong> (a.k.a. Screen Sharing, a.k.a. VNC) with this command:<\/p>\n<h6><code>sudo \/System\/Library\/CoreServices\/RemoteManagement\/ARDAgent.app\/Contents\/<\/code><\/h6>\n<h6><code>Resources\/kickstart -activate <\/code><\/h6>\n<h6><code>-configure -access -on -clientopts -setvnclegacy -vnclegacy<\/code><\/h6>\n<h6><code> yes -clientopts -setvncpw -vncpw mypasswd <\/code><\/h6>\n<h6><code>-restart -agent -privs -all<\/code><\/h6>\n<p><strong>3) Login using a VNC client.<\/strong> As I mentioned, TightVNC worked for me; for some reason, RealVNC and UltraVNC didn\u2019t.\u00a0 Your password is \u201cmypasswd\u201d (see the -vncpw flag in the above command;\u00a0 you can \u2014 and should \u2014 change this).<\/p>\n<p><strong>4) When you are done, turn of screen sharing<\/strong> using your SSH session:<\/p>\n<h6><code>sudo \/System\/Library\/CoreServices\/RemoteManagement\/<\/code><\/h6>\n<h6><code>ARDAgent.app\/Contents\/Resources\/kickstart <\/code><\/h6>\n<h6><code>-deactivate -configure -access -off<\/code><\/h6>\n<p>\u017ar\u00f3d\u0142o:<\/p>\n<p><a href=\"http:\/\/technotes.twosmallcoins.com\/?p=279\">http:\/\/technotes.twosmallcoins.com\/?p=279<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Remotely Turn On (and off) OS X Screen Sharing This procedure keeps security in mind.\u00a0 The idea is to turn on screen sharing while you need it, and then turn it off when you\u2019re done.\u00a0 Also, the write-ups of Tim Boland and Chris Brewer were very helpful in figuring this out. 1)\u00a0 SSH [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[28],"_links":{"self":[{"href":"https:\/\/rostman.eu\/index.php\/wp-json\/wp\/v2\/posts\/280"}],"collection":[{"href":"https:\/\/rostman.eu\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rostman.eu\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rostman.eu\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rostman.eu\/index.php\/wp-json\/wp\/v2\/comments?post=280"}],"version-history":[{"count":0,"href":"https:\/\/rostman.eu\/index.php\/wp-json\/wp\/v2\/posts\/280\/revisions"}],"wp:attachment":[{"href":"https:\/\/rostman.eu\/index.php\/wp-json\/wp\/v2\/media?parent=280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rostman.eu\/index.php\/wp-json\/wp\/v2\/categories?post=280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rostman.eu\/index.php\/wp-json\/wp\/v2\/tags?post=280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}