A suspect who opened fire on Dallas police headquarters early Saturday morning was fatally shot by a sniper.