I am not using a local .xsession file. If I try to run it with gnome-session no taskbar appears when I do startx. So I have remove .xsession file and then default desktop comes up