A state district judge in Montgomery County agreed Friday to allow a convicted sex offender to live on his own in the community, the first time a person held under Texas' civil commitment program has been allowed to live outside of confinement since 2005.