Help with running BleachBit in Centos 6.6 server



I sucessfully installed python in my KVM CentOS 6.6 server and downloaded and installed BleachBit1.6-1.1. Below you can see the steps I performed. However, when I try to run BleachBit it will not do it and display the error message "RuntimeError: could not open display". Any advice on how to solve this is welcome!



1. Install Python: sudo yum install pygtk2 python-simplejson
2. Install BleachBit:
sudo yum install bleachbit-1.6-1.1.centosCentOS-6.noarch.rpm

root@server [~]# bleachbit
Traceback (most recent call last):
File "/usr/bin/bleachbit", line 37, in
import gtk
File "/usr/lib64/python2.6/site-packages/gtk-2.0/gtk/", line 64, in
File "/usr/lib64/python2.6/site-packages/gtk-2.0/gtk/", line 52, in _init
RuntimeError: could not open display
root@server [~]#

Do you want to use the GUI or the command line interface? If you are not using X and do not wish to use the GUI, pass command line arguments. (See the link for details.)

Andrew, lead developer

Hi Andrew

Many thanks. I would prefer using the GUI, as I am new to BleachBit. Please, which command should I use to open the GUI in this first install? And after this first setup, if I want to call the GUI again, the command is the same?

That is the right command to launch the GUI, but the error indicates there is no X server (GUI environment).

Do other GUI programs (for example, gedit) work?

Andrew, lead developer

Hi Andrew,

I do not have gedit installed in my server. I just installed bleachbit into another server, Python + Bleachbit install went ok, but GUI interface will not open, RuntimeError: could not open display.

I am using Putty as a SFTP client.

Any advice/testing routine is welcome!