Keyboard output being duplicated to ttyv0

Hello there!

I have another machine which is running FreeBSD 13.1. It has an issue where if I log into my desktop environment (MATE, for what it's worth...) and write something, for example, if I search for "something" on YouTube in Firefox, and then log out of the X session and open ttyv0, i will have "login: something Login failed" as the keystrokes seem to be output to ttyv0 as well as entering into the search box on a browser. Also worth noting is that as soon as I log into the GUI session, CTRL+Alt+F1 to get to ttyv0 doesn't seem to work, mentioning as it might be related, but unsure.

I made some modifications to the virtual terminal (as in the MATE terminal in the GUI) to show the logged in user and the cd path, I wonder if this might have screwed something up?

Certainly I have been an oaf with some kind of configuration, but this symptom seems very weird. Any ideas where I could check, or look? My instinct directs me towards xorg.conf but I'm sure it doesn't have any config files.

No, I'm not going to google "rm -rf /*" on that machine ?

Thanks!
 
I made some modifications to the virtual terminal (as in the MATE terminal in the GUI) to show the logged in user and the cd path, I wonder if this might have screwed something up?
The easy way to know is temporarily revert your changes (and what did you do exactly?).

How do you login into MATE? startx, login manager?

What else did you made some modifications to? :)
 
The easy way to know is temporarily revert your changes (and what did you do exactly?).

How do you login into MATE? startx, login manager?

What else did you made some modifications to? :)

My changes were putting
Code:
PS1="\H@\u: \$(pwd)> "
into ~/.bash_profile so I'm not convinced that is the issue.

startx runs lightdm's login manager, then I have
Code:
exec mate-session
in ~/.xinitrc

This is the case on a couple of my other machines, so not sure what is causing this odd symptom.

As I said earlier, it "smells like" X server configuration, somehow, but I don't have a config file. Perhaps I should try
Code:
X -configure
?
 
I think I've found and repaired the issue. I had both slim and lightdm firing up during start-up. It would be a bit of a lottery which one would successfully win "the race" to provide the login screen. I believe the failed one was then still parsing input from the keyboard but dumping it out onto ttyv0.

In any case, I've removed one of the login/display managers, and haven't had a recurrence (that I've noticed) since.

Thanks
 
Back
Top