peace for all :

after the last kernel update "4.9.0" my nvidia driver is broken (always happen), so i tried to reinstalled using debian package ".run" but that was unsuccessful on this kernel "4.9.0" but the same method work fine on kernel "4.0.0" sana without any issue.
what i found is installing the driver nvidia leagacy from repository work but still have a problem

METHOD USED :

1-disable nouveau & reboot
2-stop gdm3/lightdm "i try both of them"
3-killall Xorg & telinit 3
4-install linux-header & linux-image (4.9.0-kali4-686-pae)
5-install nvidia-legacy-304xx-driver (my card is NV44)
6-install nvidia-xconfig & run it to generate xorg.conf i have edit it to correct the resolution (1280x1024)

MY PROBLEM :

after the installation:

after login to the gnome and the gnome-classsic sessions the desktop showing but when u click on any item (terminal or menu) the desktop disappear, no gtk no theme just a black background, and after that the system go back to the login

WHAT I DID :

when i install kali-desktop-xfce or gnome-flash-back to get back my desktop everything work great !!!


so i try to get back gnome session
remove gdm3 and reinstalled
dpkg--reconfigure gdm3 /the same when i use lightdm

apt-get purge gnome
apt-get autoremove
apt-get autoclean
apt-get install kali-desktop-gnome gnome-core gnome-shell




update-alternatives --config x-session-manager
update-alternatives --config x-window-manager

still cant get back my gnome session until i remove the nvidia driver

so i have 2 choices
1-using nvidia driver without gnome
2-using gnome without nvidia

can anyone have an idea
i am suspecting that there is a problem with Xorg and dbus ,gnome-shell
sorry for my english and thank u for reading my long post