linux - 生成命令行“dbus-launch --autolaunch="xyz" --binary-syntax --close-stderr”时出错:子进程以代码1退出
问题描述
我已经多次收到此错误。当我输入时,sudo mousepad
我得到以下输出。
[privileged@arched ~]$ sudo mousepad
(mousepad:981): Mousepad-CRITICAL **: 14:12:48.549: Failed to initialize xfconf: Error spawning command line “dbus-launch --autolaunch=91073612dabc1ec21befa5a96098e9f6 --binary-syntax --close-stderr”: Child process exited with code 1
当我尝试干预 gedit 的首选项时,也可以看到此错误。首先我输入sudo gedit
哪个工作正常并启动 gedit。但是当我尝试更改偏好部分中的任何内容(例如背景颜色或文本大小)时,它不起作用并且在终端中看到以下错误
sudo gedit
(gedit:1104): dconf-WARNING **: 14:17:39.365: failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch=91073612dabc1ec21befa5a96098e9f6 --binary-syntax --close-stderr”: Child process exited with code 1
(gedit:1104): dconf-WARNING **: 14:17:39.373: failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch=91073612dabc1ec21befa5a96098e9f6 --binary-syntax --close-stderr”: Child process exited with code 1
** (gedit:1104): WARNING **: 14:17:39.528: Error loading plugin: libaspell.so.15: cannot open shared object file: No such file or directory
(gedit:1104): dconf-WARNING **: 14:17:45.296: failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch=91073612dabc1ec21befa5a96098e9f6 --binary-syntax --close-stderr”: Child process exited with code 1
这里有一些我认为可能有用的信息
[privileged@arched ~]$ dbus-launch
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-PxRC1o8yHu,guid=fad87b8416da5e19055aef0d6098f385
DBUS_SESSION_BUS_PID=1140
[privileged@arched ~]$ cat /etc/machine-id
91073612dabc1ec21befa5a96098e9f6
我的终端有问题吗,因为它尝试生成它但失败了?我真的迷路了。
解决方案
推荐阅读
- c++ - 我在哪里可以找到 d3dcompiler_43.dll 和相应的 lib 文件?
- javascript - 如何从div中获取变量值
- mustache - 访问 mustache 中的变量
- python - 如何注释可以转换为布尔值的参数?
- java - 带有枚举的 CodecConfigurationException
- bash - 一个接一个地运行期望生成的命令
- java - “weblogic.application.ModuleException:java.lang.ClassNotFoundException:org.dom4j.io.STAXEventReader”
- r - 如何查看不是表格形式的输出的所有行
- java - 带有 Java 的 Android 应用程序 - udp 字符串不发送
- angular6 - 想要在单击编辑按钮时获取 productCode 的值