We develop an approach to the classification of totally geodesic surfaces in Riemannian symmetric spaces of noncompact type. In this talk, we concentrate on the case of symmetric spaces of type AI, and mention that such surfaces correspond to certain nilpotent matrices. The classification results in the case of rank two and three will be described explicitly.