WASHINGTON/SEOUL (Reuters) - U.S. President Donald Trump said on Wednesday after the first intra-Korean talks in over two years that the United States was willing to speak to North Korea “under the right circumstances,” although it was far from clear whether this would pay dividends.

South Korea said Trump had also said in a phone call with its President Moon Jae-in that there would be no military action while North-South talks were going on and that a Wall Street Journal article saying he was contemplating a military strike against North Korea was “completely wrong.”

“Who knows where it leads?” Trump told reporters at the White House after his call with Moon to discuss Tuesday’s North-South talks, the first since 2015.

He said Moon told him the talks went well, and added: “Hopefully it will lead to success for the world, not just for our country, but for the world. And we’ll be seeing over the next number of weeks and months what happens.”

At a later news conference with the visiting Norwegian prime minister, Trump said the United States had problems with North Korea, but “a lot of good talks are going on right now.”

“I see a lot of good energy. I like it very much ... So, hopefully, a lot of good things are going to work out.”

“I think that we will have peace through strength,” he said, a reference to his policy of maintaining a powerful U.S. military.

South Korea’s Presidential Blue House said both men had said the dialogue “could naturally lead to talks between the United States and North Korea for the denuclearization of the Korean peninsula after the Pyeongchang Winter Olympics.”

At Tuesday’s intra-Korea talks, North Korea said it would attend the Olympics, which South Korea will host next month, while both sides agreed to resolve problems between them through dialogue and to revive military consultations to avoid accidental conflict.

However, Pyongyang said it would not discuss its nuclear weapons because they were aimed only at the United States and not its “brethren” in South Korea, or Russia or China, showing that a diplomatic breakthrough to the crisis remained far off.

While Washington has welcomed the talks as a first step toward solving the crisis over North Korea’s programme to develop nuclear missiles capable of reaching the United States, it has reiterated that any talks involving the United States must be aimed at North Korea’s denuclearization.

The White House said Trump told Moon the United States was willing to talk to North Korea “at the appropriate time and under the right circumstances.”

Trump, who has swung between hurling insults and threats at North Korea to expressing a willingness to talk, said on Saturday he would be willing to speak to North Korean leader Kim Jong Un, though not without pre-conditions.

An unsourced article in the Wall Street Journal on Tuesday said U.S. officials were debating whether it was possible to mount a limited military strike against North Korea without igniting an all-out war.

The Trump administration has said it prefers a diplomatic solution, but that all options are on the table, including military ones.

U.S. officials say Trump has been considering a number of military options, including a preemptive strike on a missile or nuclear facility, but officials and analysts have warned of the risks of triggering a catastrophic wider conflict.

MOON CREDITS TRUMP FOR TALKS

Earlier on Tuesday, Moon made a point of crediting Trump for the Korean talks and also said he himself was open to meeting with Kim at any time if conditions were right and “certain achievements are guaranteed”.

“The purpose of it shouldn’t be talks for the sake of talks,” he told a news conference, while warning that Pyongyang would face stronger sanctions if “provocations” continued.

North Korea ramped up missile launches last year and conducted its sixth and most powerful nuclear test, prompting a U.S.-led campaign to impose some of the strongest international sanctions yet, which Pyongyang dubbed an “act of war”.

Trump and Kim have exchanged threats and insults over the past year, raising fears of war. South Korea and the United States are technically still at war with the North after the 1950-53 Korean conflict ended with a truce, not a peace treaty.

Slideshow ( 9 images )

Washington and Seoul opened the way for the talks last week when they announced the postponement of joint military exercises that Pyongyang has denounced as a rehearsal for invasion.

Washington had raised concerns that a New Year overture from Kim that led to the talks could be aimed at driving a wedge between the allies, but Moon said he and Washington did not differ over how to respond to North Korean threats.

“This initial round of talks is for the improvement of relations between North and South Korea. Our task ... is to draw North Korea to talks aimed at the denuclearization of the North,” Moon said. “(It’s) our basic stance that will never be given up.”

The United Nations Security Council said following a briefing on the talks that it hopes “that such interactions will lead towards the denuclearization of the Korean peninsula.”

Olof Skoog, Swedish ambassador to the U.N., said his nation had called for the briefing because it was important for the Security Council to remain active and united in its efforts to resolve the Korean conflict.

Slideshow ( 9 images )

On an agreement on continued military-to-military talks and the reopened inter-Korean military hotline, Skoog said: “We have consistently underlined the importance of these channels of communication to avoid misunderstanding and to reduce tensions.”

North Korea’s official Rodong Sinmun newspaper said all problems would be resolved through the efforts of the Korean people alone.

“If the North and South abandon external forces and cooperate together, we will be able to fully solve all problems to match our people’s needs and our joint prosperity,” it said.

In spite of the hopeful words about the potential for future talks, the U.S. intelligence assessment of North Korea’s weapons programs has not altered, officials say.

U.S. officials familiar with the classified analysis say the consensus is that Kim remains convinced that the United States is determined to overthrow him and that only a nuclear arsenal that threatens America can deter that.

One official said the North-South talks were likely to follow the pattern of past diplomatic efforts, in which North Korea has benefited from aid without making concessions.

Lee Woo-young, a professor at Seoul’s University of North Korean Studies, said it was wise of Moon to praise Trump.

“By doing that, he can help the U.S. build logic for moving toward negotiations,” he said.

The United States and Canada are due to host a conference of about 20 foreign ministers next week in Vancouver to discuss North Korea, without the participation of China, Pyongyang’s sole major ally and biggest trade partner.

The State Department said the talks, which will involve countries that supported South Korea in the Korean War, would look at ways both to increase the U.S.-led pressure campaign on North Korea and take diplomatic efforts forward.

“The pressure campaign is intended to lead to credible negotiations on denuclearization,” a spokesman said.

China said it was opposed to the meeting as it would not help reduce tensions.