$$ \frac{d^2 x}{dt^2}-2a\frac{dx}{dt}+bx=0$$
The general solution is $$\quad x(t)=C_1e^{(a+\sqrt{a^2-b})\:t}+C_2e^{(a-\sqrt{a^2-b})\:t}$$
Looking for real solutions with $a$ , $b$ , $C_1$ and $C_2$ reals , the solutions can be expressed as :
$$\begin{cases}
\text{If} \quad a^2-b< 0 \quad \text{ then } \quad x(t)=c_1e^{at}\sin(\sqrt{b-a^2}\:t)+c_2e^{at}\cos(\sqrt{b-a^2}\:t) \\
\text{If}\quad b=a^2 \quad \text{ then } \quad x(t)=c_1e^{at}t+c_2e^{at}\\
\text{If} \quad a^2-b> 0 \quad \text{ then } \quad x(t)=c_1e^{at}\sinh(\sqrt{a^2-b}\:t)+c_2e^{at}\cosh(\sqrt{a^2-b}\:t)
\end{cases}$$
We see that, in all casses, the condition $\quad x(0)=0 \quad$ implies $\quad c_2=0\quad$ thus :
$$x(0)=0\quad\to\quad \begin{cases}
\text{If} \quad a^2-b< 0 \quad \text{ then } \quad x(t)=c_1e^{at}\sin(\sqrt{b-a^2}\:t) \\
\text{If}\quad b=a^2 \quad \text{ then } \quad x(t)=c_1e^{at}t\\
\text{If} \quad a^2-b> 0 \quad \text{ then } \quad x(t)=c_1e^{at}\sinh(\sqrt{a^2-b}\:t))
\end{cases}$$
And the condition $\quad x(1)=0 \quad$ implies $\quad c_1=0\quad$ except in the case of $\sqrt{a^2-b}=k\pi\quad$ with $k$ integer.
$$x(0)=x(1)=0\quad\to\quad \begin{cases}
\text{If} \quad a^2-b< 0 \text{ and } \sqrt{b-a^2}=k\pi \quad \text{ then } \quad x(t)=c_1e^{at}\sin(k\pi\:t) \\
\text{If} \quad a^2-b< 0 \text{ and } \sqrt{b-a^2}\neq k\pi \quad \text{ then } \quad x(t)=0 \\
\text{If} \quad a^2-b\ge 0 \quad \text{ then } \quad x(t)=0
\end{cases}$$
Even in the non-trivial case $\quad b=a^2+k^2\pi^2 \quad\to\quad x(n)=0\quad$ because $\quad \sin(k\pi n)=0$ .