Thread: PGAdmin 3 on Debian Testing: Failure
Hi Group! I have installed pgAdmin III on a Debian Testing System (Kernel 2.4.22). I have followed the instructions on <http://www.pgadmin.org/pgadmin3/download.php> by Raphaël Enrici. The programm seemed to install without any problems. When I try to start with "pgadmin3" however, I get the following error: (pgadmin3: 399): Gtk-WARNING **: cannot open display. I am not a Linux Guru. I do not know what to do in order to fix this problem. Do I have to install any additional software that is not mentioned by Raphaël Enrici? Any ideas? Thanks in advance Erwin Brandstetter
(oouppps, I forgot to CC to the list) Hi Erwin, Thank you for downloading pgadmin, this message is typical of a general display problem. I think tha t you may have launched pgadmin from a window where youdidn't get right to open any X applications (not only pgadmin3). Could you please check the following: - Just enter a new X session and try to launch pgadmin3 (it should work if your environment is correctly set...). - if the first step does not work can you tell us the result of this: echo $DISPLAY - can you also try to do a : xhost + (be aware that it is not secure) on your DISPLAY ? Can you also describe the way you are working on your host to launch pgadmin3 (if there are more than one host, from whereyou are connecting and such things...). Regards, Raphaël ----Message d'origine---- >Date: Mon, 13 Oct 2003 15:05:41 +0200 >De: Erwin Brandstetter <a9006241@unet.univie.ac.at> >A: pgadmin-support@postgresql.org >Sujet: [pgadmin-support] PGAdmin 3 on Debian Testing: Failure > >Hi Group! > >I have installed pgAdmin III on a Debian Testing System (Kernel 2.4.22). >I have followed the instructions on ><http://www.pgadmin.org/pgadmin3/download.php> by Raphaël Enrici. >The programm seemed to install without any problems. >When I try to start with "pgadmin3" however, I get the following error: > >(pgadmin3: 399): Gtk-WARNING **: cannot open display. > >I am not a Linux Guru. I do not know what to do in order to fix this >problem. Do I have to install any additional software that is not >mentioned by Raphaël Enrici? >Any ideas? > >Thanks in advance >Erwin Brandstetter > > >---------------------------(end of broadcast)--------------------------- >TIP 6: Have you searched our list archives? > > http://archives.postgresql.org > >
Hi Raphaël! Due to your hints i found out, that the problem is my X-configuration. I am trying to fix it (which turns out to be tricky) and will report back, when i find a solution. Maybe I was naiv, but I did not know pgadmin3 needs an X-server to be installed. I only read about wxWindows and assumed this would be installed with the pgadmin3-.debs by apt-get automatically. As I mentioned, I am no Linux Guru. I use the Linux system as database server and had no need for X so far. Thanks Erwin Brandstetter blacknoz@club-internet.fr wrote: > (oouppps, I forgot to CC to the list) > > > > Hi Erwin, > > Thank you for downloading pgadmin, > > this message is typical of a general display problem. I think tha t you may have launched pgadmin from a window where youdidn't get right to open any X applications (not only pgadmin3). > > Could you please check the following: > - Just enter a new X session and try to launch pgadmin3 (it should work if your environment is correctly set...). > - if the first step does not work can you tell us the result of this: > echo $DISPLAY > - can you also try to do a : > xhost + > (be aware that it is not secure) on your DISPLAY ? > > Can you also describe the way you are working on your host to launch pgadmin3 (if there are more than one host, from whereyou are connecting and such things...). > > Regards, > Raphaël > > > ----Message d'origine---- > >>Date: Mon, 13 Oct 2003 15:05:41 +0200 >>De: Erwin Brandstetter <a9006241@unet.univie.ac.at> >>A: pgadmin-support@postgresql.org >>Sujet: [pgadmin-support] PGAdmin 3 on Debian Testing: Failure >> >>Hi Group! >> >>I have installed pgAdmin III on a Debian Testing System (Kernel 2.4.22). >>I have followed the instructions on >><http://www.pgadmin.org/pgadmin3/download.php> by Raphaël Enrici. >>The programm seemed to install without any problems. >>When I try to start with "pgadmin3" however, I get the following error: >> >>(pgadmin3: 399): Gtk-WARNING **: cannot open display. >> >>I am not a Linux Guru. I do not know what to do in order to fix this >>problem. Do I have to install any additional software that is not >>mentioned by Raphaël Enrici? >>Any ideas? >> >>Thanks in advance >>Erwin Brandstetter >> >> >>---------------------------(end of broadcast)--------------------------- >>TIP 6: Have you searched our list archives? >> >> http://archives.postgresql.org >> >> > > >
Erwin Brandstetter wrote: > Hi Raphaël! Hi Erwin, > Due to your hints i found out, that the problem is my X-configuration. > I am trying to fix it (which turns out to be tricky) and will report > back, when i find a solution. If I can give you an advice concerning the installation of X on debian, you should at least consider installing the meta-package: x-window-system. To do this, simply type the following as root: apt-get -u install x-window-system If you prefer you can try to run "tasksel" and select a desktop environment, it's quite well done and should work rapidly if you know your graphic card. > Maybe I was naiv, but I did not know pgadmin3 needs an X-server to be > installed. I only read about wxWindows and assumed this would be > installed with the pgadmin3-.debs by apt-get automatically. As I > mentioned, I am no Linux Guru. I use the Linux system as database > server and had no need for X so far. If I understand well, your linux box is only a database server that you use from other os ? If you are planning to use pgadmin3 from a Windows host, you should consider installing the win32 packages on your windows box and it should be enough.... If you are planning to use pgadmin3 directly (I mean physically) on the linux host, then go on with the Xwindow installation. If you enconunter problem with this, contact me, I'll try to help although it is another problem :) regards, Raphaël > Thanks > Erwin Brandstetter > > blacknoz@club-internet.fr wrote: > >> (oouppps, I forgot to CC to the list) >> >> >> >> Hi Erwin, >> >> Thank you for downloading pgadmin, >> >> this message is typical of a general display problem. I think tha t >> you may have launched pgadmin from a window where you didn't get >> right to open any X applications (not only pgadmin3). >> >> Could you please check the following: >> - Just enter a new X session and try to launch pgadmin3 (it should >> work if your environment is correctly set...). >> - if the first step does not work can you tell us the result of this: >> echo $DISPLAY >> - can you also try to do a : >> xhost + >> (be aware that it is not secure) on your DISPLAY ? >> >> Can you also describe the way you are working on your host to launch >> pgadmin3 (if there are more than one host, from where you are >> connecting and such things...). >> >> Regards, >> Raphaël >> >> ----Message d'origine---- >> >>> Date: Mon, 13 Oct 2003 15:05:41 +0200 >>> De: Erwin Brandstetter <a9006241@unet.univie.ac.at> >>> A: pgadmin-support@postgresql.org >>> Sujet: [pgadmin-support] PGAdmin 3 on Debian Testing: Failure >>> >>> Hi Group! >>> >>> I have installed pgAdmin III on a Debian Testing System (Kernel >>> 2.4.22). >>> I have followed the instructions on >>> <http://www.pgadmin.org/pgadmin3/download.php> by Raphaël Enrici. >>> The programm seemed to install without any problems. >>> When I try to start with "pgadmin3" however, I get the following error: >>> >>> (pgadmin3: 399): Gtk-WARNING **: cannot open display. >>> >>> I am not a Linux Guru. I do not know what to do in order to fix this >>> problem. Do I have to install any additional software that is not >>> mentioned by Raphaël Enrici? >>> Any ideas? >>> >>> Thanks in advance >>> Erwin Brandstetter >>> >>> >>> ---------------------------(end of >>> broadcast)--------------------------- >>> TIP 6: Have you searched our list archives? >>> >>> http://archives.postgresql.org >>> >>> >> >> >> >
Erwin Brandstetter wrote: > Hi Raphaël! > > Due to your hints i found out, that the problem is my X-configuration. > I am trying to fix it (which turns out to be tricky) and will report > back, when i find a solution. > > Maybe I was naiv, but I did not know pgadmin3 needs an X-server to be > installed. I only read about wxWindows and assumed this would be > installed with the pgadmin3-.debs by apt-get automatically. As I > mentioned, I am no Linux Guru. I use the Linux system as database > server and had no need for X so far. > Well, pgAdmin3 is a GUI tool, and thus needs X... If you want to live command line, psql is your friend. Regards, Andreas