Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've installed Project Hamster from source with:

git clone git://
cd hamster-applet
./waf configure build --prefix=/usr
sudo ./waf install

Attempting to run it as myself gives the following output:

~$ hamster-time-tracker                                                                                
Traceback (most recent call last):
  File "/usr/bin/hamster-time-tracker", line 591, in <module>
    from hamster.configuration import runtime, dialogs, conf, load_ui_file
  File "/home/michael-robinson/.local/lib/python2.7/site-packages/hamster/", line 79, in
    runtime = RuntimeStore()
  File "/home/michael-robinson/.local/lib/python2.7/site-packages/hamster/", line 69, in
 __init__ = Storage()
  File "/home/michael-robinson/.local/lib/python2.7/site-packages/hamster/", line 69, in __init
    self.bus = dbus.SessionBus()
  File "/usr/lib/python2.7/dist-packages/dbus/", line 211, in __new__
  File "/usr/lib/python2.7/dist-packages/dbus/", line 100, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/python2.7/dist-packages/dbus/", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbu
s-wLzO4gfRbJ: Connection refused

It runs OK as root:

~$ sudo hamster-time-tracker

How might I be able to modify my Hamster installation so I can run it as a normal user?

share|improve this question
up vote 2 down vote accepted

Are you sure you weren't su'd in, and/or didn't use sudo with any of the other pre-installation commands? Because it works perfectly for me as a normal user when built in the following manner:

izx@ppauvm:~/src$ sudo apt-get build-dep hamster-applet
git clone git://
cd hamster-applet
./waf configure build --prefix=/usr
sudo ./waf install

enter image description here

share|improve this answer
Thanks, I deleted every trace of Hamster from my system and re-tried, I must have done as you suggested at some point. – Michael Robinson Jul 22 '12 at 22:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.