1- Yes Matlab works as expected without going through ssh. 2- Repeat the above but first do a "ssh -X localhost" triggers the problem.
3- Both scenarios hold regardless of how I login ("Ubuntu", "Ubuntu on Xorg" or "Unity"). As you mentionned the DISPLAY variable I checked the following (maybe it was obvious, but not to me): - ssh@localhost - echo $DISPLAY returns localhost:10.0 - export DISPLAY=:0 - matlab & then plot(1,1). - it works. (tested in "Ubuntu", "Ubuntu on Xorg" and "Unity") -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to openssh in Ubuntu. https://bugs.launchpad.net/bugs/1726595 Title: Running Matlab (R) from ssh session with X forwarding doesn't work anymore in 17.10 Status in openssh package in Ubuntu: Incomplete Bug description: OBSERVED BEHAVIOR: Matlab stays in busy state when using some functions like "plot" or even "exit", while executing through a ssh tunnel with X11 forwarding. REPRODUCE THE BUG: You need matlab (my version is R2017a) to reproduce the bug. I suspect any version >= 2014b would reproduce the bug (HG2 framework), and maybe any version. 1. Connect to self (or from other machine) with X forwarding: $ ssh -X user@localhost 2. Launch matlab $ matlab & 3. Plot something >> plot(1,1) ADDITIONAL INFORMATION - Normal behavior would be appearance of a new window and a single point at position (1,1). - No ressources seem to be used. - Opening a figure alone is possible. (>> figure). Opening other windows from the graphical user interface is possible - Opening Matlab without the java machine seems to work, but matlab relies heavily on java. At least "exit" which doesn't work with java, works without java. - Providing Matlab with open-jdk version 1.8.0_144 didn't change anything. - This used to work perfectly for as long as I have been using Ubuntu (since 2012). ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: openssh-client 1:7.5p1-10 ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4 Uname: Linux 4.13.0-16-generic x86_64 ApportVersion: 2.20.7-0ubuntu3 Architecture: amd64 CurrentDesktop: Unity:Unity7:ubuntu Date: Mon Oct 23 17:44:23 2017 ExecutablePath: /usr/bin/ssh InstallationDate: Installed on 2017-08-25 (59 days ago) InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719) RelatedPackageVersions: ssh-askpass N/A libpam-ssh N/A keychain N/A ssh-askpass-gnome N/A SSHClientVersion: OpenSSH_7.5p1 Ubuntu-10, OpenSSL 1.0.2g 1 Mar 2016 SourcePackage: openssh UpgradeStatus: Upgraded to artful on 2017-10-23 (0 days ago) modified.conffile..etc.ssh.ssh_config: [modified] mtime.conffile..etc.ssh.ssh_config: 2017-10-23T16:25:50.569560 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1726595/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp