#725 closed defect (needinfo)
Wrong and strange size for plots in Matlab
Reported by: | hd_ali | Owned by: | hd_ali |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | android | Version: | trunk |
Keywords: | Cc: |
Description (last modified by )
Hi,
I usually connect from my MacPro? Retina to a Linux server through xpra. I run and use Matlab remotely using this service. Everything is fine in using Matlab, but a big problem I am having with plots in Matlab. Every time I plot something in Matlab, the plot's window is shown in a very strange resolution and size. It seems that Matlab (running on the server side) assumes some wrong screen size when opening a window for the plot. The problem happens always and it doesn't depend to the type of the plot. It is giving me a big headache. I appreciate if someone could help me on this.
I have a screenshot of the situation which might be helpful:
Thanks.
Attachments (2)
Change History (15)
Changed 8 years ago by
Attachment: | Screen Shot 2014-10-31 at 10.08.20 PM.png added |
---|
comment:1 Changed 8 years ago by
Owner: | changed from Antoine Martin to hd_ali |
---|
Please provide more info: xpra info
, server distro and version, etc..
Is libfakeXinerama
installed? etc..
comment:2 Changed 8 years ago by
Thanks for your reply.
The server information is:
Linux 2.6.32-431.29.2.el6.x86_64 #1 SMP Tue Sep 9 21:36:05 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distributor ID: CentOS Description: CentOS release 6.5 (Final) Release: 6.5 Codename: Final
And I searched for 'libfakeXinerama' on server and found it in following places:
/usr/lib64/libfakeXinerama.so.1 /usr/lib64/libfakeXinerama.so.1.0 /usr/share/doc/libfakeXinerama-0.1.0 /usr/share/doc/libfakeXinerama-0.1.0/README.TXT /var/lib/yum/yumdb/l/c564f79e0c02dba00cf9342f6c6b26cdf2c1e37d-libfakeXinerama-0.1.0-3.el6-x86_64 /var/lib/yum/yumdb/l/c564f79e0c02dba00cf9342f6c6b26cdf2c1e37d-libfakeXinerama-0.1.0-3.el6-x86_64/checksum_data /var/lib/yum/yumdb/l/c564f79e0c02dba00cf9342f6c6b26cdf2c1e37d-libfakeXinerama-0.1.0-3.el6-x86_64/checksum_type /var/lib/yum/yumdb/l/c564f79e0c02dba00cf9342f6c6b26cdf2c1e37d-libfakeXinerama-0.1.0-3.el6-x86_64/command_line /var/lib/yum/yumdb/l/c564f79e0c02dba00cf9342f6c6b26cdf2c1e37d-libfakeXinerama-0.1.0-3.el6-x86_64/from_repo /var/lib/yum/yumdb/l/c564f79e0c02dba00cf9342f6c6b26cdf2c1e37d-libfakeXinerama-0.1.0-3.el6-x86_64/from_repo_revision /var/lib/yum/yumdb/l/c564f79e0c02dba00cf9342f6c6b26cdf2c1e37d-libfakeXinerama-0.1.0-3.el6-x86_64/from_repo_timestamp /var/lib/yum/yumdb/l/c564f79e0c02dba00cf9342f6c6b26cdf2c1e37d-libfakeXinerama-0.1.0-3.el6-x86_64/installed_by /var/lib/yum/yumdb/l/c564f79e0c02dba00cf9342f6c6b26cdf2c1e37d-libfakeXinerama-0.1.0-3.el6-x86_64/reason /var/lib/yum/yumdb/l/c564f79e0c02dba00cf9342f6c6b26cdf2c1e37d-libfakeXinerama-0.1.0-3.el6-x86_64/releasever
Please let me know if you need more information.
Regards
comment:3 Changed 8 years ago by
Description: | modified (diff) |
---|---|
Owner: | changed from hd_ali to Antoine Martin |
Status: | new → assigned |
This resize bug could be linked to #705, so you may want to subscribe to the CC list for that ticket.
Since I am unable to install matlab (there is no free version to use for testing), I am unable to test.. and unlikely to find the cause of the problem quickly. I may ask you to test a beta build if and when I make changes likely to impact this ticket.
Note: I have removed the dropbox links as those tend to go stale and added a smaller screenshot inline.
comment:4 Changed 8 years ago by
OK, thank you very much for your quick replies. Hope to have the problem solved soon with your help.
comment:5 Changed 8 years ago by
Owner: | changed from Antoine Martin to hd_ali |
---|---|
Status: | assigned → new |
As per http://xpra.org/trac/ticket/705#comment:8, are you running matlab with a Sun JDK version 6 or older?
Can you try with a newer SDK as per How do I change the Java Virtual Machine (JVM) that MATLAB is using for Linux OS?
That may fix things. You can also try a new beta build with:
XPRA_NET_WM_NAME=Sawfish xpra start ...
Which should workaround the older buggy SDK.
comment:6 Changed 8 years ago by
The java version in Matlab is:
Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
So you suggest to update it?
comment:7 Changed 8 years ago by
I see, you are using the buggy sun jdk.
As per comment:5, your options are:
- try with openjdk instead of sun jdk (see link in comment above on how to do that)
- try the beta xpra 0.15.0 build with the env var
XPRA_NET_WM_NAME=Sawfish
There is a good chance either one of those options will fix the bug.
comment:8 Changed 8 years ago by
OK, Thanks for the options. I suppose both of the options need the server admin permission so I am going to ask him to pick one of the solutions and apply it. I will let you know the result.
comment:9 Changed 8 years ago by
There are probably ways of installing the JDK in your home directory without requiring root access. As for xpra you can also install from source in your home directory.
Neither of these options is very difficult, but not completely straightforward either.
comment:11 Changed 7 years ago by
Resolution: | → needinfo |
---|---|
Status: | new → closed |
Not heard back, closing. Feel free to re-open if you have more details.
Another update in this area was in #765, so you may have more luck with trunk builds.
comment:12 Changed 7 years ago by
Received by email: The server admin upgraded the java jdk from 1.6 to 1.7 and the plot size problem has been solved. You may close this ticket. Thank you very much.
comment:13 Changed 16 months ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/725
Screenshot: look to the plot appearance problem (strange size)