Thread: Unable to initialize gtk, is DISPLAY set properly?
(Newbie here) 1. I successfully installed Ubuntu server 32 bit on my computer. 2. Then I installed PostgreSQL and PgAdmin3, I believed they were successfully installed. 3. After I typed "pgadmin3" in the terminal, it replied "Unable to initialize gtk, is DISPLAY set properly?" said gtk was not installed so... 4. I looked up search here and Castet JQ Feb,10,2009 advised "$ export DISPLAY=:0.0" 5. I typed that command minus $, entered and root@server command line came out so I believe it was successfully installed. 5. After that, I typed "pgadmin3" in the terminal but it still replied "Unable to initialize gtk, is DISPLAY set properly?" Please advise -- View this message in context: http://postgresql.1045698.n5.nabble.com/Unable-to-initialize-gtk-is-DISPLAY-set-properly-tp5112938p5112938.html Sent from the PostgreSQL - pgadmin support mailing list archive at Nabble.com.
You aren't logged into X as root. Start pgadmin3 as the user you're logged in as. Sent from my iPhone On Jan 1, 2012, at 1:14 AM, badaveil <badaveil@gmail.com> wrote: > (Newbie here) > > 1. I successfully installed Ubuntu server 32 bit on my computer. > 2. Then I installed PostgreSQL and PgAdmin3, I believed they were > successfully installed. > 3. After I typed "pgadmin3" in the terminal, it replied "Unable to > initialize gtk, is DISPLAY set properly?" said gtk was not installed so... > 4. I looked up search here and Castet JQ Feb,10,2009 advised "$ export > DISPLAY=:0.0" > 5. I typed that command minus $, entered and root@server command line came > out so I believe it was successfully installed. > 5. After that, I typed "pgadmin3" in the terminal but it still replied > "Unable to initialize gtk, is DISPLAY set properly?" > > Please advise > > -- > View this message in context: http://postgresql.1045698.n5.nabble.com/Unable-to-initialize-gtk-is-DISPLAY-set-properly-tp5112938p5112938.html > Sent from the PostgreSQL - pgadmin support mailing list archive at Nabble.com. > > -- > Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgadmin-support
Dear Dicaire,
Thanks for your reply. I did what you advise but the result is the same. Francisco Leovey replied a bit earlier than you stating that "PgAdmin MUST be run under a graphical environment. Do a startx to bring up the GDI" which I will try at the office since I have a spare computer to play around there.
Thanks
badaveil
--
ubuntu: Linux for human beings
On 1 January 2012 22:05, Rick Dicaire <kritek@gmail.com> wrote:
You aren't logged into X as root. Start pgadmin3 as the user you're logged in as.
Sent from my iPhone
On Jan 1, 2012, at 1:14 AM, badaveil <badaveil@gmail.com> wrote:
> (Newbie here)
>
> 1. I successfully installed Ubuntu server 32 bit on my computer.
> 2. Then I installed PostgreSQL and PgAdmin3, I believed they were
> successfully installed.
> 3. After I typed "pgadmin3" in the terminal, it replied "Unable to
> initialize gtk, is DISPLAY set properly?" said gtk was not installed so...
> 4. I looked up search here and Castet JQ Feb,10,2009 advised "$ export
> DISPLAY=:0.0"
> 5. I typed that command minus $, entered and root@server command line came
> out so I believe it was successfully installed.
> 5. After that, I typed "pgadmin3" in the terminal but it still replied
> "Unable to initialize gtk, is DISPLAY set properly?"
>
> Please advise
>
> --
> View this message in context: http://postgresql.1045698.n5.nabble.com/Unable-to-initialize-gtk-is-DISPLAY-set-properly-tp5112938p5112938.html
> Sent from the PostgreSQL - pgadmin support mailing list archive at Nabble.com.
>
> --
> Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-support
ubuntu: Linux for human beings