U.S. and Russian officials held more than four hours of talks in Riyadh.