🔍 See Original Answer on Ask Ubuntu 🔗
Windows Subsystem for Linux gedit error
November 21, 2017
November 24, 2022
Copy to clipboard: false
Similar to this thread on Unix & Linux the error is caused by “accessability warning” which is known as a bug.
The solution is to edit your
~/.bashrc file and put in the following line(s) (the comments (beginning with
#) are optional):
# gedit error: ** (gedit:143): WARNING **: Couldn't connect to accessibility # bus: Failed to connect to socket /tmp/dbus-qyusGiP2Dq: Connection refused # As per: https://unix.stackexchange.com/questions/230238/starting-x-applications-from-the-terminal-and-the-warnings-that-follow # This also speeds up gedit load time export NO_AT_BRIDGE=1
The error message will go away and
gedit will appear to load faster (at least on an Samsung Pro 960 bench-marked at 2.2 GBps on Linux and 3.4 GBps on Windows 10).