You are not logged in.

#1 2010-07-30 20:07:25

cpcgm
Member
From: Munich, Germany
Registered: 2009-03-23
Posts: 30

Typing problems in tty1

My tty1 behaves strange, somehow "clumsy". It misses keystrokes. I type "jkjkjkjkjkjkjk" but get something like "jkjkkjjjj". It happens both in bash and in zsh. tty2, tty3, ... work perfectly. Does anyone know how to fix that?

Offline

#2 2010-07-30 20:10:34

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Typing problems in tty1

cpcgm wrote:

My tty1 behaves strange, somehow "clumsy". It misses keystrokes. I type "jkjkjkjkjkjkjk" but get something like "jkjkkjjjj". It happens both in bash and in zsh. tty2, tty3, ... work perfectly. Does anyone know how to fix that?

Do you have a lot going on in your bashrc where you check on which tty you are ?

I am just guessing, but if you have a bunch of scripts which does something on every keystroke, that might explain the weird behavior.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2010-07-30 20:24:55

cpcgm
Member
From: Munich, Germany
Registered: 2009-03-23
Posts: 30

Re: Typing problems in tty1

Nope. A bunch of aliases, exports for colors and that's more or less it. But .bashrc problems would affect all consoles and disappear on starting zsh, wouldn't they?

Offline

#4 2010-07-30 21:19:38

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: Typing problems in tty1


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#5 2010-07-31 05:32:31

cpcgm
Member
From: Munich, Germany
Registered: 2009-03-23
Posts: 30

Re: Typing problems in tty1

I don't use any login manager. Slim is not even installed.

Offline

#6 2010-07-31 07:49:46

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Typing problems in tty1

Try "ps" or "top" to find out if there is any expensive process active on the TTY level.
Does setting up a new test user with basic capabilities only help?


To know or not to know ...
... the questions remain forever.

Offline

#7 2010-07-31 08:01:06

cpcgm
Member
From: Munich, Germany
Registered: 2009-03-23
Posts: 30

Re: Typing problems in tty1

What do you mean with "on the TTY level"? How can I find out. In htop the CPUs are around 10 % overall, RAM usage is pretty high (Google Chrome...) but no Swap used. Inside htop the problem persists. I have to press each key a dozen times before it's working.

Loging in as root shows the problem as well. I created a user "test" but unsurprisingly -- the problem is even there with no user logged in -- there's no difference.

Offline

#8 2010-07-31 09:00:27

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Typing problems in tty1

Call top in that tty1 where you experienced the typing errors.

You do this outside of X, don't you? This is what I meant by "TTY level".
And if so, is X running in parallel? That means did you temporarily escape from the X system by one of Alt+Ctrl+F1..F6 commands?
Or did you simply log into the terminal without starting X?

Last edited by bernarcher (2010-07-31 09:03:27)


To know or not to know ...
... the questions remain forever.

Offline

#9 2010-07-31 09:05:08

cpcgm
Member
From: Munich, Germany
Registered: 2009-03-23
Posts: 30

Re: Typing problems in tty1

X is running, I switched with Alt+Ctrl+F1 and ran htop in tty1.

Offline

#10 2010-07-31 09:15:09

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Typing problems in tty1

Best do a test without X, whether the behavior will be different.


To know or not to know ...
... the questions remain forever.

Offline

#11 2010-08-01 07:57:18

cpcgm
Member
From: Munich, Germany
Registered: 2009-03-23
Posts: 30

Re: Typing problems in tty1

After "init 3" everything works.

Offline

#12 2010-08-01 07:58:19

cpcgm
Member
From: Munich, Germany
Registered: 2009-03-23
Posts: 30

Re: Typing problems in tty1

To clarify: After restarting the X server tty1 is back to the old, bad behavior.

Offline

#13 2010-08-01 08:32:13

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Typing problems in tty1

Obviously there is some process running under X which intervenes with the TTY operation.

Did you try to monitor the behavior with iotop (from community)? Once with X running and once without. Perhaps this will provide some clue.

Otherwise I'm running out of ideas as well. sad


To know or not to know ...
... the questions remain forever.

Offline

#14 2010-08-01 08:37:40

cpcgm
Member
From: Munich, Germany
Registered: 2009-03-23
Posts: 30

Re: Typing problems in tty1

I installed iotop but I'm not sure how to read it. Everything's "0.00 B/s" or "0.00 %" with chrome and jbd2 occasionally showing up.

Offline

#15 2010-08-01 09:04:39

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Typing problems in tty1

Allright, one final idea in order to find out which processes differ. Try something like this in the TTY:

ps aux | sort -k 11 > somefile1

with X running and then without X running. Then a simple

diff somefile1 somefile2

should provide some insight.

By the way, which WM/DE does run in X?


To know or not to know ...
... the questions remain forever.

Offline

#16 2010-08-01 10:15:34

cpcgm
Member
From: Munich, Germany
Registered: 2009-03-23
Posts: 30

Re: Typing problems in tty1

WM: XMonad
DE: GNOME

What's not running without X:
- gnome-do
- starx
- xmonad
- chrome
- dhcpcd
- gnome-keyring-daemon
- gnome-settings
- pulseaudio
- python
- redshift
- gconfd-2
- GlobalMenu
- at-spi-registryd
- bonobo-activation-server
- gam_server
- multiload-applet-2
- gdu-notification-daemon
- clock-applet
- notification-area-applet
- wnck-applet
- gnome-inhibit-applet
- gnome-vfs-daemon
- gvfs-fuse-daemon
- gvfs-gdu-volume-monitor
- gvfsd
- gvfsd-http
- ibus-engine-pinyin
- ibus-gconf
- ibux-x11
- notify-osd
- polkit-gnome-authentication-agent-1
- gconf-helper
- NetworkManager
- console-kit-daemon
- Thunar
- bluetooth-applet
- ck-launch-session
- dbus-launch
- deja-dup-monitor
- easystroke
- gnome-panel
- gnome-power-manager
- gnome-screensaver
- gnome-session
- guake
- ibus-daemon
- Docky
- nm-applet
- Skype
- xcompmgr

Offline

Board footer

Powered by FluxBB