An unexpected warning while opening C file using gedit after compiling it

An unexpected warning while opening C file using gedit after compiling it

I have made a game with game.c file. After that I have made a Makefile for compiling the game. By writing “make” in Terminal, the game compiles, and I can run the game also. But when I re-open the game.c-file with “gedit game.c” I get a warning :

** (gedit:5242): WARNING **: Couldn’t connect to accessibility bus: Failed to connect to socket /tmp/dbus-32NmbcAsWU: Connection refused

Although my c-file gets opened, I get this warning. How can I fix this warning? :/ 🙁

Thanks

I had this problem for years on my debootstrap-installed Xubuntu machines. It’s probably a missing package, but google doesn’t seem to be helpful this time.

But today I found this thread which contains the helpful hint:

Adding the line

NO_AT_BRIDGE=1

to /etc/environment (or export NO_AT_BRIDGE=1 on console) solved the problem for me.

This is a bug, which is reported and confirmed for Ubuntu (and hence probably derivatives.
https://bugs.launchpad.net/ubuntu/+source/gdk-pixbuf/+bug/1193236

.
.
.
.