He appeared to do that. But there were few public signals about how Brexit, Britain’s most imminent challenge, would be confronted. Mr. Trump promised a “very big trade deal” for Britain once it had left the bloc — but Mr. Johnson responded cautiously, mindful of skeptics in Britain, saying that reaching an agreement “may take some time” and require compromise from the U.S.

He also told the British broadcaster Sky News that the chances of a Brexit deal with Brussels were “improving.”

The other Group of 7 leaders sought to nudge Mr. Trump gingerly toward their views on the pressing issues of the day. Today, Mr. Trump is set to meet with the leaders of Germany, India and Egypt.

France: Trump aides slammed the French for focusing on climate change, income inequality and African development instead of on national security and a looming economic slowdown.

Trade-war factor: After Mr. Trump said early Sunday he had “second thoughts” about ratcheting up tariffs on China last week, the White House said that he had been misinterpreted and that he meant he regretted not raising the tariffs even higher.