[Discuss] runlevel 5 service cannot connect to display

Edward Ned Harvey (blu) blu at nedharvey.com
Thu Jan 31 08:24:49 EST 2013


> From: discuss-bounces+blu=nedharvey.com at blu.org [mailto:discuss-
> bounces+blu=nedharvey.com at blu.org] On Behalf Of William Chan
> 
> I have my service  #chkconfig 5 99 37 since my service needs x11
> My service subscribes to Messaging Queue and makes call to an application
> which uses x11.

If you're trying to run a service that requires x11, don't run it as a system service.  (Because it's going to need some active x11 session anyway.)  Try something else like ... In gnome, go to System / Preferences, and configure some login script.  So when you login, this thing will automatically launch.

Or something similar.




More information about the Discuss mailing list