US President Donald Trump has taken a conciliatory tone at a meeting with Chinese President Xi Jinping where the leaders agreed to keep working on two pressing issues: the nuclear threat posed by North Korea and bilateral trade irritants.
Trump campaigned in last year's presidential election on cracking down on China for its trade practices, but he softened his rhetoric after taking office, saying he wanted to work with China on the nuclear issue.
When the two leaders first met in April at Trump's Florida resort, they appeared to hit it off. Trump called Xi a "good man" as he urged him to use Beijing's economic clout to force North Korea to curb its nuclear weapons program.
Lately, Trump has expressed some impatience on China's role in North Korea -- particularly after Pyongyang launched an intercontinental ballistic missile that some experts believe could have the range to reach Alaska, and parts of the US West Coast.
His administration made new arms sales to Taiwan, imposed sanctions on two Chinese citizens and a shipping company and put China on a global human trafficking list. It also accused a Chinese bank of laundering money for Pyongyang.
The White House is also debating trade actions against Beijing, including tariffs on its steel exports and a few days before the G20 talks, Trump complained that trade between China and North Korea had grown.
But he showed none of that impatience on Saturday, when the leaders met at the invitation of Xi at the tail end of the G20 in Germany.
"It's an honour to have you as a friend," Trump told Xi, telling him he appreciated actions he had already taken on North Korea.
"As far as North Korea is concerned, we will have, eventually, success. It may take longer than I'd like. It may take longer than you'd like. But there will be success in the end one way or the other," Trump said.
For his part, Xi told Trump that stronger China-US ties were conducive to stability and prosperity amid global conflicts, and had made "new progress" in some areas "despite some sensitive issues," Xi said, according to state news agency Xinhua.
Xi stressed the importance of talks with North Korea, and said China's navy will join will join next year's US-led Pacific Rim military exercises.