![生成命令行“dbus-launch --autolaunch=“xyz”--binary-syntax --close-stderr”时出错:子进程退出,代码为 1](https://linux22.com/image/190958/%E7%94%9F%E6%88%90%E5%91%BD%E4%BB%A4%E8%A1%8C%E2%80%9Cdbus-launch%20--autolaunch%3D%E2%80%9Cxyz%E2%80%9D--binary-syntax%20--close-stderr%E2%80%9D%E6%97%B6%E5%87%BA%E9%94%99%EF%BC%9A%E5%AD%90%E8%BF%9B%E7%A8%8B%E9%80%80%E5%87%BA%EF%BC%8C%E4%BB%A3%E7%A0%81%E4%B8%BA%201.png)
我多次收到此错误。当我输入时,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
Which Works Fine 并启动 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
是我的终端有问题吗,因为它尝试生成它但失败了?我真的迷失在这里了。