My screen saver crash both in gnome and kde X windows when open the screen saver.

I guess that some package needed is not installed.

I reinstall the gnome-screen but it still crashs.  How can I check which package is not installed?