Invalid TTY after SSH

0

1

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?

adhanlon

Posted 2017-02-03T05:14:30.130

Reputation: 31

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 – 2017-02-03T09:04:56.063

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 – 2017-02-03T20:10:57.710

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 – 2017-02-04T10:01:19.393

No answers