On CentOS, most of the threads I found insist on the importance of setting properly the environment variable $DISPLAY
.
Noticed that there DISPLAY environment variable was gone in that terminal session.
Opening new terminal session or use different terminal session solves the problem...
export DISPLAY=":1.0"
But on putty, is is harder, as explained in this thread:
All the system-config commands are designed to be ran via X11 (a Linux GUI).
From the error messages its trying to rungtk
commands which means its trying to open a GUI window, which is not going to happen via putty.
I would look for other commands to setup what your trying to do.
Why wouldn't you use meld on Windows directly?
With putty only, you can try this solution, based on X11 forwarding:
That means:
- installing an X11 server on Windows, like XMing,
- don't forget the fonts:
yum install xorg-x11-font*
.