Step 1: Recall the carbylamine reaction.
Primary amines on heating with chloroform (CHCl$_3$) and alcoholic KOH form isocyanides.
Step 2: Aniline is a primary aromatic amine.
Step 3: When aniline reacts with CHCl$_3$ and KOH, it forms phenyl isocyanide, which has an extremely foul smell.
Step 4: The reaction is:
\[
\text{C}_6\text{H}_5\text{NH}_2 + \text{CHCl}_3 + 3\text{KOH}
\rightarrow \text{C}_6\text{H}_5\text{NC} + 3\text{KCl} + 3\text{H}_2\text{O}
\]
Step 5: Therefore, the reagent ‘X’ is chloroform (CHCl$_3$).