I'm having some trouble getting pgadmin3 to run on a remote server. I'm logging in to the server using SSH with the -X option. When I first installed pgadmin3, I was able to launch it using the command "pgadmin3 &", and PG Admin would launch correctly using my local X server. Something has happened though, and now PG Admin will no longer launch. It bounces back with the message "Error: Unable to initialize gtk, is DISPLAY set properly?"

I'm using the same SSH command to log in to the server, and the same command to launch PG Admin, yet it is no longer working. I haven't made any changes to my SSH configuration, nor have I installed any new software, so I'm at a loss as to how this broke and how to go about fixing it. What could have happened to break this, and where do I start with fixing it?

link|improve this question

50% accept rate
So is DISPLAY set? (Check with echo $DISPLAY.) Can you run other X programs (e.g. xterm)? Can you run other GTK programs? – Gilles Sep 20 '10 at 23:30
feedback

2 Answers

The clue is in the error message: What is the DISPLAY environment variable set to?

It is probably incorrect or has changed.

link|improve this answer
feedback

Check that the xauth package is installed on the server, as it is needed for ssh X forwarding to work properly.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.