x: session script is improved

to setup keyboard layout after login