If no odor is coming out the vent...
It doesn't matter where the thru-hull is. The whole thought process behind putting vents away from cockpits was based on the false premise that a holding tank odor is inevitable. However, if odor IS coming out, it doesn't really matter anyway..'cuz if the thru-hull is upwind of the cockpit, it's gonna flow back to the cockpit. I like to position vent thru-hulls forward, so that air is forced down them while underway. As for sealing the vent fitting...my only point is: no sealant will bond to polyethylene...but the inspection port cap isn't poly, so just about any sealant--pvc cement, 5200, etc--will bond to it (just don't use silicone--silicone doesn't seal anything...it just fills space). But if you're more comfortable using a gasket, fine. Just keep in mind that the vent line(s) MUST be straight (and "straight" does NOT mean "straight for 2', then up 3' "...it means a straight shot all the way--NO turns!), should be under 5' long, and should not rise more than 45 degrees. If that's still not clear, e-mail me and I'll send you a picture.