try this command line: "/usr/bin/xinit /path/to/your/script -- /usr/bin/X -quiet"<br><br><div class="gmail_quote">On Wed, Sep 23, 2009 at 3:07 PM, Stephan Raue <span dir="ltr"><<a href="mailto:mailinglists@openelec.tv">mailinglists@openelec.tv</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all,<br>
<br>
i have a problem to start Xorg with my other programs with xinit. before<br>
i have updated to the new xorg-server with needed libs, protos etc.<br>
xorg-server has startet with xinit in 1-2 seconds. now starting xorg<br>
needs about 15 seconds. this problem i have some weeks.<br>
<br>
i use xinit-1.1.1<br>
<br>
my xserverrc:<br>
<br>
#!/bin/sh<br>
<br>
. /etc/sysconfig<br>
<br>
args="-s 0 -br -allowMouseOpenFail "<br>
<br>
mkdir -p /var/cache/xkb<br>
exec /usr/bin/X :0.0 vt$TTY ${args} > /dev/null 2>&1<br>
<br>
my xinitrc:<br>
<br>
#!/bin/sh<br>
<br>
. /etc/sysconfig<br>
<br>
for file in /etc/xinitrc.d/* ; do<br>
. ${file}<br>
done<br>
<br>
where ${file} starts my programs.<br>
<br>
i start xinit with: xinit $XINITRC -- $XSERVERRC > /dev/null 2>&1<br>
when i am start<br>
<br>
/usr/bin/X :0.0 vt01 -s 0 -br -allowMouseOpenFail & sleep 2 &&<br>
/usr/bin/my_sript<br>
<br>
the xorg starts in 1-2 seconds and my script 2 seconds later (because of<br>
the "sleep" that i need to let xorg-server starts)<br>
<br>
what can i do to see what is wrong? can i start xorg without xinit and<br>
without a sleep, so my script starts directly when the xorg-server is up<br>
(i need a very very fast start - my goal is a <5sec. start from grub to<br>
my application)?<br>
<br>
--<br>
### OpenELEC.tv ###<br>
The free and open Mediacenter Distribution 4 you<br>
<a href="http://www.openelec.tv" target="_blank">http://www.openelec.tv</a><br>
<br>
_______________________________________________<br>
xorg mailing list<br>
<a href="mailto:xorg@lists.freedesktop.org">xorg@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/xorg" target="_blank">http://lists.freedesktop.org/mailman/listinfo/xorg</a><br>
</blockquote></div><br>