Hi all,
        I'm facing a very strange problem with my X server,

I'd like to setup a linux box to act as a 'video server', so I put in the system initialization script,
a script that starts the X server with the application I desire.


After X initialisation I need to move the mouse in the lower left corner, so I built a little utility
to do it


The problem is:
If I run any program after having started X, it eats 99,9% of the CPU..... :(

Running a 'strace' on it, I see it's in an endless loop

# strace -p `pidof X`
gettimeofday({1058016041, 958536}, NULL) = 0
select(256, [1 3 4 5 8 9 10], NULL, NULL, {1759, 893000}) = 1 (in [4], left {1759, 900000})
read(4, "", 64) = 0
gettimeofday({1058016041, 958943}, NULL) = 0
select(256, [1 3 4 5 8 9 10], NULL, NULL, {1759, 893000}) = 1 (in [4], left {1759, 900000})
read(4, "", 64) = 0
................................................................................................................................
................................................................................................................................


Here's my init script:

#!/bin/sh
#
# S99local

echo "Starting up the WeBRainstorm Access control ... "

export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
export DISPLAY=:0.0


/usr/X11R6/bin/xinit /usr/bin/gflashplayer /usr/local/src/myacces/XMLSockMonitor.swf &
/usr/local/odontomax/movepointer 800 600


P.S. the problem is still there even if i sobstitute the 'movepointer' with a simple 'sleep 5'

Any ideas ??

Tnx a Lot
Regards

Edoardo Serra


_______________________________________________ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to