Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Oct 2007
problem launching mozilla from a service
I am facing a problem in launching mozilla browser from a program which is running in a service.I have a java program which opens a port and launches the mozilla browser from the terminal or CUI mode. When I run this program through a shell script everything works fine and the browser is easily started but when I tried to run the same program from a service, it opened the port but did not launch the browser.That means the service was running fine but still it could not launch the browser due to some unknown reason. Just to check the things I executed the runmozilla.sh from the service it gave an error as "GTK WARNING : Cannot open display" but the same command ran successfully to launch the browser when I tried it from the terminal.I am working on a Redhat Linux 8.0 and an RHEL 4, I need to create a service or something similar so that the task can be accomplished automatically at boot time or after the GUI is loaded, I am stuck with this therefore pls suggest some solutions.