The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 1,394β€…    Votes:  4β€…
Tags: xubuntu   xfce   gedit   windows-subsystem-for-linux  
Link: πŸ” See Original Answer on Ask Ubuntu πŸ”—

URL: https://askubuntu.com/q/978606
Title: Windows Subsystem for Linux gedit error
ID: /2017/11/21/Windows-Subsystem-for-Linux-gedit-error
Created: November 21, 2017
Upload: November 24, 2022    Layout:  post
TOC: false    Navigation:  false    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).

⇧ Windows Subsystem for Linux display Linux distribution? Steam: libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast  β‡©