Make use of the "ttyname", "ttytype" and "display" OPTIONS.