read-x-session and relevant changes
fixed a typo