/tmp is not cleaned when LyX dies brutally.
Lyx can not be blamed for this. Actually, we recently cleaned our network disk and found gigabytes of uncleaned temp files of SAS since users get used to Ctrl-c this poor application ... If you are really concerned with disk space, at least we can try to write to a temp file, and use a new one if a write attempt fails. (Something like 'if open(temp, 'w') == NULL ...'). I do not really like this since this introduces different behaviors for different viewers.
And changing this type of thing just because of _one_ piece of poorly written software is a bit annoying.
Well, this is the _one_ most important viewer we are forced to use. Bo