Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to start the Dropbox syncing client through SSH?

I already have the desktop version of Dropbox installed. However, I am using SSH to connect to the machine and if I restart the computer, Dropbox does not restart unless I log in to the Desktop.

Can I avoid the overhead required to log into the desktop and just start the Dropbox client from the command line?

Running open -a fails with code: LSOpenURLsWithRole() failed for the application /Applications/ with error -10810.

I am aware of the Dropbox CLI, however it just seemed like it was silly to need to install additional software to start the client that is already installed. Perhaps it is the only way.

share|improve this question
have you tried touching some files in the Dropbox folder? – igon Feb 12 '13 at 0:55
I've never used it, but perhaps this will help: – Jerry Seeger Feb 12 '13 at 1:55
So Dropbox is already installed via the regular GUI installer. If I connect to the computer via SSH without logging in through the GUI login window first, the Dropbox client appears to not start. If I add files or touch files in the Dropbox folder, they do not get synced. I would like to avoid installing the CLI if I can, just because the normal Dropbox client is already installed on there, and it is much easier to configure. – user1027169 Feb 12 '13 at 5:24
related: – cregox Jun 17 '14 at 6:41

One thought is the Dropbox CLI

Another - hopefully just so simple you hadn't thought to try it - would be to launch to GUI client from the command line: open -a "". Syncing happens automatically on launch.

share|improve this answer
I gave that a shot and received this error: LSOpenURLsWithRole() failed for the application /Applications/ with error -10810. – user1027169 Feb 12 '13 at 19:49
Frustrating! I can't replicate this error, but some googling suggests that it may be a permissions error. Try running tail -f /var/log/system.log and seeing what errors appear. You should then be able to add execute permissions as appropriate. <…; and <…; – philadams Feb 25 '13 at 18:27
The Dropbox CLI does not appear to support OS X, at least not for me on Mountain Lion... status says daemon is not installed, trying to install yields "Error: Platform not supported" – Michael Sep 16 '13 at 3:51
Launching the GUI over the CLI works just fine for me (on Mavericks). +1. – jona Aug 19 '14 at 19:21
I have the same issue with @user1027169, it just won't start. – Vicary Nov 5 '15 at 7:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .