stty: invalid arguments
If you receive one of the errors below for your UNIX, Linux, or BSD host upon running your X-Win32 session (typically rexec, rsh, or StarNetSSH sessions), then there is likely to be a problem with the login scripts on your host. You can troubleshoot this problem by creating a new user account on your remote host, then checking if the error still occurs with the new user account. If no error occurs, then the problem is likley due to the per-user login scripts for your other user. However, if the error still occurs, then it may mean that the problem is with the shared profile or login scripts (e.g. /etc/profile, /etc/bashrc, etc.).
Terminal errors on running an X-Win32 session
- stty: invalid arguments
- term: undefined variable
- xterm error: SFLM context must be set within 30 seconds

Solutions