" Breaking Bad " creator Vince Gilligan cast Bryan Cranston for the role of Walter White based on having worked with him in an episode of what previous television series ?
After seeing Cranston in the " X - Files " episode , the executives were convinced to cast him .