安装下面这些包可能会解决问题
xhost用于获取显示的权限
WSL(Linux子系统) gedit 报错 failed to commit changes to dconf: Failed to execute child process “dbus-launch” (No such file or directory)
原文:https://www.cnblogs.com/apolloren/p/14332504.html