After the Later Jin destroyed the Later Tang in 937, Xue served on the staff of Liu Suining (), the military governor of Hua Prefecture. In 941, he was recommended by Liu Suining's older cousin Liu Suiqing () and became a patrolling inspector for the Salt Monopoly. In 944, he served as a judge in the Bureau of General Accounts. When Li Song became the director for the Salt Monopoly, Xue served on his staff. Xue also received a position in the Court of Judicial Review, and subsequently he was made a reminder official in the Secretariat. In 946, when Sang Weihan was made the prefect of Kaifeng, Xue joined him as an administrative assistant.