When I was setting up Deluge to run headless on my linux server the
deluge-web wasn't saving any settings and nothing was working. Turned out to be an easy fix if you know how.
The problem was the that the web-ui wasn't auto connecting to the
deluged backend. This caused the connection manager to always pop up.
Anyhow, assuming your web-ui and deluged are running on the same machine edit the
web.conf file and make sure that
default_daemon is populated.
# /var/lib/deluge/config/web.conf -- your path will likely be different ... "default_daemon": "localhost:58846", ...