I have created a FVWM script to poll every 5 seconds my devices (e.g floppy, cdrom, etc) but as I restart FVWM I get every time an error in .xsession-errors:[FVWM][executeModule]: <<ERROR>> Execution of module failed: /home/tf/.fvwm/script/FvwmScript-Mount-Check Permission denied
Here’s my script:[code]Init
Begin
exec $[fvwm_script]/mountcheck.sh
End
PeriodicTasks
Begin
If (RemainderOfDiv (GetTime) 5)==0 Then
Do {exec $[fvwm_script]/mountcheck.sh}
End
End[/code]
I start it with+ I Function MountCheck
in the StartFunction of FVWM
Done. You’re right. With+ I Function MountCheckthe permission error occurs.
My FVWM script is now:[code]Init
Begin
Do {Exec $[fvwm_script]mountcheck.sh}
End
PeriodicTasks
Begin
If (RemainderOfDiv (GetTime) 5)==0 Then
Begin
Do {Exec $[fvwm_script]mountcheck.sh}
End
End[/code]
But after restarting FVWM I get this error now:code: Cause of next X Error.
Error: 2 (BadValue (integer parameter out of range for operation))
Major opcode of failed request: 1 (CreateWindow)
Minor opcode of failed request: 0
Resource id of failed request: 0x0
Leaving a core dump now[/code]
What’s happening now ?? Where can I find the core dump? And how can I interpret it?
Because I haven’t knew about $[FVWM_USERDIR]. Therefore I have created this $[fvwm_script]
$[fvwm_script] => SetEnv fvwm_script $[HOME]/.fvwm/script/
FVWM hasn’t crashed at any time. It works fine as ever . I think this problem comes from FvwmScript. I have reduced the script toInit
Begin
#Do {Exec $[fvwm_script]mountcheck.sh}
End
but the null error occurs allthough
At the moment I haven’t enough time to check this issue as in the link you’ve posted is described. If I have more time I will give the dump a try again.
As a workaround I have created a cronjob running the mountcheck.sh every minute to check the devices periodically . This works good enough for me at the moment. But a shorter poll would be better …