BEIJING, Dec 2 (Reuters) - North Korean leader Kim Jong Un received a welcome from Chinese President Xi Jinping this week on his first state visit to Beijing, where ‌the leaders talked about strengthening ties and friendship at a meeting on Tuesday.

Here are the ‌main takeaways from Kim's visit:

WARM WELCOME

China treated Kim to a 21-gun salute, military band and honour guard, and children ​singing "North Korea-China Friendship is Everlasting" in Korean and Chinese on the first state visit for a North Korean leader in four decades.

After the welcome ceremony at the Great Hall of the People in Beijing on Tuesday afternoon, the leaders began a meeting that lasted about two hours before adjourning to a state banquet ‌and an artistic performance in the ⁠evening.

Kim's delegation included Foreign Minister Choe Son Hui, party secretary Jo Yong Won and other senior officials. His wife, Ri Sol Ju, also accompanied him, ⁠and his sister, Kim Yo Jong, was seen in clips on Chinese state media.

The high-status visit is diplomatic reciprocation for Xi's June state visit to Pyongyang and places Kim on the same tier as leaders such as ​Russian ​President Vladimir Putin and US President Donald Trump.

UNLOCKING POTENTIAL

Xi spoke ​of reinforcing ties with North Korea during ‌the meeting, and called for both countries to unlock the potential for "practical cooperation". He also spoke about advancing cross-border infrastructure and promoting economic and trade ties.

"Both sides must consolidate the foundations for lasting friendship", Xi said.

A recovery in China-North Korea trade has been underway since the New Yalu River Bridge linking the countries opened in October after a 12-year delay.

Kim told Xi it was North Korea's primary strategic task ‌to develop ties between the two countries, North Korea's ​state-run Korean Central News Agency reported.

Both leaders talked about ​stable bilateral ties to guard against uncertainties ​of the external environment. The readouts did not mention the issue of North ‌Korea's nuclear weapons programme.

TALKS WITH TRUMP UNCLEAR

While ​analysts saw the visit ​as an opportunity for Kim to show he has Beijing's backing ahead of possible talks with Trump, the prospects for a US-North Korea summit remain unclear.

Trump has expressed interest in meeting with ​Kim. The US president met ‌the North Korean leader several times during his 2017-2021 first term in unprecedented direct ​diplomacy that did not persuade Kim to give up his nuclear weapons.

(Reporting by Liz ​Lee and Beijing newsroom; Editing by Stephen Coates)