partially implement support for different init system for xwared launching