I have pgadmin3 installed on my ubuntu server following the instructions I got here https://help.ubuntu.com/community/PostgreSQL. I know that DO also has instructions but that’s only for PHPpgadmin on apache https://www.digitalocean.com/community/articles/how-to-install-phppgadmin-on-a-virtual-server-running-ubuntu-12-04
Anways, the ubuntu instructions that I linked to say to start pgadmin3 by typing that command in the terminal, but when I do I get this error
Error: Unable to initialize gtk, is DISPLAY set properly?
when I do echo $DISPLAY it returns nothing.
I’m wondered if I have gtk installed but I didn’t know how to check, and when I googled around, I found a lot of different (very old)instructions for installing gtk, some involving python, which I’m not using on my server (i have ruby installed) therefore I’m nervous about running random commands I find on the net
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.