Oct 12
Linux
I connect to a Solaris server using ssh, and turning "ForwardX11 yes" in my ssh client, as well as "X11Forwarding yes" in my remote solaris server.
The X11 forwarding works fine, because i can exec and view remote solaris dtterms in my slackware machine.
The problem is with java swing apps, like Veritas vea, which, when run, is displayed, but in an incorrectly huge window size, and with some parts not well redrawn, to the point that it is unusable. Also affected is the WebSphere console...

This is an old bug:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4374153

Everyone basically tells you to set these variables on your shell before executing vea:
NO_AWT_MITSHM=true
NO_J2D_DGA=true
export NO_AWT_MITSHM;export NO_J2D_DGA

But i tried it to no avail. What solved the problem for me was adding a line to my /etc/ssh/ssh_config like this:
ForwardX11Trusted yes

after this everything worked fine!


Posted by rdircio

| Top Exits (0)
Vote for articles fresher than 7 days!
Current karma: none, 0 vote(s) 2898 hits

View as PDF: This entry | This month | Full blog

0 Trackbacks

  1. No Trackbacks

2 Comments

Display comments as(Linear | Threaded)
  1. Dmitri Trembovetski says:

    Hello,

    what jdk version did you use? Could you try mustang (jdk6.0) from mustan.dev.java.net?

    If it doesn't work with jdk6, could you try setting AWT_TOOLKIT=MToolkit
    and see if it helps.

    Thanks,
    Dmitri
    Java2D Team

  2. roberto dircio says:

    i arranged to get it working in the way it is described in this blog entry, no need to change jdks.
    thx!

Add Comment


Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA