Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Helmut Kool

macrumors member
Original poster
Mar 8, 2003
32
0
I just noticed that every time I press a key, the hard disk is accessed. I got worried that there might be a key logger and did some magical Terminal commands and found out that the file that was accessed is /private/var/log/windowserver.log. On every key press there appears a line like this:

May 30 00:20:03 [2125] kCGErrorNoneAvailable: CGXKeyEventTranslate: key translation failure

Does anybody else get this? I have a Finnish keyboard and keymap on a Powerbook running Mac OS 10.4.1.

A Google search led to this:

http://macslash.org/comments.pl?sid=5385&cid=93490

That person also uses the Finnish keymap. I tried to change it temporarily to US keymap but that didn't help.
 
Yes, I sent a bug report. They didn't fix it in 10.4.2. :-(

A partial workaround is to make windowserver.log a symbolic link to /dev/null. That way the hard disk will stay quiet, but it doesn't really stop the error from happening. And you won't get any other (possibly useful) error messages to that log file either.
 
That was new to me also. I reported the bug using the regular feedback form. Maybe this bug should be reported also to the ADC bug reporting thingy in case they take those reports more seriously.
 
The cheap and dirty fix: If you don't mind losing that log, you could just do this (as root):
cd /private/var/log/
rm windowserver.log
ln -s /dev/null windowserver.log
 
Solution (presented in itavisen (Norwegian) today):

* Logg in as root (enable root user in Netinfo Manager: Security -> Enable root user (you might have to authenticate first)).

* Set U.S. keyboard as the only Input type in System Preferences -> International -> Input Menu

* Log out from root (and disable in Netinfo Manager if you don't want root user enabled).

Instantly my /var/log/windowserver.log reported "Oct 19 13:24:43 [70] CGXRestartSessionWorkspace: session workspace exited for session 258 ( off console , defunct)" and stopped logging every event. :)
 
Yeah, that did the trick. I was pissed off to find out that 10.4.3 didn't fix this and started searching for a solution again. I found it on another Web forum and came back here to report it but I was too late. :)

BTW, I noticed also that logging in as root makes it possible to enable SSH and FTP sharing, which for some reason doesn't work for me otherwise.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.