Necessary and sufficient conditions (n.a.s.c) are found for a subgroup of the automorphism group of a finite graph to be realizable as the restriction to an invariant spine of some group of homeomorphisms of a compact surface. Also, n.a.s.c. are found for the restricted case when the surface is required to be orientable. The conditions are formulated in terms of the action of stabilizers of vertices on their stars. In both cases, a parametrization of the possible representations is given. Several examples are treated, as well as an application to deciding whether a given finite group of outer automorphisms of a free group is realizable via a surface homeomorphism.