cancel
Showing results for 
Search instead for 
Did you mean: 

Error Opening Mozilla

SOLVED
Go to solution
Avinash Lengure
Occasional Advisor

Error Opening Mozilla

Hi ,

When i try to open my mozilla from root login , i get following error :

Gtk-Warning **: cannot open display


Can anybody fix the issue and provide help ASAP...?

Thanks in advance to all the HP-UX Gurus..
5 REPLIES
Robert-Jan Goossens
Honored Contributor
Solution

Re: Error Opening Mozilla

Hi,

Export your display setting to your ip-address.
# who am i -uH
# export DISPLAY=your_ip_address:0.0

Regards,
Robert-Jan
likid0
Honored Contributor

Re: Error Opening Mozilla

You also need an xserve runing on your client machine, if you don't have one, xming is and excellentt open source option for windows.

Windows?, no thanks
Avinash Lengure
Occasional Advisor

Re: Error Opening Mozilla

Thanks for your Quick response.How can we check whether xserve is running or not?
likid0
Honored Contributor

Re: Error Opening Mozilla

The xserver must be installed in your client pc, there a may xserver clients for windows. check on your pc if you have one installed. If you have it installed, fire it up , export the display terminal as the previous post told you, and then lauch mozilla.
Windows?, no thanks
Jozef_Novak
Respected Contributor

Re: Error Opening Mozilla

Hello,

are you connected locally via the server's graphic card or remotely through XDMCP ? You have to be using an xterm to start mozilla from the command line.

In case you are connected on a local display console, set your DISPLAY variable as follows:

#export DISPLAY=server_ip_address:0.0

In case you are connected remotely, set it to be your PC address where your X server is running:

#export DISPLAY=PC_ip_address:0.0

then, start mozilla:

#/opt/mozilla/mozilla &

Regards,
Jozef