Continue a sincronizar com o Dropbox após efetuar logout

3

Eu uso o Dropbox no Debian. Gostaria de continuar sincronizando a pasta do Dropbox depois de sair.

Existe uma maneira de executar o daemon em segundo plano na inicialização? Existem outras maneiras de resolver isso?

    
por Magnetic_dud 12.04.2012 / 11:26

2 respostas

3

Isso deve funcionar:

nohup ~/.dropbox-dist/dropbox

nohup garante que o processo não seja cancelado quando você sair.

    
por 07.06.2012 / 02:31
-1

Dê uma olhada aqui:

link

um usuário mencionado:

Just thought I'd mention:

(a) the latest distributions seem to make this fairly straightfoward, just run "dropbox start" from the command line, BUT (b) watch out for logging in and out with X11 forwarded.

I've set up a lot of bash aliases for connecting to various machines, and they all include the "-X" option to forward X11 packets. Because of this, dropbox kept dying on my on logout, even running it under 'screen' and with nohup. Apparently, having X11 forwarded was causing dropbox to connect the dbus process on my local machine rather than on the remote machine; so, when I broke the connection, dropbox was seeing dbus as having terminated and thus was terminating itself. Just FYI, as this stumped me for a bit. The key was that I was having to press Ctrl-C even after logging out / running 'exit' on the remote machine. Apparently, ssh was keeping the session open, even though I had exited bash, because of the remaining open connection.

E outro usuário comentou:

The solution is simple even if one (for some reason) wants to keep ssh-ing with the '-X': before launching dropbox you should "break" the forwarding for example doing:

unset DISPLAY

if this is done in a stupid bash script the forwarding is "broken" just inside the script but once this is executed the 'terminal' is still forwarding.

    
por 07.08.2016 / 09:40