Peel the potatoes and the onions. Cut them in very thin slices and dry the potatoes in a cloth. Heat the dripping and put in a layer of potatoes, then onions, then cheese and another layer of potatoes. Season the layers with salt and pepper. Fry gently until nearly cooked through. Turn in the pan to brown the other side, or brown the top under a grill.