Rootstealer is an example of new attack using X11. This tool is used to detect when linux users open terminal…