当我从 12 升级到 13 时,没有任何问题。去 14.04 得到相同的消息:
Nautilus Restart Required
Run Code Online (Sandbox Code Playgroud)
Dropbox 需要重新启动 Nautilus 才能正常运行。
(带有重启 Nautilus 的按钮)
当我这次点击按钮时,没有任何反应。我可以使用 Dropbox 文档中的命令启动它:
~/.dropbox-dist/dropboxd
Run Code Online (Sandbox Code Playgroud)
就同步 Dropbox 中的文件而言,一切似乎都很好。我可以在此过程中让终端保持开启状态,但它应该自行完成此操作。
我确实在启动时收到消息:
Authentication is needed to run '/usr/bin/dropbox' as the super user
Run Code Online (Sandbox Code Playgroud)
我输入了密码,但似乎没有任何反应。看来我应该做更多的事情了。
谁能帮我解决这个问题?
这些命令将解决您的问题:
sudo rm -rf /var/lib/dropbox/.dropbox-dist
dropbox start -i
Run Code Online (Sandbox Code Playgroud)
The executable file for Dropbox lies in the \xe2\x80\x9c/usr/bin\xe2\x80\x9d folder and it is pointing to the \xe2\x80\x9c/var/lib/dropbox\xe2\x80\x9d folder for its config files. Since the \xe2\x80\x9c/var/lib/dropbox\xe2\x80\x99 folder is in the root directory, it will need superuser permission for Dropbox to be able to access it.
\n\nHowever, that is not the main cause of the problem. The main issue is that your config file should lie in your home folder (~/.dropbox-dist/), and it shouldn\xe2\x80\x99t point to the \xe2\x80\x9c/var/lib/dropbox\xe2\x80\x9d folder.
\n\nOpen a terminal and type:
\n\nwhich dropbox
Open it with a text editor:
\n\nsudo nano /usr/bin/dropbox
Scroll down in the file until you find the lines:
\n\nPARENT_DIR = os.path.expanduser("/var/lib/dropbox")
All we need to do is to change the filepath \xe2\x80\x9c/var/lib/dropbox\xe2\x80\x9d to \xe2\x80\x9c~\xe2\x80\x9d, so it becomes:
\n\nPARENT_DIR = os.path.expanduser("~")\n
Run Code Online (Sandbox Code Playgroud)\n\nThis will direct Dropbox to access your Home folder for the config files.
\n\nRestart Dropbox.
\n\ndropbox start -i
摘自这里: http: //www.maketecheasier.com/fixing-authentication-issue-dropbox-ubuntu/
\n 归档时间: |
|
查看次数: |
4455 次 |
最近记录: |