Sherfudeen, You need to set the DISPLAY environment variable.
Most X applications allow you to set it on the command line, using '-display ws003:0.0'. That is, you would do this: rsh ws003 java -display ws003:0.0 -classpath /venbro/venbro.jar mainformall1 Another way to set the DISPLAY is to set it as an environment variable. rsh ws003 DISPLAY=ws003:0.0 java -classpath /venbro/venbro.jar mainformall1 Either one of the above commands should work for you. Jim McQuillan [EMAIL PROTECTED] Sherfudeen M wrote: >Hi all, > >* I want to run my java based application as local in all the >workstation....i am using ltsp2.09pre version. > >* And , my server consist of redhat6.2.... > >* B4 that i tested with netscape local version...it's working fine... > >* My porblem is when i execute my swing-based program in the server by >using the following command... > > > rsh ws003 java -classpath /venbro/venbro.jar mainformall1 ...then >it's showing the following error... > >Exception in thread "main" java.lang.InternalError: Can't connect to X11 >window server using ':0.0' as the value of the DISPLAY variable. > > at sun.awt.X11GraphicsEnvironment.initDisplay(Native >Method).....etc > >* Thanx in advance... > >Regards, >sherfudeen M > _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.openprojects.net