On the use of X-rays to determine dynamical properties of Elliptical galaxies