Place the potatoes in layers in a greased baking dish. Lightly salt each layer and sprinkle with a little Gruyère. After the last layer, pour the truffle pesto cream on the potatoes and sprinkle the surface evenly with the remaining Gruyère.
If the gratin is not layered higher than 4cm (depends on the size of the baking dish used), it is enough to stay in the oven for 50-60 minutes - make a spot check in any case, because some types of potatoes do not behave as expected.
The finished gratin should come out of the oven well browned.