State tax filing

This was my question.

Anyone is familiar with this situation where you are a non-resident of NY and a resident of another state? How do you deal with this case? How and where do I supply TT the correct info to avoid double taxation?