{"id":474,"date":"2011-01-28T00:30:38","date_gmt":"2011-11-26T21:51:50","guid":{"rendered":"http:\/\/kraftek.com\/blog\/veritas-vea-java-swing-window-displaying-incorrectly-in-a-ssh-x11forwarded-session\/"},"modified":"2011-01-28T00:30:38","modified_gmt":"2011-11-26T21:51:50","slug":"veritas-vea-java-swing-window-displaying-incorrectly-in-a-ssh-x11forwarded-session","status":"publish","type":"post","link":"\/blog\/index.php\/veritas-vea-java-swing-window-displaying-incorrectly-in-a-ssh-x11forwarded-session\/","title":{"rendered":"Veritas vea java swing window displaying incorrectly in a ssh X11Forwarded session"},"content":{"rendered":"<p>I connect to a Solaris server using ssh, and turning &#8220;ForwardX11 yes&#8221; in my ssh client, as well as &#8220;X11Forwarding yes&#8221;<br \/>\nin my remote solaris server.<br \/>\nThe X11 forwarding works fine, because i can exec and view remote solaris dtterms in my slackware machine.<br \/>\nThe problem is with java swing apps, like Veritas vea, which, when run, is displayed, but in an incorrectly huge window<br \/>\nsize, and with some parts not well redrawn, to the point that it is unusable. Also affected is the WebSphere console&#8230;<br \/>\nThis is an old bug:<br \/>\nhttp:\/\/bugs.sun. com\/bugdatabase\/view_bug.do?bug_id=4374153<br \/>\nEveryone basically tells you to set these variables on your shell before executing vea:<br \/>\nNO_AWT_MITSHM=true<br \/>\nNO_J2D_DGA=true<br \/>\nexport NO_AWT_MITSHM;export NO_J2D_DGA<br \/>\nBut i tried it to no avail. What solved the problem for me was adding a line to my \/etc\/ssh\/ssh_config like this:<br \/>\nForwardX11Trusted yes<br \/>\nafter this everything worked fine!<br \/>\n294\/433<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I connect to a Solaris server using ssh, and turning &#8220;ForwardX11 yes&#8221; in my ssh client, as well as &#8220;X11Forwarding yes&#8221; 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, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-474","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/474","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=474"}],"version-history":[{"count":0,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/474\/revisions"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=474"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}