Device for generating X-rays (X-
ray tube) (40) comprising at least one
cathode chamber (chamber) (41), a filament holder (42) with a filament (43) attached to its front face (42a), wherein the filament holder (42a) is connected to a high-
voltage generator (44) by a high-
voltage cable or originates directly from a high-
voltage generator (44), a fastening device (45) for connecting the filament holder (42) or the generator (44) having a filament holder to the chamber (41), preferably designed for a vacuum-tight connection, wherein the front face (42a) of the filament holder (42) projects into the interior of the
cathode chamber (41) in the connected state, characterized in that the fastening device (45) comprises a clamping and locking device (45) which has at least a quick-release clamping device (45a) and / or at least one clamping device (45a).which is accessible from the side facing away from the chamber (rear side) (44a) of the filament holder (42) or of the generator (44) having the filament holder (42).