Autodesk-Fusion-360-for-Linux: Cannot login and wine cannot open a browser *solved*

Please help on signing in after successful installation.

Ubuntu 22.04 Wine version is 9.12 (Staging)

The error am getting upon opening the Fusion360 to login is this

adskidentitymanager

and this is the log details log.txt

What I have tried so far modifying the ~/.local/share/applications/adskidmgr-opener.desktop that I found also here but none of them works in my case.

#[Desktop Entry]
#Type=Application
#Name=adskidmgr Scheme Handler
#Exec=env WINE_PREFIX="/home/sem" wine "C:\Program Files\Autodesk\webdeploy\production\b738a7f16475c27414ba957f7f0b2ee5b34e4e6d\Autodesk Identity Manager\AdskIdentityManager.exe" %u
#Exec=env WINE_PREFIX="/home/sem" wine "C:\Program Files\Autodesk\webdeploy\production\b738a7f16475c27414ba957f7f0b2ee5b34e4e6d\Autodesk Identity Manager\AdskIdentityManager.exe" %u
#Exec=env WINEPREFIX="/home/sem" wine "./drive_c/Program Files/Autodesk/webdeploy/production/b738a7f16475c27414ba957f7f0b2ee5b34e4e6d/Autodesk Identity Manager/AdskIdentityManager.exe" %u
#Exec=env WINEPREFIX="/home/sem/.applications/fusion/wineprefixes/default" wine "./drive_c/Program Files/Autodesk/webdeploy/production/b738a7f16475c27414ba957f7f0b2ee5b34e4e6d/Autodesk Identity Manager/AdskIdentityManager.exe" %u
#Exec=env WINE_PREFIX="/home/sem" wine "./drive_c/Program Files/Autodesk/webdeploy/production/b738a7f16475c27414ba957f7f0b2ee5b34e4e6d/Autodesk Identity Manager/AdskIdentityManager.exe" %u
#Exec=sh -c 'wine "$(find ~/.wine/ -name "AdskIdentityManager.exe" | head -1 | xargs -I '{}' echo {})" "%u"'
#StartupNotify=false
#MimeType=x-scheme-handler/adskidmgr;
#
WINEPREFIX="~/.wine"
cat > $HOME/.local/share/applications/adskidmgr-opener.desktop << EOL
[Desktop Entry]
Type=Application
Name=adskidmgr Scheme Handler
Exec=sh -c 'env WINEPREFIX="${WINEPREFIX}" wine "\$(find ${WINEPREFIX}/ -name "AdskIdentityManager.exe" | head -1 | xargs -I '{}' echo {})" "%u"'
StartupNotify=false
MimeType=x-scheme-handler/adskidmgr;
EOL
xdg-mime default adskidmgr-opener.desktop x-scheme-handler/adskidmgr

Thank you in advance

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 54 (14 by maintainers)

Commits related to this issue

Most upvoted comments

  1. Copy link "Repeat Image
  2. Find the path to AdskIdentityManager.exe find . | grep AdskIdentityManager.exe
  3. run the command (with the correct prefix) wine ./path from point 2/AdskIdentityManager “link(from point 1)”.

The AdskIdentityManager.exe command must be executed quickly as the link will expire in a short time.

Same issue on arch linux.

Okay, so there isn’t a way to log in. Is there perhaps a way to log in in the regular browser (whatever you use on linux) and export some sort of cookie (or whatever, idk, just guessing here), copy it to the wine / Fusion360 folder, and be able to use the application via wine without logging in through the broken process?

I had the same problem on wine.9.12. When I reinstalled the last version of fusion on wine.9.10, then fusion worked. The problem was only when activating fusion. The browser started, but I had to do the activation manually from the command line, redirection did not work. image

[Desktop Entry]
Type=Application
Name=adskidmgr Scheme Handler
Exec=sh -c 'env WINEPREFIX="/home/madurani/.PlayOnLinux//wineprefix/Fusion360_218" wine "$(find /home/madurani/.PlayOnLinux//wineprefix/Fusion360_218/ -name "AdskIdentityManager.exe" | head -1 | xargs -I '{}' echo {})" "%u"'
StartupNotify=false
MimeType=x-scheme-handler/adskidmgr;

I had the same problem when I upgraded winehq-devel to version 9.12.

Steps I took:

  • removed wine completely
  • cleaned all folders for wine presence (.local, .cache, .config, etc…)
  • removed the .fusion folder with the wineprefix, because it was already spoiled and reconfigured with wine 9.12
  • installed winehq-devel-9.9
  • installed the old version of Fusion I had from the previous working installation (2.0.19426 x86_64), installation steps here
  • Fusion works.

From my observation, this problem is caused by wine-devel 9.12. Rolling back wine and the clean reinstalling of fusion helped.

Wow, this is the first time they didn’t simply break the application in a new update - rather, they retroactively broke existing installations by changing something on the server side that causes even older installations to call this function. This can be verified by trying to run a previously-known-working install and seeing it fail now despite being untouched.

Thus, even being in the Fusion Insider program (as I am) and having the next build ahead of time did not help prepare, as it could for the other recent issues which were confined to a particular new installed version of the application.

If only Autodesk could get just one of their employees to test under Wine and say “let’s check for a moment to ensure we don’t remotely nuke our paying customers” before making these sorts of changes.

