Fedora Linux Support Community & Resources Center
  #1  
Old 28th May 2010, 02:55 PM
IYIaster Offline
Registered User
 
Join Date: May 2010
Posts: 10
windows_98_nt_2000safari
Display graphics from service?

I have a service running as root. This service doesn't have a main graphical screen, but if there is an error it has a pop up box that lets the user know. Of course the user wouldn't be logged into root so how do I get the graphics to show up on a different users desktop?
Reply With Quote
  #2  
Old 28th May 2010, 03:31 PM
forkbomb's Avatar
forkbomb Offline
Registered User
 
Join Date: May 2007
Location: U.S.
Posts: 4,851
windows_7firefox
Re: Display graphics from service?

It'd help if you mentioned what "service" you're running.
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
Reply With Quote
  #3  
Old 28th May 2010, 03:34 PM
IYIaster Offline
Registered User
 
Join Date: May 2010
Posts: 10
windows_98_nt_2000safari
Re: Display graphics from service?

Quote:
Originally Posted by forkbomb View Post
It'd help if you mentioned what "service" you're running.
It's a service using Java Service Wrapper that I created. It's a backup utility that I created.
Reply With Quote
  #4  
Old 28th May 2010, 04:09 PM
brunson Offline
Registered User
 
Join Date: Jun 2005
Location: Westminster, Colorado
Posts: 2,306
linuxfedorafirefox
Re: Display graphics from service?

Try using notify to display you message to the logged in user.

Code:
/usr/bin/notify-send -t 0 'Danger!' 'Will Robinson!'
There are programmatic APIs to libnotify, you can probably google one for Java.

Edit, you might start here: http://skaba.wordpress.com/2009/05/1...dding-actions/
__________________
Registered Linux User #4837
411th in line to get sued by Micro$oft
Quote:
Basically, to learn Unix you learn to understand and apply a small set of key ideas and achieve expertise by expanding both the set of ideas and your ability to apply them - Paul Murphy

Last edited by brunson; 28th May 2010 at 04:17 PM.
Reply With Quote
Reply

Tags
display , graphics , service

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Corrupted Display/Bad Graphics Card?/I think it's sick 161803399 Using Fedora 6 4th December 2009 08:02 PM
Display/Graphics problem HP 6730b tinti Hardware & Laptops 0 22nd November 2009 09:00 PM
FC5 does not seem to recognize that I have a graphics display. jonhumphrey EOL (End Of Life) Versions 2 25th March 2006 07:29 PM


Current GMT-time: 08:19 (Sunday, 22-10-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat