Xorg-1.13.0 Display hangs when keyboard or mouse is in use

I have a machine that I just upgraded from Centos 6.4 to Centos 6.5. Prior to the upgrade, it would stau up for weeks. Since the upgrade, the Xdisplay locks at random times when in use. If no one is using the machine it will stay up for several days. When the display locks I can still ssh into it. I have run startx – -logverbose6 and generated a nvidia bug report after the display locks up which I will attach. Please advise what other information you need to troubleshoot this problem.



Edit 1

I think I figured out the problem. When Xorg got updated during the upgrade from C6.4 to C6.5 the symlinks to the glx module got overwritten. Adding the following to /etc/X11/xorg.conf appears to have fixed the problem:

Section “Files”
ModulePath “/usr/lib64/xorg/modules/extensions/nvidia”
ModulePath “/usr/lib64/xorg/modules”
FontPath “/usr/share/fonts/default/Type1”

The FontPath was already there. After a reboot things seem back to normal again.
I found a reference to this @ http://elrepo.org/bugs/view.php?id=425 in case anyone is interested.
nvidia-bug-report.log.gz (76.7 KB)

I have exactly the same problem, CentOS 6.5 on HP XW9400 and Nvidia Quadro FX-1700.
I will try your workaround. Thank you.