If $a_{1n}=a_{2n}=\dots=a_{mn}=0$, you get a nontrivial solution by choosing
$$
x_1=x_2=\dots=x_{n-1}=0,\quad x_n=1.
$$
Suppose now one of the coefficients of $x_n$ is nonzero. Without loss of generality, we can assume $a_{mn}\ne0$ (otherwise we just reorder the equations) and now we can also assume $a_{mn}=1$ (by multiplying the first equation by $a_{mn}^{-1}$).
Now do the following operations: sum to the $i$-th equation (for $1\le i<m$) the last equation multiplied by $-a_{in}$. These operations don't change the solution set of the system. After performing these transformations, your system becomes
$$
\begin{cases}
\begin{array}{rcrcrcrccc}
b_{11}x_1&+&b_{12}x_2&+&\dots&+&b_{1,n-1}x_{n-1}&&&=&0 \\
b_{21}x_1&+&b_{22}x_2&+&\dots&+&b_{2,n-1}x_{n-1}&&&=&0 \\
&\vdots \\
b_{m-1,1}x_1&+&b_{m-1,2}x_2&+&\dots&+&b_{m-1,n-1}x_{n-1}&&&=&0\\
a_{m1}x_1&+&a_{m2}x_2&+&\dots&+&a_{m,n-1}x_{n-1}&+&x_n&=&0
\end{array}
\end{cases}
$$
for suitable coefficients $b_{ij}$. The linear system has a nontrivial solution by induction hypothesis; once we find it, we can substitute the values in the last equation and get the value for $x_n$.
The base step for the induction, $m=1$, should be clear.
This is essentially Gaussian elimination starting from the last column. The assumption that $m<n$ is decisive, because we can safely isolate $x_n$ and still get equations after the elimination step.