It comes down to luck, or to cheating — and cheating takes the fun out of it. The odds are somewhere in the region of one shiny among many thousands of encounters, so good hunting.
For what it is worth, my one piece of shiny luck was a Koffing on the very first try in Pokémon Crystal.