Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 8189  / 3 Years ago, fri, september 24, 2021, 11:27:34

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



More From » sudo

 Answers
1

For graphical applications use gksu:




gksu gsmartcontrol




If it is not installed on your system you can get it via:




apt-get install gksu



[#21904] Saturday, September 25, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
uquelighted

Total Points: 242
Total Questions: 110
Total Answers: 106

Location: Cyprus
Member since Tue, Sep 22, 2020
4 Years ago
;