"We open on the corridor of a space ship. Space Odyssey this is not, no high tech serenity here. No, the is very much an ordinary, boring corridor. It could even have been a corridor in a TV studio..."
In the case of "Red Dwarf", the genius was in having the ship be an ugly industrial environment in the vein of "Dark Star", "Alien", "Outland" etc. That allowed for sets to be built easily and cheaply. I think some of it was even filmed in a BBC canteen/cafeteria.