You may not be aware of this, but most Linux distributions boot into an X Window environment by default. startx is not much use unless you disable the automatic starting of X Window. How to do this varies by distribution.
Actually, as the OP said he wanted to run XFCE, the relevant command would be startxfce4, not startx - no-one wants to live with TWM.