Hi,

I have rotation support working with XFree86 including coordination of 
display rotation and touch screen driver rotation.  That all is working 
very well, but we of course need to exit X and restart it for the new 
rotation to take effect.

This is fine for the initial deployment, but there is a requirement to have 
a button that kicks off a script that will kill off X and then restart it.

I have the restarting working just fine, but wondered if there was a safe, 
reliable way to kill X from a script?

Is there anything other than greping the output of ps, extracting the 
process ID for X and passing that to kill? If not, is there an example 
script somewhere that you could point me to?

Thanks,
Burt


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

Reply via email to