I found that Hycosan Night ointment stayed on my eyes all night and lubricated them so that the lids didn't feel like sandpaper when I moved my eyeballs to look around me in the morning. It has some lanolin and vaseline in it . Dry eyes are often not exactly dry - in fact they react by watering profusely sometimes - but they have too little of the tiny proportion of oil contained in tears, so the tears don't stay on the eyeball.
It took a while of using a tiny bit of the ointment every night, but I now only use it if my eyes feel gritty. I think perhaps when the eyes are irritated by being a bit dry the ducts which supply the oil get dry and blocked, which cuts down the amount of oil available for lubrication even further. Applying the slightly greasy ointment may be good for the ducts, as well as for surface of the eyes, though that is only a guess.