  We prove the nonsplit case of the Lang-Vojta conjecture over function fields
for surfaces of log general type that are ramified covers of $\mathbb{G}_m^2$.
This extends results of Corvaja and Zannier, who proved the conjecture in the
split case, and results of Corvaja and Zannier and the second author that were
obtained in the case of the complement of a degree four and three component
divisor in $\mathbb{P}^2$. We follow the strategy developed by Corvaja and
Zannier and make explicit all the constants involved.
