FreeBSD安裝Mate桌面,使用Slim作爲登錄窗口,發現只有Root能夠正常登錄,而其他用戶均出現"failed to execute login command"。
解決方案:
將~/.xinitrc複製到/home/username/下就可以了。
username就是登錄用戶的名字。
附:我的.xinitrc內容:
root@cheviko:/home/cheviko # vi ~/.xinitrc
#exec ck-launch-session dbus-launch mate-session
exec scim -d &
exec mate-session