Pgadmin3 Error Unable To Initialize Gtk Is Display Set Properly
Contents |
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings unable to initialize gtk is display set properly mac and policies of this site About Us Learn more about Stack Overflow the
Filezilla Error Unable To Initialize Gtk Is Display Set Properly
company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges
Unable To Initialize Gtk Is Display Set Properly Linux
Unanswered Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody
Error Unable To Initialize Gtk Is Display Set Properly Linux
can ask a question Anybody can answer The best answers are voted up and rise to the top pgadmin3: Unable to initialize gtk, is DISPLAY set properly? [closed] up vote 6 down vote favorite 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, error unable to initialize gtk is display set properly centos 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? server ssh postgresql share|improve this question edited Nov 17 '10 at 0:07 Jorge Castro 24.6k91387589 asked Sep 20 '10 at 17:06 Warren Pena 1,05051112 closed as too localized by Luis Alvarado♦ Mar 14 '13 at 17:17 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinari
have one accepted answer. Are you sure you want to replace the current answer with this one? Yes, I'm sure. Changed your mind? You previously marked this answer as accepted. Are you sudo error unable to initialize gtk is display set properly sure you want to unaccept it? Yes, I'm sure. Sign Up Log In unable to initialize gtk could not open display virt-manager submit Tutorials Questions Projects Meetups Main Site logo-horizontal DigitalOcean Community Menu Tutorials Questions Projects Meetups Main Site Sign Up Log In error unable to initialize gtk is display set properly putty submit View All Results By: m73mitchell Subscribe Subscribed Share 0 starting pgadmin3, installing gtk? June 16, 2013 4.4k views I have pgadmin3 installed on my ubuntu server following the instructions I got here https://help.ubuntu.com/community/PostgreSQL. http://askubuntu.com/questions/4444/pgadmin3-unable-to-initialize-gtk-is-display-set-properly 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 https://www.digitalocean.com/community/questions/starting-pgadmin3-installing-gtk 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 Log In to Comment Leave a Comment Add comments here to get more clarity or context around a question. To answer a question, use the “Answer” field below. Log In to Comment 4 Answers 0 kamaln7 MOD June 17, 2013 pgadmin3 is a graphical client for managing your postgresql databases. Assuming you want something like phpmyadmin, I suggest setting up phpPgAdmin (http://phppgadmin.sourceforge.net/doku.php). Installation instructions can be found here: https://raw.github.com/phppgadmin/phppgadmin/master/INSTALL Reply Log In to Comment 0 m73mitchell June 17, 2013 Why do you assume I want something like phpmyadmin? I don't have php installed on my server (and don't plan to) so I thought I had to use pgadmin3, which I also have on my local machine Reply Log In to Comment 0 kamaln7 MOD June 17, 2013 > "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" > "I have pgadmin3 installed on my ubuntu *server*" Your server doesn't have a desktop
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow http://unix.stackexchange.com/questions/277699/gksudo-user-postgres-pgadmin3-produces-unable-to-initialize-gtk-why the company Business Learn more about hiring developers or posting ads with us Unix & https://www.postgresql.org/message-id/CABBOJxe3V0HTacdd%2B0JF9U4zNtCe9tTMfhLJugXZ8HRqFyB_nw@mail.gmail.com Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise unable to to the top gksudo --user postgres pgadmin3 produces Unable to initialize GTK+. Why? up vote 0 down vote favorite $ pgadmin3 $ pcmanfm $ gksudo pcmanfm Invoke the programs fine but: $ gksudo --user postgres pgadmin3 Produces: 19:38:10: Error: Unable to initialize GTK+, is DISPLAY set properly? Why? gtk share|improve this question asked Apr 20 at 2:57 C.W.Holeman II 1,16221530 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted unable to initialize By default, another user does not have permission to use the X screen. This works for me: xhost SI:localuser:postgres gksudo --user postgres pgadmin3 # or sudo -u postgres -H pgadmin3 Related answer: What does this `xhost ...` command do? share|improve this answer answered Apr 26 at 11:11 Daniel Vérité 1514 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged gtk or ask your own question. asked 6 months ago viewed 74 times active 6 months ago Linked 2 What does this `xhost …` command do? Related 0White listing directories for GTK1Skype gtk style not working on debian squeeze 643Modifying menu color of a gtk 3.0 theme1Why are certain menus unreadable when using a new GTK+ theme with Nautilus?1GConf-WARNING **: Client failed to connect to the D-BUS daemon: Unable to autolaunch when setuid0gnome-session error on rhel (canberra-gtk-module error)1Why do I need GTK+ to build GTK+? And how to fix it1Trigger a GTK application from CHROOT during LightDM startup0How to enable GTK theming (wine-staging) in P
Regional lists Associations User groups Project lists pgadmin-hackers pgadmin-support pgsql-jdbc pgsql-odbc pgsql-pkg-debian pgsql-pkg-yum psycopg Inactive lists IRC Local User Groups Featured Users International Sites Propaganda Resources Weekly News Re: Unable to initialize gtk, is DISPLAY set properly? From: badaveil