The invention relates to an X-ray system and an according method for operating an X-ray system comprising: a first structure (11, 17), on which an X-ray source and/or an X-ray detector is provided a second structure (14) at least one stepper motor (40), which is configured to move the first structure (11, 17) relative to the second structure (14, 15), the stepper motor (40) comprising a rotor shaft (41) which is coupled with the first structure (11, 17) such that when a user exerts an external force (F) on the first structure (11, 17) an angular position of the rotor shaft (41) is changed in accordance with the exerted external force (F) at least one incremental rotary encoder (50), which is coupled with the rotor shaft (41) of the stepper motor (40) and configured to generate an encoder signal in accordance with the change of the angular position of the rotor shaft (41) and a control unit (60), which is configured to determine, based on the encoder signal, a position deviation signal characterizing a deviation of the angular position of the rotor shaft (41) from a reference angular position of the rotor shaft (41) and to control the stepper motor (40) to rotate the rotor shaft (41) dependent on the position deviation signal such that the stepper motor (40) supports a movement of the first structure (11, 17) relative to the second structure (14) in accordance with the exerted external force (F).Linvention concerne un système à rayons X et un procédé associé permettant de faire fonctionner un système à rayons X comprenant : une première structure (11, 17), sur laquelle est/sont disposé(e)(s) une source de rayons X et/ou un détecteur de rayons X une seconde structure (14) au moins un moteur pas à pas (40), qui est conçu pour déplacer la première structure (11, 17) par rapport à la seconde structure (14, 15), le moteur pas à pas (40) comprenant un arbre de rotor (41) qui est accouplé à la première structure (11, 17) de sorte que, lorsquun utilisateur exerce une force