startx / xterm

When I try to run startx or xterm the window opens fine, however when using keyboard incorrect chars are displayed, e.g pressing return displays 2