Xi greeted Trump at the airport, the first time he had done so with any visiting leader since becoming president, reciprocating his counterpart's gesture at Joint Base Andrews in September when they last met.
Trump's arrival came after Xi and Putin delivered pointed speeches ahead of an Asia-Pacific Economic Cooperation summit in the southern Chinese tech hub of Shenzhen.
In his opening address, Xi urged support for what he called "free and open trade," trying to portray his country as a stable partner on the global stage, in contrast with the US, which has raised tariffs and taken a volatile approach to foreign policy under Trump.
In his speech, Putin criticised Western sanctions imposed over Russia's war in Ukraine.
"China is a country of etiquette and has a tradition of reciprocating courtesy," Xi was quoted as saying by state news agency Xinhua.
Trump said every meeting with Xi has been "very pleasant," Xinhua reported.
They then joined Putin and other leaders at the APEC summit venue for handshakes, a group photo and banquet.
The meeting has drawn comparisons with the 1945 Yalta Conference between the US, Britain and the Soviet Union that formalised spheres of influence, set the stage for the post-World War Two order and became shorthand for great-power deals imposed on smaller countries.
It has also unnerved some European and Asian capitals, which fear the world's greatest military powers will disregard their interests.
Xi's remarks came after Washington announced further restrictions on China's access to advanced AI chips from companies such as Nvidia, which could further complicate a fragile trade truce with Beijing.
"We must firmly uphold the rules-based multilateral trading system with the World Trade Organization at its core, support free and open trade and investment," Xi told an audience of business executives.
Beijing says its growth model is appropriate for an economy still catching up with the world's richest, but Washington, Brussels and others are concerned about China's supply chain dominance providing the country with geopolitical leverage and say its policies threaten their industries and jobs.
Xi said China will continue to invest in its industrial complex and new technologies.
His "message is likely to resonate with many Global South countries and reinforces Beijing's effort to contrast its technology strategy with that of Washington," said George Chen, partner and chair of digital practice at The Asia Group.
On Tuesday, Taiwan and Japan flagged incursions by Russian aircraft into their airspace.
Putin, who was speaking after Ukraine crippled the vital Kerch road bridge linking Crimea to Russia in a major blow to his four-year-old war, followed Xi on stage with a speech that described Western powers as "former hegemons."
"Experience has shown that the traditional tools of economic dominance and de facto coercion have largely run their course, having lost much of their intimidating power," Putin said.
Earlier, he floated the possibility of meeting North Korean leader Kim Jong Un in China, but that has not been confirmed.
Beijing said the trilateral will promote world peace.
Putin described the world as "turbulent" but said disagreements can be addressed by "sitting at the table."