Boil the potatoes until tender and drain.
Mash, leaving some lumps.
While potatoes are cooking, melt the butter in a saute pan and add the chopped onion. Add the shredded cabbage and saute until tender and translucent. Add the cream cheese, salt and pepper and stir until cream cheese melts.
Layer 1/3 of the potatoes in the bottom of a 13x9 inch baking dish, next top with 1/2 of the cabbage mixture. Repeat with another 1/3 of the potatoes. Layer with the remaining cabbage mixture. Finish with the remaining 1/3 of the potatoes. Sprinkle top with paprika.
Bake in a 350 degree oven for 45 minutes to 1 hour.