fix session cloning for gnome/xfce/lxde