Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Remote Java applications have blank windows
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jgunz
n00b
n00b


Joined: 11 Jul 2005
Posts: 3

PostPosted: Mon Jul 11, 2005 3:22 pm    Post subject: Remote Java applications have blank windows Reply with quote

I've just finished installing Gentoo, when running remote java apps through ssh with X11 tunneling, the application (swing) window shows up completely blank. The components seem to be there because clicking around in the blank window triggers other pop up windows or the title of the window to change appropriately. This is not application specific as I've tried several java apps (including externally developed applications, eg. netbeans). Non-java apps work fine.

The remote server is running X Protocol Version 11, Revision 0, Release 6.7 and the local server is running X Protocol Version 11, Revision 0, Release 6.8.2.

Any help would be greatly appreciated. Let me know if I should supply any other specs.

Thanks.
Back to top
View user's profile Send private message
jgunz
n00b
n00b


Joined: 11 Jul 2005
Posts: 3

PostPosted: Mon Jul 11, 2005 3:29 pm    Post subject: Java version Reply with quote

Forgot to mention that I have jdk-1.5.0-04 installed on the server, I also have the same version installed locally but that shouldn't matter.
Back to top
View user's profile Send private message
forgotten1
Guru
Guru


Joined: 11 Jan 2005
Posts: 477
Location: East Coast, USA

PostPosted: Mon Jul 11, 2005 3:47 pm    Post subject: Reply with quote

Did you follow the Gentoo Java Guide?
Back to top
View user's profile Send private message
jgunz
n00b
n00b


Joined: 11 Jul 2005
Posts: 3

PostPosted: Mon Jul 11, 2005 3:51 pm    Post subject: Seems to be fixed Reply with quote

After lots of googling I found a hint to try adding -Y to the ssh argument list when connecting. This seems to fix the problem. I've aliased ssh to use "ssh -XY" and now my Java apps are showing up correct. I'm not familar with this argument, the man page simply says it "Enables trusted X11 forwarding."

BTW, the remote system is not running Gentoo, so I did not follow the tutorial when setting it up.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum