With Blackdown JDK 1.1x I could launch another java program with a GUI
from Runtime.exec. It just works, first time.

Now in JDK 1.2 it is more complicated:

The exec environment now requires a "DISPLAY=localhost:0"
The machine (Red Hat 5.1, Red Hat 6.0) needs xhost +localhost

This works if booting at runlevel 3.

If booting at runlevel 5 (ie xdm), the localhost X system refuses the
connection. xhost has no effect, mkxauth -c localhost doesn't do it
either.

I don't know if this is Red Hat specific, i've only tried runlevel=5 on
Red Hat 6.

Any suggestions appreciated.

Thanks, Jon.


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to