The white chalky substance sometimes accompanied by some green and also yellow goo are urates.

Snakes don't drink enough water to pass all of their urates in their urine, so they are passed as solids as well as liquid.