I want to run gmsartcontrol (UI tool for smartctl) which needs to be run as root in order to access the drives and read their SMART status.
However doing this:
sudo gmsartcontrol
I get this error:
No protocol specified
[gtk] cannot open display: :0