I'm running putty on Windows 7, logging into a Ubuntu 14.04 machine running KDE. My login is successful, but each time I get the message "Can't open display" immediately after the welcome message and before the shell prompt. I'm not trying to use X on this connection, I just want a shell, but I'm concerned that the error message indicates a deeper problem in the way Ubuntu is configured.
For what it's worth, X11 forwarding is not enabled in Putty for this session configuration.
.bashrc
, and seen by turning on the shell trace (using "set -x").