1 2 3 4 5
# %post modifications to create /etc/sysconfig/desktop for XFCE cat > /etc/sysconfig/desktop <<EOF PREFERRED=/usr/bin/startxfce4 EOF