I think your silicon diode should make a fine x-ray detector. A few questions.
Is the diode in a light tight package. If not the visible photon flux will mask the x-ray output.
Is the window in front of the detector low Z so that the x-rays can penetrate it?
what is your source of x-rays. An...