exec dbus-launch --exit-with-session gnome-session
注意，以上的文檔是給 startx 指令用的， 如果是用圖型界面登入系統的，它是讀取這個文檔：
ps: .xinitrc is used by console command "startx", for those who login system though GDM, here is one more step: