Or try the monitor on another computer.
If another monitor doesn't work, then your graphics card may be shot. Replace it or replace the desktop.
Since it is an older computer, you may want to find another so that you can use the parts you have left over.