Results 1 to 1 of 1
I have a application that needs to be run at boot time.
The application has a dependency on the DISPLAY variable. The issue is that I can't set the DISPLAY ...
- 11-29-2006 #1Just Joined!
- Join Date
- Nov 2006
- Posts
- 2
xhost + from startup script
I have a application that needs to be run at boot time.
The application has a dependency on the DISPLAY variable. The issue is that I can't set the DISPLAY variable without calling "xhost +". If I execute "xhost +" from the shell script at boot time(/etc/init.d/myappservice), I get the following error:
xhost: unable to open display ""
The application I'm calling Tomcat. My web app uses graphical libraries and 3rd party applications that need the DISPLAY variable set.
Any help would be greatly appreciated!
Thanks,
bobdoj


Reply With Quote