Comment 5 for bug 998742

Revision history for this message
FippiKo (fippi-ko) wrote :

Ok, i created a new user "ubuntu-tweak" and ran with it following command: "sudo ubuntu-tweak -d" (and then tried to clean the old kernels)
as attachment the output of the terminal.
(is this what you need?)

If I run "ubuntu-tweak" without sudo, following happen:

No protocol specified
No protocol specified
Traceback (most recent call last):
  File "/usr/bin/ubuntu-tweak", line 29, in <module>
    from gi.repository import Unique, GObject, Gdk, Gtk
  File "/usr/lib/python2.7/dist-packages/gi/importer.py", line 76, in load_module
    dynamic_module._load()
  File "/usr/lib/python2.7/dist-packages/gi/module.py", line 224, in _load
    overrides_modules = __import__('gi.overrides', fromlist=[self._namespace])
  File "/usr/lib/python2.7/dist-packages/gi/overrides/Gdk.py", line 349, in <module>
    raise RuntimeError("Gdk couldn't be initialized")
RuntimeError: Gdk couldn't be initialized