If you are keeping the RV connected via drain hose, be sure to CLOSE both grey and black tank valves!
Otherwise when it gets windy outside the septic/sewer stack vent pipe can create enough reverse air flow (downdraft) to push the septic/sewer gas back into the onboard tanks and out the tank roof vents into your interior space.
I would also second the idea of connecting your roof vents on your RV to a roof vent for your building to the outside.
However, I would not recommend using all rigid pipe, you WILL want some FLEXIBLE pipe to connect to your RV roof vents. This allows for any movements of the RV suspension or any slight movement of the wheels without putting unneeded stress on the RV plumbing.
You also do not want the extra pipe weight to rest on the RV plumbing, that extra weight could possibly break or damage the on board tanks or push the vent pipes down into the tank which would be bad..