Fixed syslog-ng. Added xdm, but not working yet. Minor refactor.