Running Matlab (R) from ssh session with X forwarding doesn't work anymore in 17.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg-server (Ubuntu) |
New
|
Undecided
|
Unassigned |
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
ProcVersionSign
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)
RelatedPackageV
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.
mtime.conffile.
Are you using Wayland? If yes, can you try with plain Xorg? To switch to xorg, logout, and on the login screen, after clicking on your name, you will see a small gear icon. Click that to select xorg, and then continue with the login.