{"id":128,"date":"2014-10-09T16:32:31","date_gmt":"2014-10-09T16:32:31","guid":{"rendered":"http:\/\/simon.aldrich.eu\/blog\/?p=128"},"modified":"2014-10-09T16:32:31","modified_gmt":"2014-10-09T16:32:31","slug":"dropbox-linux-headless-server","status":"publish","type":"post","link":"https:\/\/simon.aldrich.cc\/blog\/2014\/10\/dropbox-linux-headless-server\/","title":{"rendered":"Dropbox on Ubuntu Server"},"content":{"rendered":"<p>I&#8217;ve been using the <a href=\"https:\/\/www.dropbox.com\/install?os=lnx\" target=\"_blank\">Dropbox Linux client<\/a> on my server for a while now, it&#8217;s very handy for sync&#8217;ing files to &amp; from my various systems.<\/p>\n<p>I recently installed a new server and hit the problem that following the usual instructions:<code><\/code><\/p>\n<p><code><br \/>\ncd ~ &amp;&amp; wget -O - \"https:\/\/www.dropbox.com\/download?plat=lnx.x86_64\" | tar xzf -<br \/>\n~\/.dropbox-dist\/dropboxd<br \/>\n<\/code><\/p>\n<p>resulted in Dropbox not starting.<\/p>\n<p>The problem (according to its crash log) was that it was trying to link against libgtk which I didn&#8217;t have installed on my (headless) Ubuntu Server 14.04 installation.<\/p>\n<p>After a bit of messing around I realized that the problem was that I had enabled ForwardX11 on my PuTTY sessions and so dropboxd thought that I had an X11 session available. When I disabled X11 forwarding the problem went away &amp; dropboxd ran as normal.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been using the Dropbox Linux client on my server for a while now, it&#8217;s very handy for sync&#8217;ing files to &amp; from my various systems. I recently installed a new server and hit the problem that following the usual instructions: cd ~ &amp;&amp; wget -O &#8211; &#8220;https:\/\/www.dropbox.com\/download?plat=lnx.x86_64&#8221; | tar xzf &#8211; ~\/.dropbox-dist\/dropboxd resulted in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_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":""},"categories":[5,28],"tags":[29,33,31,17,30,32],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2Rw4E-24","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/simon.aldrich.cc\/blog\/wp-json\/wp\/v2\/posts\/128"}],"collection":[{"href":"https:\/\/simon.aldrich.cc\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/simon.aldrich.cc\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/simon.aldrich.cc\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/simon.aldrich.cc\/blog\/wp-json\/wp\/v2\/comments?post=128"}],"version-history":[{"count":1,"href":"https:\/\/simon.aldrich.cc\/blog\/wp-json\/wp\/v2\/posts\/128\/revisions"}],"predecessor-version":[{"id":129,"href":"https:\/\/simon.aldrich.cc\/blog\/wp-json\/wp\/v2\/posts\/128\/revisions\/129"}],"wp:attachment":[{"href":"https:\/\/simon.aldrich.cc\/blog\/wp-json\/wp\/v2\/media?parent=128"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/simon.aldrich.cc\/blog\/wp-json\/wp\/v2\/categories?post=128"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/simon.aldrich.cc\/blog\/wp-json\/wp\/v2\/tags?post=128"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}