Archlinux,startxfce4 在 root 中正常工作,但在其他用户中无法正常工作

Archlinux, startxfce4 working properly in root, but not working properly in other user

我在我的电脑上安装了 arch linux x64。我添加了其他用户。我还把这个新用户添加到普通组中。当我通过 root 输入 startxfce4 时,xfce4 运行s 正确并且可以使用它。但是当我通过 新添加的用户 输入 startxfce4 时,xfce4 也 运行s。但是在后台默认鼠标我可以看到黑屏,看不到光标。面板是可见的。调用 "turn off" 对话框后(我看不到光标,但面板正在工作,我可以看到光标是否在面板的按钮上)光标外观。如果光标悬停在面板上就可以了。但是如果这个光标在背景上,我可以看到大十字光标,就像检查工作中的 xorg-server 一样。当我 运行 su 在执行 startxfce4 之前 xfce4 也无法正常工作。我在安装 xorg-server、xfce4 或添加新用户时忘记了什么?

答案是here. In a nutshell the problem was xfwm4 wasn't running, I forgot do that。我输入 xfconf-query -c xfce4-session -p /sessions/Failsafe/Client0_Command -t string -sa xfwm4 并且有效。