Thanks the advice so far. Yes it is only KDE that freezes, and if I kill the session associated with the freezing windows (via ssh) I can then login again and carry on as normal.
I upgraded to KDE4.1.3 using the stable repository you mention. Problem still persists. Hoewever I am convinced it is something to do with my KDE config as I logged in as another user, set the time to 23.58 and waited for the midnight hour. Sailed right on through with no problems.
So then went and found the .xsession-errors file and there are some messages in there which look like problems. [Aside : Earlier in week I changed my KDE config to use mplayer instead of KDE soundsystem for event notification as other forum entries had pointed to that as a possible source of freezing.]
++++ Here are the last 50 line from xsession-errors +++
Playing /usr/share/sounds/KDE-Window-Close.ogg.
[Ogg] stream 0: audio (Vorbis), -aid 0
Ogg file format detected.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 1 ch, s16le, 96.0 kbit/13.61% (ratio: 12000->88200)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis decoder)
AO: [oss] 44100Hz 1ch s16le (2 bytes per sample)
Video: no video
Starting playback…
QObject: Do not delete object, ‘unnamed’, during its event handler!
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x3a00001
A: 0.4 (00.3) of 0.6 (00.6) 0.2%
Exiting… (End of file)
MPlayer 1.0rc2-SUSE Linux 11.0 (x86_64)-Packman-4.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) Dual CPU E2180 @ 2.00GHz (Family: 6, Model: 15, Stepping: 13)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Can’t open joystick device /dev/input/js0: No such file or directory
Can’t init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing /usr/share/sounds/KDE-Window-Close.ogg.
[Ogg] stream 0: audio (Vorbis), -aid 0
Ogg file format detected.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 1 ch, s16le, 96.0 kbit/13.61% (ratio: 12000->88200)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis decoder)
AO: [oss] 44100Hz 1ch s16le (2 bytes per sample)
Video: no video
Starting playback…
A: 0.4 (00.3) of 0.6 (00.6) 0.2%
Exiting… (End of file)
kwin: X Error (error: <unknown>[DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x1801ea4)
kwin: X Error (error: <unknown>[DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x1801fd5)
kwin: X Error (error: <unknown>[DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x1801fde)
kwin: X Error (error: <unknown>[DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x1801fe1)
QObject::startTimer: QTimer cannot have a negative interval
kwin: X Error (error: <unknown>[DAMAGE+0], request: XDamageDestroy[DAMAGE+2], resource: 0x1801fe7)
++++ END OF 50 LINES ++++
Unfortunately I don’t know how to resolve these errors as I don’t know what they mean.
With respect to possibility of cron kicking something off I don’t think that is the case as I have doen a crontab command as both myself and root and nothing is listed. Also if it were cron the it should presumably also effect in the same way when I logged in as a different user - but it didn’t.
The only other thing I can do is start to try and do a compare of the different kde configs for the two users to try and spot whatever it is that might be causing this problem.