I changed display managers recently on my linux install (from slim to console tdm). And, ever since that (note: I probably was doing other things at the time as well, so I can't be certain it was the change in display managers), when I ssh into my machine, I get the following message:

Invalid tty

After the message, I am given a prompt and everything works as normal. But, it just seems strange. Anyone know what this means?

  • It's unlikely the display manager affects tty stuff. Where does the message come from? Executing something in .profile / .bashrc etc. (comment things out and see if the message disappears)? From ssh itself? What does tty say? – dirkt Feb 3 '17 at 9:04
  • So, in the directions for installing console TDM (my new display manager), I am told to put the line source /usr/bin/tdm in my .bash_profile. I commented this line out, and the Invalid tty warning goes away. Since I need that line in my .bash_profile, I guess I'm stuck with the warning? – adhanlon Feb 3 '17 at 20:10
  • I'm not familiar with tdm. Looking at the git, it's a bash file, so the next step should be debugging this to see where the message comes from. Or conctact the author on github and see if he has any ideas what's happening. – dirkt Feb 4 '17 at 10:01
  • I will do that. Thank you for your help. – adhanlon Feb 4 '17 at 17:42

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.