"Gtk-WARNING **: cannot open display" eror for browser install
Hi, I have a new istallation of SuSE and tried to install both Mozilla and Netscape on two different occasions. Each time I received this error: "Gtk-WARNING **: cannot open display" I checked that I have the required libraries with YaST2 and they are checked off so I assume they are installed. I read the FAQs and found nothing. I did a search of the web and found an example install that went like this: "Gtk-WARNING **: cannot open display: (My intuition told me that this was error in X display. I wasn't running X-win 5.0 at this time, so I ran Xwin and set display variable) # setenv DISPLAY 152.2.167.235:0" Trouble is I ran the setenv command but it was not recognized by my system. Any suggestions are appreciated. Noel Scott
The 03.01.02 at 12:45, noel scott wrote:
Hi,
I have a new istallation of SuSE and tried to install both Mozilla and Netscape on two different occasions. Each time I received this error: "Gtk-WARNING **: cannot open display" I checked that I have the required libraries with YaST2 and they are checked off so I assume they are installed.
Probably you are installing from an X sesion opened for an user? Exit X, log again as root, and try. I have both mozilla and netscape installed: mozilla from the suse rpm packages, and Netscape 7 from outside, with it's own install program, on /opt/netscape7. I think I also have netscape 4.7 from suse's rpms as well. After netscape is installed as root, you may use it as normal user. If you have mozilla installed previously, both mozilla and netscape7 will use the same configuration files and directories. -- Cheers, Carlos Robinson
Carlos E. R. wrote:
The 03.01.02 at 12:45, noel scott wrote:
Hi,
I have a new istallation of SuSE and tried to install both Mozilla and Netscape on two different occasions. Each time I received this error: "Gtk-WARNING **: cannot open display" I checked that I have the required libraries with YaST2 and they are checked off so I assume they are installed.
Probably you are installing from an X sesion opened for an user? Exit X, log again as root, and try. I have both mozilla and netscape installed: mozilla from the suse rpm packages, and Netscape 7 from outside, with it's own install program, on /opt/netscape7. I think I also have netscape 4.7 from suse's rpms as well.
After netscape is installed as root, you may use it as normal user. If you have mozilla installed previously, both mozilla and netscape7 will use the same configuration files and directories.
Thanks Carlos, That sounds like the correct answer. I can't say for sure as I was so frustrated at that point that I just reinstalled and made sure that I had all the packages that were missed the first time. Also, thanks to Rohit and John for setting me straight on the proper use of bash commands to set environment variables. Noel
noel scott wrote:
(My intuition told me that this was error in X display. I wasn't running X-win 5.0 at this time, so I ran Xwin and set display variable)
# setenv DISPLAY 152.2.167.235:0"
Trouble is I ran the setenv command but it was not recognized by my system.
Try # export DISPLAY=:0.0 Test with # excho $DISPLAY If this is what you need, it's usual to put it in .bashrc JDL
participants (4)
-
Carlos E. R.
-
John Lamb
-
Noel Scott
-
noel scott