On Mon, May 03, 2010 at 01:51:01PM +0200, Klaus Fuerth wrote:
> Hi!
> 
> On 03.05.2010 13:02 Jan Vlug wrote:
> >-----BEGIN PGP SIGNED MESSAGE-----
> >Hash: SHA1
> >
> >
> >On 05/03/2010 12:50 PM, Martin Jansa wrote:
> >>do you have some custom calibration? can you try to remove it for test?
> >>mv /etc/pointercal.xinput /etc/pointercal.xinput.disabled
> >>
> 
> This works for me too, xserver starts again. Thank you very much!

I'll send better patch later.. but at least for omnewrotate is enough to
run Xsession.d scripts each in separate shell instead of sourcing them
to parent shell

r...@gojama /var/log # diff -uNr /etc/X11/Xsession.orig
/etc/X11/Xsession
--- /etc/X11/Xsession.orig      Mon May  3 14:01:33 2010
+++ /etc/X11/Xsession   Mon May  3 14:02:03 2010
@@ -40,7 +40,7 @@
   for SESSIONFILE in $SESSIONFILES; do
   # Test if script is executable first before sourcing it
     if [ -x "$SYSSESSIONDIR/$SESSIONFILE" ]; then
-      . $SYSSESSIONDIR/$SESSIONFILE
+      sh $SYSSESSIONDIR/$SESSIONFILE > /var/log/$SESSIONFILE.log 2>&1
     fi
   done
 fi


I was expecting that
export DISPLAY=:0 in
/etc/init.d/omnewrotate
actually replacing export DISPLAY=localhost:0 from /etc/profile, is the cause, 
but it's not.. 
running omnewrotate without start-stop-daemon also works.. i'll
investigate more, but now at work I don't have enough time.. so sorry
for inconvinience (I tested it on my images + upgrade patch and fresh
images reflashed, but all didn't have omnewrotate and also no custom
calibration..).

Patches, ideas are welcome :). 

Regards,

-- 
uin:136542059                jid:[email protected]
Jansa Martin                 sip:[email protected] 
JaMa                         
_______________________________________________
Shr-User mailing list
[email protected]
http://lists.shr-project.org/mailman/listinfo/shr-user

Reply via email to