I recently installed the latest version of Ubuntu and I\'m not used to it yet. I had several problems connecting PostgreSQL with pgadmin3.
I tried to follow several tuto
Use the postgres user:
sudo su postgres
and then use psql.
If you still face problems check this link: PostgreSQL error: Fatal: role "username" does not exist