I tried every solution from How to run Dropbox daemon in background? and nothing solves my problem:
Basically, I already installed dropbox on my Ubuntu 12.04LTS headless server. I got init.d setup but the problem is that right now I cannot restart the server (other users are using it actively).
So I am trying to start dropbox via SSH which works and dropbox starts to sync, but as soon as I disconnect from SSH dropbox stops runnning. I tried running it on a detached screen, using
($HOME/.dropbox-dist/dropboxd &)& and they all stop when I log out from SSH.
I tried doing service start but it seems not to work and I don't know why..?
$ sudo service dropbox start [sudo] password: Starting dropbox... $ dropbox status Dropbox isn't running!
I followed the instructions:
sudo chmod +x /etc/init.d/dropbox sudo update-rc.d dropbox defaults
from http://www.dropboxwiki.com/tips-and-tricks/install-dropbox-in-an-entirely-text-based-linux-environment#debianubuntu and I got no error messages. Please help.
I don't care as much about starting the process at server restart, as long as I can launch dropbox via ssh and keep it runnning after i log out.
UPDATE & ANSWER: thanks a lot for all your answers. Thanks to user Nixgrrrl's comment, I realize that it was because I was using ssh -X (the default on my system). As soon as I did normal ssh, trying the humble
dropbox start & worked :)