Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] runlevel 5 service cannot connect to display



If you don't need the UI, then you can convince java to not require a
display.  Google for "java headless" to get pointers.

Matt

On 1/30/2013 4:37 PM, William Chan wrote:
> Actually, the service is just a JMS consumer, it doesn't require UI. When
> it receive a message, it calls an external application which needs X11.
> There is actually nothing shows on display.
> 
> On 1/30/13 4:26 PM, "Rich Pieri" <richard.pieri at gmail.com> wrote:
> 
>> On Wed, 30 Jan 2013 13:05:03 -0800
>> William Chan <wichan at adobe.com> wrote:
>>
>>> I have my service  #chkconfig 5 99 37 since my service needs x11
>>
>> If it requires X11 then it isn't a service. It's an X11 application. It
>> will never run as a service as long as it requires an active X11 server.
>>
>> I suggest separating the service from the UI. This way you can run the
>> service as a service and the UI as a UI.
>>
>> -- 
>> Rich P.
>> _______________________________________________
>> Discuss mailing list
>> Discuss at blu.org
>> http://lists.blu.org/mailman/listinfo/discuss
> 
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://lists.blu.org/mailman/listinfo/discuss
> 




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org