Create a file by the name of the user in
/var/lib/AccountsService/users that contains these two lines:
Restart lightdm either by rebooting or running this from a console:
$ sudo service lightdm restart
The user will be treated as a SystemAccount and not be displayed.
If the username is
myusername the file would be:
myusername would not show on the Ubuntu login screen, nor would it show in the dropdown of the gear in the tp right of the screen control.
This works in Ubuntu 14.04 LTS.
You may want to also enable the greeter-show-manual-login function so that the user can login the system. You can do this by adding this to the
[SeatDefaults] section of the