3
如何通过远程shell更改Gsettings?
我需要通过Puppet,虚拟终端或ssh自动进行桌面配置。 不幸的是,gsettings通过ssh或虚拟终端调用会产生: gsettings set org.compiz.core:/org/compiz/profiles/unity/plugins/core/ hsize "4" (process:29520): dconf-WARNING **: failed to commit changes to dconf: Cannot autolaunch D-Bus without X11 $DISPLAY 当我设置了$DISPLAY与export DISPLAY=:0.0它给另一个错误: (process:29862): dconf-WARNING **: failed to commit changes to dconf: Could not connect: Connection refused 我能做什么?