08-11-2009
Help on X Window service
Hi,
Need some help on the below issue or providing a pointer also would help
We have an application which will run as a service in Solaris (Sun4v) SPARC (The application will be displaying the popup messages).
For the service we are setting the display. As soon as the service starts we will get the popup messages.
But if we reboot the machine, the service for the application is online before the X Server comes up (May not be able to find the X Window Server), and the popup is not coming once the user log's into the machine.
Tried to set the Dependency with the X11-Server, but the Service is always in maintenance mode.
We are getting the following exception:
Could not initialize class sun.awt.X11GraphicsEnvironment
Is there any X Window service, we can set the dependency (or) is there any API in java to check whether the Graphics display is up (or) not?
Thanks,
Narendra
5 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Hello,
We someone help me resolve this problem. I have window 2000 professional, windows 98 and Unixware 7.0.1 on the network. I was able to establish connection with all. However, l was unable to ping window 98 from window 2000 professional. I was able to ping the window 2000 from the window... (10 Replies)
Discussion started by: kayode
10 Replies
2. Red Hat
Hi everyone!
I have a strange situation. I'm running an NX remote Gnome desktop session. On the remote machine, there is a whole load of unsaved data in a window. A problem that I've been having with this NX session is that I can't load Gnome Applets, including the Window Switcher. So.. when I... (0 Replies)
Discussion started by: alexandicity
0 Replies
3. Solaris
Hi All, We are using solaris samba server for our company project to provide access to code to our development team.Recently our ICT has disabled wins service on Active directory due which user are not able to connect to samba share and they are getting error "No logon server available" as samba... (2 Replies)
Discussion started by: sahil_shine
2 Replies
4. UNIX for Beginners Questions & Answers
Is it possible to toggle back and forth between an xterm invoked from one tty, and a shell invoked from a different tty?
I am running Centos 7 with KDE and booting in non-graphic mode. After logging in on the default window (/dev/tty1) , I can then use ALT-F2 to access a new window (/dev/tty2),... (1 Reply)
Discussion started by: rhgscty
1 Replies
5. UNIX for Beginners Questions & Answers
Hi all
I would like to know how to run task2.service after task1.service has finished.
task1.service has a timer (task1.timer), that makes it run every 5 minutes
OnCalendar=*:0/5task2.service is basically a script, that has to work on the files created after task1 has finished.
This is what I... (2 Replies)
Discussion started by: guilliber
2 Replies