Re: Trouble running remote Java apps with FC3
From: Bernie Lofaso (bjlofaso_at_nospam.utexas.net)
Date: Thu, 17 Feb 2005 09:01:59 -0600
Dances With Crows wrote:
> On Wed, 16 Feb 2005 15:03:05 -0600, Bernie Lofaso staggered into the
> Black Sun and said:
>>I have been running a workstation with Red Had Linux 9 on my desk. I
>>log into a remote machine (also running RH9) via 'ssh -X
>>machine_name'. Start up my java application and viola - the
>>application's GUI appears and I interact with it as if it were a
>>locally run app.
>>I decided to upgrade my machine to Fedora Core 3. I performed an
>>upgrade of the existing system rather than a complete wipe and
>>re-install of the OS. Now when I run my java app the window that
>>opens on my machine is full-screen, only part of the GUI shows, and
>>the part that shows looks like it thinks it's in a much smaller
>>window. I'm guessing that the fact that FC3 uses a different X-server
>>than RH9 is a probable cause.
> Doubt it. I'm using Xorg here and an older Redhat machine runs X
> clients like xterm fine and displays them here on my laptop.
xterm is not likely to exercise the x-server very well. A working xterm
isn't telling you much.
>>Additionally, I have tried to not use the X-protocol tunnelling
>>through ssh option.
> Probably the wrong thing to try. If you're getting problems with
> DISPLAY or "cannot connect to X server localhost:10", try "ssh -Y"
> instead of "ssh -X". But if ssh -X works, then the problem is not with
It was worth trying to eliminate as a possible problem, but I agree with
you, ssh is likely not the problem.
>>xclock -display myMachine:0.0
>>and even this doesn't work. I'm a bit baffled and nearly ready to nuke
> If you're getting an X client to work with ssh -X, try several X
> clients. If xterm displays fine and this Java app doesn't, the problem
> is with the Java app doing something stupid. I don't know what that
> could be though; I try to avoid Java apps unless there's no other way.
Avoiding the Java app isn't an option since my current job is developing
that app. :-) It also seems to work fine under X-servers running on
Solaris and Windows XP as well as the XFree86, so that still leaves me
eyeing the Xorg server with suspicion.
I'll install the latest and greatest java release just in case, but
otherwise it looks like I may have to re-install RH9 or switch distros.