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 |
The issue (generalizing) is that the Display Manager (GDM) owns the keyboard, mouse and the display. Your process would need to be a client of the display manager or X server. One possible way is to set up a client in /etc/X11/xinit/Xclients.d or in ~/Xclients. You could figure out a way to communicate between your service and your xclient, possibly by a named pipe. On 01/30/2013 04: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: >> ~./Xclients >>> 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. >> -- Jerry Feldman <gaf at blu.org> Boston Linux and Unix PGP key id:3BC1EB90 PGP Key fingerprint: 49E2 C52A FC5A A31F 8D66 C0AF 7CEA 30FC 3BC1 EB90
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |