Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 Dropbox.app fails with code: LSOpenURLsWithRole() failed for the application /Applications/Dropbox.app 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: dropboxwiki.com/Using_Dropbox_CLI –  Jerry Seeger Feb 12 '13 at 1:55
1  
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: apple.stackexchange.com/a/102105/1174 –  Cawas Jun 17 at 6:41

1 Answer 1

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 "Dropbox.app". Syncing happens automatically on launch.

share|improve this answer
    
I gave that a shot and received this error: LSOpenURLsWithRole() failed for the application /Applications/Dropbox.app 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 Dropbox.app errors appear. You should then be able to add execute permissions as appropriate. <superuser.com/questions/116127/…; and <getsatisfaction.com/mojang/topics/…; –  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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.