Hi, guys!
I was looking for a good testing disk software and I found gsmartcontrol… so I installed it. However, when I give the order to open it up, nothing happens. I tried to start it using the terminal, but this is what I got:
Just start it via you start menu, press the Start menu button and type gsmartcontrol
sudo gsmartcontrol reports that in cannot open a display because the DISPLAY environment variable from your bash session is not passed to the sudo root session.
I think you misunderstood marel’s post. It seems you typed gsmartcontrol in the Terminal, but you’re supposed to use the start menu of your DE:
Just start it via you start menu, press the Start menu button and type gsmartcontrol
Did you try that? At terminal output isn’t to be to exepcted in that case. If it didn’t work, you might have a different problem.
Just tried it here (Thanks for the hint, BTW) on 15.2 / KDE. Works nicely. (With sudo I’m getting the same error, of course.) IMHO, it’s a graphical program so why not use the start menue?
What does work here, if you still want to run it from the Terminal as user:
kdesu gsmartcontrol
For GNOME there’s a similar command - I can’t try that.