working up xchooser, xlogin and xlock