Thank you syncmasterpt, worked for me except if one is running gnome, the command required is:

sudo /etc/init.d/gdm restart