I've installed Kali Linux from a mini ISO network install on VirtualBox. I then installed xfce and ran
startx on root account.
apt-get install xfce4 apt-get install xfce4-goodies startx
xfce starts perfectly. I logged out from xfce. I then created a new user:
useradd everyone passwd ******* mkdir /home/everyone chown everyone:users /home/everyone
I log in with new user and
exit login: everyone startx
When I run
startx as another user than root, the screen blinks and goes back to the command line again. I tried XDM but when I switched the user, the issue persisted.