Postgresql - problem z konfiguracją

Witam,

Zainstalowałem sobie PostgreSQL poleceniem (na Ubuntu):

sudo apt-get install postgresql postgresql-client postgresql-contrib

(według tego poradnika: yp2.pendragon.com.pl/2008/12/…-w-ubuntu-804/ )

kiedy próbuje wykonać to:

sudo su postgres -c psql

to ubuntu zgłasza mi błąd:

root@spycar:~# sudo su postgres -c psql

could not change directory to “/root”

psql: could not connect to server: No such file or directory

Is the server running locally and accepting

connections on Unix domain socket “/var/run/postgresql/.s.PGSQL.5432”?

Wiecie może co jest nie tak??

Z góry dzięki za pomoc

ps. jak sprawdzić czy mam zainstalowaną wersję serwerową czy desktopową ubuntu??