首页 > 解决方案 > 生成命令行“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

我的终端有问题吗,因为它尝试生成它但失败了?我真的迷路了。

标签: linuxdbusarch

解决方案


推荐阅读