As I understand it, you are better pluging the boxes into the same socket. This reduces the size of any ground loop and should, therefore, minimise the hum. The theory relates to star grounding. I've not experienced any issues with ground loops smyself so have been unable to experiment.
If you'd like to read a little more on ground loops and why they occur, take a look at my power amp thread. The last post I wrote for that thread provides an outline of disconnecting networks and makes some statements around ground loops. Find the thread
here.
Solutions? Well, to solve the problem you need to break the loop. There are a few very dangerous ways of doing this, which I wouldn't recommend, which focus on breaking the mains earth. Alternatively, you can look at breaking the loop at the interconnects e.g. take a look at
this. I haven't tried this myself so can't comment on its quality.
You can also get hum introduced via interconnects running parallel to power cables. Again, I've not experienced this but I understand the hum occurs at a different frequency, so can be distinguished from ground loop hum.
Hope this helps or, at least, provides some avenues for further investigation/research.