Tag: puppet

如何通过远程shell更改Gsettings?

我需要通过Puppet,虚拟终端或ssh自动化桌面配置。 不幸的是,通过ssh或虚拟终端调用gsettings给出: 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 当我使用export DISPLAY=:0.0设置$DISPLAY ,它会给出另一个错误: (process:29862): dconf-WARNING **: failed to commit changes to dconf: Could not connect: Connection refused 我能做什么?