Do you try to recompile Xorg without HAL support (Xfce core elements
don't need it).
For shutdown (and reboot), Xfce needs to configure polkit. You must
create .pkla file in
/usr/local/etc/polkit-1/localauthority/50-local.d/ (see
x11-wm/xfce4-session/files/pkg-message.in).
For shutdown and reboot
I have done some additional testing.
1. I recompiled all installed XFCE ports.
2. I nuked
~/.config/xfce*
~/.cache/sessions/
3. Then I tested as below:
a) $ startx
I did not do anything, just Log Out from XFCE (orginal
/unconfigured desktop).
$ cat .startx.log
xauth: file /home/jb/.server