1. Use elbow grease and rub with a nylon scourer. Rinse with water.
2. Soak in white vinegar, maybe over a few days. Rinse well. You can probably use vinegar for the cover glass, but NOT for anything inside the tank.
3. Elbow grease again, using a one-sided razor blade. Rinse well.