Sessreg is a simple program to manage utmp/wtmp entries for xdm sessions and other clients not started from init.