sed -i "s/^id:[3-5]/id:5/" /etc/inittab
if ! getent group lightdm 1>/dev/null 2>/dev/null ; then
	groupadd -g 800 lightdm
elif ! getent passwd lightdm 1>/dev/null 2>/dev/null ; then
	useradd -d /var/lib/lightdm -s /bin/false -u 800 -g 800 lightdm
fi

mkdir -p /var/lib/lightdm
chown -Rf lightdm:lightdm /var/lib/lightdm
mkdir -p /var/lib/lightdm-data
chown -Rf lightdm:lightdm /var/lib/lightdm-data
[ `mps -kk slim` = "kurulu" ] && mps sil slim
