473,320 Members | 1,857 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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.
Nov 4 '08 #1
3 5015
Nepomuk
3,112 Expert 2GB
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
Expand|Select|Wrap|Line Numbers
  1. ssh -X address-of-the-server
I'd recommend using ssh anyway, as it's much safer than telnet.

Greetings,
Nepomuk
Nov 4 '08 #2
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)









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
Expand|Select|Wrap|Line Numbers
  1. ssh -X address-of-the-server
I'd recommend using ssh anyway, as it's much safer than telnet.

Greetings,
Nepomuk
Nov 7 '08 #3
Nepomuk
3,112 Expert 2GB
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
Nov 10 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Michael | last post by:
Hello I am trying to write a Java-Program which converts a XML-file in a HTML. It should take the Transformation-file from the XML-file itself. Below find a possible XML-file: <?xml...
5
by: DaWaN | last post by:
I've done a lot of java programming but never done any for the web. For most of what I've done was with Swing. So how difficult/different is it to still do some Java apps for the web from Swing?...
9
by: F. GEIGER | last post by:
I've dev'ed a Python prototype of an app, that besides the internals making it up has a gui. While test-driven dev'ing the app's internals in Python is fun as usual, dev'ing the GUI is not so...
4
by: Mairhtin O'Feannag | last post by:
Hello, According to the IBM website : http://www- 106.ibm.com/developerworks/linux/library/l-ss3-db2/ If you are using Red Hat 9, with its new thread library, Native POSIX Thread Library...
3
by: PieMan2004 | last post by:
Hi, ive been looking for a solid java community to help me when im tearing out my hair :) Basically ive constructed a GUI that has to represent the same look and functions of the typical windows...
5
by: erekose666 | last post by:
I have this program right now, but I need to modify it to output to the JTextPane. What I mean is, when someone clicks on the 1 button, it needs to output to the TextArea a 1. None of the add,...
34
by: Anthony Irwin | last post by:
Hi All, I am currently trying to decide between using python or java and have a few quick questions about python that you may be able to help with. #1 Does python have something like javas...
8
by: Gabriele | last post by:
I'm studying differences between those two architecture in order to choose a setup to develop a completely new application. I'm a programmer with some experience on C++ and PHP and i have basic...
1
by: twin2003 | last post by:
need help with inventory part 5 here is what I have to do Modify the Inventory Program by adding a button to the GUI that allows the user to move to the first item, the previous item, the next...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.