The two agreed that China would assist with the denuclearization of the Korean Peninsular and Pyongyang highlighted the historical ties forged in blood between China and North Korea.
The surprise visit to Beijing comes as Kim has launched a diplomatic offensive, proposing upcoming summits with South Korean President Moon Jae-in and U.S. President Donald Trump.
A key objective for Beijing is to reassert its relevance to the talks, from which it has been excluded.
With years of dictatorship in North Korea, missile testing, worldwide tensions and threats have become a regularity. China, after all, provides the vital trade, aid and diplomatic support that keep the North and its broken economy afloat.
In order to ensure that China and South Korea do not begin to prematurely relax sanctions, which would reduce North Korea's incentives to approach negotiations sincerely, Washington will need to hurry to secure their support in its own preferred approach.
As the leader of a country often called reclusive and unusual, Kim is also much younger than many world leaders, a difference that gets additional resonance in Asia, where respectful deference to elders is widely upheld. Mr. Kim's visit to Beijing has reinstated China's central role in talks over the Korean crisis, which both countries see as mutually beneficial. Pyongyang previous year seemingly sought to humiliate Beijing by timing some of its missile tests for major global summits in China. Mr. Kim also promised to suspend all nuclear and missile tests while talks were underway, the envoys said. Xinhua said the trip ran from Sunday to Wednesday but appeared to include travel time from Pyongyang on the special armored train that Kim traveled on, which secretly arrived in Beijing on Monday and left Tuesday afternoon.
The video starts with views from a window of Kim's train, and his warm welcome by Chinese officials upon arrival.
The video also shows Xi and Kim exchanging gifts, shaking hands and chatting with their wives.
Barclays agrees $2bn fine in USA for mortgage misselling
Barclays misled investors about the assets' quality, causing billions of dollars in losses, the Justice Department said in a statement.
March For Our Lives: The Power Of Emma Gonzalez's Chilling Silence
The March for Our Lives reflected the keen vision, soaring flight and nobility of the American bald eagle, symbol of our nation. The silence was interrupted by shouts of support, as well as chants of "never again" from the audience.
How to use Facebook's new privacy settings
The data policy will also be updated to better explain the type of data collected, and how its being used. While deposing before UK Parliament, Wylie said that he believed that one of the clients was Congress.
According to Xinhua, Chinese state media, Kim told Xi he was open to summit talks with Trump.
"Here is Xi Jinping saying, 'Don't worry, everything is going to be great, '" Glaser said.
Kim also reportedly said, "It is our consistent stand to be committed to denuclearization on the peninsula, in accordance with the will of late President Kim Il Sung and late General Secretary Kim Jong Il", according to reports in Chinese media.
"Now there is a good chance that Kim Jong Un will do what is right for his people and for humanity", Trump tweeted, after making note of the way peace and a stop in the proliferation of nuclear arms in the Korean peninsula seemed like a remote possibility. "Look forward to our meeting!" Kim's father and grandfather, the North's former leaders, used similar trains for foreign trips.
Reuters/Kevin LamarqueUS President Donald Trump speaks in front of his Trump Tower residence.
It is not the first time North Korea's official broadcaster has taken its cameras inside the Kim family trains, previously offering details such as floors bulletproofed with iron sheets, and a narrow carriage apparently containing Kim Jong-il's office - complete with glossy wooden floors, a wooden desk and chair, and camel-coloured sofa.
North Korean official Ri Son Gwon after the meeting hailed the agreement over the summit he said provides "immense expectations and new hope for the entire nation that desires for peace on the Korean Peninsula".
"For the North Koreans, it is in their best interests to enter any meetings with Moon or Trump having shored up and repaired to a certain extent their relations with Beijing", said Paul Haenle, director of the Carnegie-Tsinghua Center for Global Policy in Beijing. At the same time, China is also under increasing pressure because North Korea has built nuclear missile facilities just across the border.