Being a form of athletics you control with your legs, cross-country skiing can be challenging on your knees. Developing your technique and avoiding tightening or locking up should help reduce knee pain. Maintaining slow and even breathing and not straining will also help.