Ubuntu 12.04 unable to find /dev/ttyACM0

I added username to dialout then plugged UNO in. It was recognised and reported on /dev/ttyACM. Tried to upload - error message.

Disconnected without closing Arduino interface, reconnected and upload successful. Fails on serial console sometimes.