AutoKey works fine on Ubuntu 15.04. However on Ubuntu Gnome 15.04 I get the following errors:

Error starting interface. Keyboard monitoring will be disabled.
Check your system/configuration.
Can't connect to display ":1": No protocol specified

Fatal error starting AutoKey.
Service instance has no attribute 'phraseRunner'

Is there something missing that I should install?

  • same problem and no idea :\ – A.B. May 1 '15 at 14:32
  • It works fine on Ubuntu Mate 15.04 too. Very strange. – charliemoss May 1 '15 at 20:51
  • if you don't mind me asking how did you install this it isn't in the ubuntu software center – William Jul 21 '16 at 6:14

It seems to be a strange issue between changes in python-xlib and DBus, but I am unable to find the exact issue. As a temporary workaround, you can disable X server access control with a simple

xhost +

before running AutoKey. Not a secure or ideal solution, but it works. You can add this to your ./profile to make sure it runs before AutoKey starts.

Here are some related bugs that cause the same error, though it seems that they were already fixed a couple years ago:

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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