Running Java Swing Program in Linux through Telnet

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bytespaulraj
    New Member
    • Nov 2008
    • 3

    Running Java Swing Program in Linux through Telnet

    We have RHEL5 server. We could able to run Java programs through telnet

    But When we run Java Swing (GUI) we are getting GTK error

    Please help us to eliminate this error.
  • Nepomuk
    Recognized Expert Specialist
    • Aug 2007
    • 3111

    #2
    Hi!
    I'm guessing, you've not chosen to forward the X-Servers output. Therefore GTK doens't know where to display to.
    I'm not quite sure how to do that with telnet, but with ssh it would be
    Code:
    ssh -X address-of-the-server
    I'd recommend using ssh anyway, as it's much safer than telnet.

    Greetings,
    Nepomuk

    Comment

    • bytespaulraj
      New Member
      • Nov 2008
      • 3

      #3
      I am familiar with telnet but not with ssh.

      could you please tell me how do run ssh from xp ( as c:\telnet for telnet)









      Originally posted by Nepomuk
      Hi!
      I'm guessing, you've not chosen to forward the X-Servers output. Therefore GTK doens't know where to display to.
      I'm not quite sure how to do that with telnet, but with ssh it would be
      Code:
      ssh -X address-of-the-server
      I'd recommend using ssh anyway, as it's much safer than telnet.

      Greetings,
      Nepomuk

      Comment

      • Nepomuk
        Recognized Expert Specialist
        • Aug 2007
        • 3111

        #4
        Originally posted by bytespaulraj
        I am familiar with telnet but not with ssh.

        could you please tell me how do run ssh from xp ( as c:\telnet for telnet)
        Sure! Try using PuTTY - there's documentation available on that site too.

        As far as I know, there is little difference between how you use telnet and how you use ssh, although PuTTY offers a GUI for configuration (but I think you can use it with just the command line too).

        If you have any specific questions, you can't solve with the documentation, don't hesitate to ask here. :-)

        Greetings,
        Nepomuk

        Comment

        Working...