Form 1041 Multiple states

I prepared Form 1041 for decendent estate who resided in MA, the only income is rental real estate income from CT (Form 1065 K-1) - do I need to file both state income tax returns? File a resident form 2 for MA and a non-resident CT1041 form for CT?  How do I present the income? On both tax returns and somehow get a credit on one state for taxes paid in the other state? 

 

Thanks for the help!