You should search... and theres command that does same but faster,
/sbin/initctl restart xsession/icd2