While some homosexuals entering the priesthood may be looking for an enviroment that would suppress their urges and lead to an acceptable life, far more are perhaps attracted by the prospect of living in a socially approved all-male society where no civilian knows much about what goes on behind the rectory doors. Even if one grants most homosexual priests don't become priests to prey on available altar boys, the prospect of a congenial male environment without stigma must surely beckon.
Many reasons
Gay men are tolerated in the priesthood
No need to have a "beard".
Decent money
Power