The problems are considered of the propagation of surface TE-polarized electromagnetic waves in the Goubau line (perfectly conducting cylinder covered with a concentric dielectric layer) and a shielded two-layer dielectric waveguide filled with an inhomogeneous medium. Numerical results are presented of the comparison of the wave spectra.