There's David Gerrold's Star Wolf series, which has at least a couple of gay crewmembers (in fact, this is a rewrite of a Star Trek TNG story he submitted that had a couple of gay crewmewmbers. This submission got him banned from the Star Trek franchise by the then-current showrunners)
There's Ethan of Athos, a book set in the Vorkosigan universe, where an entire planet of men exists because when the stand-alone womb was invented they discarded the idea of having women around.
The assassin in Caprica; he's married to a man.
Inara on Firefly was bisexual.
Susan Ivanova, second in command on Babylon 5, was a lesbian.