Java GUI via command line sessions?
RH Enterprise Linux AS release 3
Kernel 2.4.21-15.0.2.ELsmp i686
We have students who use this server for Java programming classes.
They connect to the server via telnet.
They write their programs using text editors, compile using 'javac' and execute their programs using 'java'.
One problem that is being encountered is if they execute a program that is supposed to display labels, buttons, textfields or anything GUI related, the program will throw the following exception;
"Exception in thread "main" java.lang.InternalError: Can't connect to X11 window using ':0.0' as the value of the DISPLAY variable."
If the same program was executed in a terminal window at the console it would work as programmed.
My question is- how can the students get their GUI java apps to execute and display properly when connected to the server remotely?
Thanks!
-Giles
|