To Autodesk: My yearly Fusion subscription was set to renew at the start of next month… 😦 The fact that I actually pay for Fusion and use it seriously on Linux should give you an idea of how well it can run under Wine as long as you don’t break it for silly reasons.

I don’t use “virtual desktop” and maximize of window work fine. image

And because it is now reproducible, I can finish my new installation tool in the near future.

A little insight:

https://github.com/user-attachments/assets/9a10cebd-6bc1-4b9d-9472-5feb8eda8a80

I had the same problem on wine.9.12. When I reinstalled the last version of fusion on wine.9.10, then fusion worked. The problem was only when activating fusion. The browser started, but I had to do the activation manually from the command line, redirection did not work. image

[Desktop Entry]
Type=Application
Name=adskidmgr Scheme Handler
Exec=sh -c 'env WINEPREFIX="/home/madurani/.PlayOnLinux//wineprefix/Fusion360_218" wine "$(find /home/madurani/.PlayOnLinux//wineprefix/Fusion360_218/ -name "AdskIdentityManager.exe" | head -1 | xargs -I '{}' echo {})" "%u"'
StartupNotify=false
MimeType=x-scheme-handler/adskidmgr;

How did you manage to activate it via the command line?

Wow, this is the first time they didn’t simply break the application in a new update - rather, they retroactively broke existing installations by changing something on the server side that causes even older installations to call this function. This can be verified by trying to run a previously-known-working install and seeing it fail now despite being untouched.

Thus, even being in the Fusion Insider program (as I am) and having the next build ahead of time did not help prepare, as it could for the other recent issues which were confined to a particular new installed version of the application.

If only Autodesk could get just one of their employees to test under Wine and say “let’s check for a moment to ensure we don’t remotely nuke our paying customers” before making these sorts of changes.

To Autodesk: My yearly Fusion subscription was set to renew at the start of next month… 😦 The fact that I actually pay for Fusion and use it seriously on Linux should give you an idea of how well it can run under Wine as long as you don’t break it for silly reasons.

Fusion 2.0.19426 x86_64 still works here with wine stable 9.12.

I feel like I’m almost there… Can somebody please help me fix this final issue?

Process:

  • install
  • winetricks bcp47langs=disabled
  • download patched qt6web.dll in appropriate path
  • start program
  • login in browser
  • WINEPREFIX="/home/me/.fusion360/wineprefixes/default" wineconsole Autodesk\ Identity\ Manager/AdskIdentityManager.exe "adskidmgr:/login?code=<code>"

image

As you can see, my winecfg (WINEPREFIX="/home/me/.fusion360/wineprefixes/default" winecfg doesn’t have this staging tab.

Fusion 360 will start, but it will always be in windowed mode. I tried messing with the values (screen resolution and dpi), but that didn’t make a difference. When I launch Fusion 360, it will look like this. I cannot expand this window.

image

Everything seems to work… I can move around the workspace, click things, etc. - but I cannot maximize the window or change anything so that I can use my entire screen size to work in Fusion.

Secondly, does that mean that the program doesn’t really work for you without the patched DLL file?

yes

Wine no stage:

madurani@pc-marek ~/.PlayOnLinux/wineprefix/Fusion360_221/drive_c/users/madurani/download $ WINEPREFIX=/home/madurani/.PlayOnLinux//wineprefix/Fusion360_221 wine --version
wine-9.14

madurani@pc-marek ~/.PlayOnLinux/wineprefix/Fusion360_221/drive_c/users/madurani/download $ winetricks -V
20240105 - sha256sum: 8f28985b06e9e04b5268e2aef3429b2a0f6abd4fd12c4a30472dfe66355128fa

image image

And auto activation via .desktop file work for you? Because for me stop work some time ago.

The problem with Qt6WebEngineCore.dll seems to no longer exist, as I am using the unpatched version. Only the deactivation of bcp47langs.dll was necessary.

Ah okay I have changed my .desktop file so and now it works!!!

Bildschirmfoto vom 2024-07-29 14-47-37

Thanks @madurani !!! So we solved the problem and it works with the latest Wine version.

I have solved* this bug and it works with the newest wine version: https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/issues/432#issuecomment-2255603453

*check out the linked video!

@ThirtyThreeB, I just removed all folders related to wine in the user directory. Looked inside the .local, .cache, .config, there could be some old configs. I just used nautilus, typed “wine” in top bar 😃

As for root directories, it should be sufficient to remove it using apt. I guess you already did it, since you have no matches for wine.

Now, install the winehq-devel from their website, using their repositories, and not Ubuntu repos.

I don’t know how to install exactly 9.9 version on Ubuntu, but on Fedora it is performed by adding “-9.9” on the end. In your case for Ubuntu the installation command could be: sudo apt install --install-recommends winehq-devel-9.9 (or 9.10 as reported by @madurani here https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/issues/434#issuecomment-2223599113)

Having this problem too on a new install of fusion in wine, ubuntu 22.04

If the solution is installing an older version of fusion, which version works? and I need to downgrade wine to 9.10? I currently have wine-9.13 (Staging)

I contacted Autodesk support to ask if and when a native Linux version will be available. Let’s wait and see if they respond. By the way, I have the same error in Wine.

They messed up language detection and currently you are not able to login due to fatal application crash.