Re: X-Window and Java question

From: Kevin Collins (spamtotrash_at_toomuchfiction.com)
Date: 05/20/04


Date: Thu, 20 May 2004 17:49:20 GMT

In article <8176bad5c7be7a816483ea3c194b6577@news.teranews.com>, glh-usenet
wrote:
> I have inherited the responsibility of setting up a college lab for java
> classes. I know next to nothing about java and have a few questions;
>
> Our current configuration is;
> Windows 2000 / XP lab machines with J2SE 1.4.2
>
> Redhat 8.0 server with J2SE 1.4.2
>
> Students telnet into the Redhat server and use PICO to create their
> programs.
>
> My question is;
>
> If the student programs are designed to display GUI type boxes would this be
> possible via telnet?
>
> From my limited experience with Linux I would think they would need XWindows
> access to do this.
>
> In another group it was suggested that I install an X Server on the Windows
> machine and set my DISPLAY variable.
>
> Does this make sense?
>
> I guess my next step is to find an X Server for Windows.

Better is to use VNC, which allows you to run just an X "viewer" from Windows
while the server runs on linux. The server component (vncserver) should already
be installed as part of RedHat 8.

Check out: http://www.realvnc.com/ to download the windows viewer (vncviewer).
What's really nice is that it is all free, works over "thin" networks and is
supported on many platforms.

What I've done to make it simpler (no installing vncviewer on all systems) is
to create a Samba share on a linux box that has the windows vncviewer and have
the windows users do:

Start -> Run: \\linuxbox\vnc\vncviewer.exe

Also, in regards to other's post about ssh instead of telnet, keep in mind that
unless you use "X tunneling", all the X traffic is just as insecure as the
telnet and probably more so as X is easily hijacked.

If you want to use ssh, I highly recommend the use of 'putty' for Windows:

http://www.chiark.greenend.org.uk/~sgtatham/putty Kevin

Kevin



Relevant Pages

  • Re: Product for Running Embedded C# Application
    ... Telnet sessions or Web sessions with our Web server on the device and a lot ... There's a Telnet server available to Windows CE ... communicates with specific hardware and forwards data to a back end ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Game Company- Java Server Thread Priority
    ... If all of the underlying system and setup of Windows is identical to the ... for the application that was running on the old server. ... > Java program on a windows 2003 enterprise system with dual ... > When we first set this up, the Game Server Program took exactly 50% of the ...
    (comp.lang.java)
  • Re: Game Company- Java Server Thread Priority
    ... If all of the underlying system and setup of Windows is identical to the ... for the application that was running on the old server. ... > Java program on a windows 2003 enterprise system with dual ... > When we first set this up, the Game Server Program took exactly 50% of the ...
    (comp.lang.java.programmer)
  • Re: Game Company- Java Server Thread Priority
    ... If all of the underlying system and setup of Windows is identical to the ... for the application that was running on the old server. ... > Java program on a windows 2003 enterprise system with dual ... > When we first set this up, the Game Server Program took exactly 50% of the ...
    (comp.lang.java.help)
  • Re: [JAVA] XTAPI with MSTAPI or Serial Provider
    ... Yes I did assume Java would not work with the Windows API - as it is cross ... TAPI is a Microsoft/Intel 'product' so is restricted to the Windows ... I designed a socket server which has to sit on a Windows NT based ...
    (microsoft.public.win32.programmer.tapi)