I attempted the proof, I just want to see if it is correct:
Suppose $X$ is totally bounded and $(x_n)$ is a sequence in $X$. Then $(x_n)$ has a subsequence contained in a ball of radius $1/2$. This subsequence has a subsequence contained in a ball of radius $1/3$ and so on. Take the first term in each of these subsequences and call this sequence $(x_{n_k})$.
Then if $m>l$, $d(x_{n_m},x_{n_l})< \frac{2}{n+1}$. And since $\frac{2}{n+1}\rightarrow 0$ it follows that $(x_{n_k})$ is a cauchy sequence.