There was no backslapping from President Barack Obama for the leaders of Afghanistan and Pakistan, two countries that represent perhaps the United States' most urgent foreign policy headache.

Mr Obama took a pragmatic, arms-length approach to dealing with both Afghan President Hamid Karzai and Pakistani President Asif Ali Zardari, stressing support for their democratically elected governments but avoiding becoming wrapped up in personalities.

It is a strategy born in part from having seen that personalities had limits in President George W. Bush's friendships with Mr Karzai and Mr Zardari's predecessor, Pervez Musharraf.

Gone are the weekly videoconferences with Mr Karzai that Mr Bush held. And the Obama administration is not limiting its Pakistani contacts to Mr Zardari, the widower of slain Prime Minister Benazir Bhutto. It is also talking to opposition leader Nawaz Sharif, among others.

After their meeting at the White House on Wednesday, Mr Obama was careful to stick to diplomatic language in putting his message across that both the Afghan and Pakistani presidents need to do more to confront the threat posed by the Taliban and al Qaeda.

"I'm pleased that these two men, elected leaders of Afghanistan and Pakistan, fully appreciate the seriousness of the threat that we face and have reaffirmed their commitment to confronting it," Mr Obama said as both Mr Karzai and Mr Zardari stood silently at his side.

Casting a cloud over the talks were the deaths of dozens of Afghan civilians, apparently from US-led airstrikes. Mr Karzai was once the darling of Washington's foreign policy establishment for daring to lead turbulent post-September 11 Afghanistan.

He is now viewed with some scepticism, including by Vice President Joe Biden, who as a senator in February last year walked out of a dinner with Mr Karzai because the Afghan leader did not seem to be taking US concerns about corruption seriously.

Mr Obama raised the issue again with Mr Karzai, telling him he wanted to see "concrete results" on stamping out corruption in Afghanistan, according to US national security adviser, Jim Jones.

Washington has other concerns as well. Many of the problems Mr Karzai inherited when he took power remain unsolved and he has been unable to extend his government's reach beyond the capital, Kabul.

"Embracing Mr Karzai like he was the Thomas Jefferson of Afghanistan and having weekly conversations with him was no longer a feasible approach," said an Obama administration official.

Mr Zardari is viewed as having reacted too slowly to the real internal threat in nuclear-armed Pakistan - the Taliban - and instead has engaged in the usual Pakistani fixation on its arch rival, India.

"There's a recognition that Pakistan has travelled a great distance and Mr Zardari deserves credit," said the American official. "But there is also a great deal of concern about the weakness of the government, the unpopularity of the government."

All this is happening as the US is sending more troops to Afghanistan, a move ordered by Mr Obama as part of his campaign pledge to bolster the fight in the country where the Septembr 11 plot was born.

"This is in a sense throwing the dice and hoping a surge will make things easier in Afghanistan. But it's hard to see a lot of light at the end of the tunnel, particularly with the border with Pakistan," said Dennis Kux, a former US diplomat who has travelled extensively to the region.

Mr Obama has little choice but to deal with Mr Karzai for the time being. Elections are scheduled in Afghanistan in August and no credible opponent has emerged.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.