We: have, studied, using atom stir molecular dynamics simulations, the alignment of the nematic crystal 4-n-penyl-4'-cyariobiphenyl (SCB) on,self-ssembled monolayers (SAMs) formed from octadecyl- -and/or.hexyltrichloro$ilane (0I'S and HTS) attached to glassy silica. We find a planar alignment on OTS at full coverage and, an intermediate":sitriation at partial OTS coverage, because of the penetration of SCB molecules into the monolayer, which also removes the tilt of the OTS SAM. Binary mixtures of HTS and OTS SAMs instead induce homeotropic perpendicular) alignment. A comparison with the existing experimental literature is provided.