Closed fabianmuehlberger closed 1 year ago
I am encountering EXACTLY the same problem on Ubuntu22.04 with wine 8.0 - thanks for raising the issue.
Installation sequence 1.install winehq-stable, winetricks, YAD
$ mkdir -p "$HOME/.fusion360/bin" && cd "$HOME/.fusion360/bin" && wget -N https://raw.githubusercontent.com/cryinkfly/Autodesk-Fusion-360-for-Linux/main/files/builds/stable-branch/bin/install.sh && chmod +x install.sh && ./install.sh
returned no errors
Error at Launch (see above): When launched from terminal, output opaque but this pops up when clicking on Sign In
` 03ac:fixme:win:GetPointerDevices (000000000011A500 0000000000000000): partial stub
03ac:fixme:system:QueryDisplayConfig (00000002 000000000011A508 0000000058F324B0 000000000011A480 0000000027C744E0 0000000000000000): semi-stub
03ac:fixme:system:NtUserDisplayConfigGetDeviceInfo Unimplemented packet type 11.
03ac:fixme:win:GetPointerDevices (000000000011A500 0000000000000000): partial stub
03ac:fixme:system:QueryDisplayConfig (00000002 000000000011A508 0000000058F324B0 000000000011A480 0000000027C744E0 0000000000000000): semi-stub
03ac:fixme:system:NtUserDisplayConfigGetDeviceInfo Unimplemented packet type 11.
Finished request Handshake. But response is empty.
Finished request Handshake. But response is empty.
Handshake failed ` Also tried Chromium instead of Firefox, to no avail.
Desktop
I just tested the login on a windows install and noticed that I had a update pending. After the update I had a different login sequence than I was used to, it prompted me to login with my browser and my licence was checkted. I have not used Fusion360 on Windows in a while, so I can not say how old the update is, but could this be related ?
On Windows this pop up shows up and the browser opens a new window for me to log in. This does not happen on linux
Best
same issue, tried copying all the files from a windows installation that is logged in with no luck
Same here on both Fedora 37 and OpenSuse tumbelweed. I'm wondering if there needs to be some form of browser setup in the Wine environment to handle the link
Same issue. Unable to install, attempted to install firefox on the same drive and set registry key. not sure what the solution is here.
I just tested the login on a windows install and noticed that I had a update pending. After the update I had a different login sequence than I was used to, it prompted me to login with my browser and my licence was checkted. I have not used Fusion360 on Windows in a while, so I can not say how old the update is, but could this be related ?
On Windows this pop up shows up and the browser opens a new window for me to log in. This does not happen on linux
Best
I can confirm that as of 03 April (2 days ago), Fusion 360 has had a 'major product update' with a new sign in experience (see the following blog post https://www.autodesk.com/products/fusion-360/blog/april-2023-major-product-update-whats-new/)
The blog post includes a .gif of the expected behaviour: redirecting the user to browser pop up for sign in. This is indeed a new feature (bug for us!) and will likely persist across all new installations/updates of Fusion360 until fixed.
They have also End of Life'd support for all Windows 10 builds down from 1803, I wonder what version of Win 10 Wine is exposing the build number as. https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/End-of-life-for-Fusion-360-on-macOS-10-15-Catalina-Windows-8-1-Windows-10-Version-1803-older-Effective-March-2023.html
Not sure if its of use, but this is the output of the console (Last few lines of interest) after running the following command
WINEPREFIX=/home/alextrical/.wfusion360 WINEDEBUG=+loaddll wine 'C:\users\Public\Desktop\Autodesk Fusion 360.lnk'
Before clicking the link
Finished request Handshake. But response is empty.
Handshake failed
"17:20::20.283" MAGWorkControllerClientConnection cmd sent "auth"
"17:20::20.284" MAGWorkClientControllerConnection cmd sent "auth"
MAGWorkControllerClientConnection cmd received "auth"
"17:20::20.285" MAGWorkControllerClientConnection cmd sent "authok"
MAGWorkClientControllerConnection cmd received "auth"
"17:20::20.286" MAGWorkClientControllerConnection cmd sent "authok"
MAGWorkClientControllerConnection cmd received "authok"
MAGWorkControllerClientConnection cmd received "authok"
Connecting to controller server
Controller server info: QHostAddress("127.0.0.1") : 46275
host connected QHostAddress("127.0.0.1") : 34056
"17:20::20.294" MAGWorkControllerHostConnection cmd sent "auth"
"17:20::20.295" MAGWorkHostControllerConnection cmd sent "auth"
MAGWorkControllerHostConnection cmd received "auth"
"17:20::20.296" MAGWorkControllerHostConnection cmd sent "authok"
MAGWorkHostControllerConnection cmd received "auth"
"17:20::20.297" MAGWorkHostControllerConnection cmd sent "authok"
MAGWorkHostControllerConnection cmd received "authok"
Controller connected
Sending max processes: 4
"17:20::20.298" MAGWorkHostControllerConnection cmd sent "ready"
MAGWorkControllerHostConnection cmd received "authok"
Remote debugging server started successfully. Try pointing a Chromium-based browser to http://127.0.0.1:9766
MAGWorkControllerHostConnection cmd received "ready"
06f0:fixme:mpr:WNetGetUniversalNameW (L"C:\\users\\alextrical\\AppData\\Roaming\\Autodesk\\ADPSDK\\bin\\ADPClientService.exe", 0x00000001, 0000000000000000, 00000000020EF020): stub
Finished request Handshake. But response is empty.
Finished request Handshake. But response is empty.
Handshake failed
0794:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
0794:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
0794:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
06f4:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\cryptnet.dll" at 00000001F8340000: builtin
06f4:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\cryptnet.dll" : builtin
06f4:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\cryptnet.dll" at 00000001F8340000: builtin
06f4:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\cryptnet.dll" : builtin
Finished request Handshake. But response is empty.
Finished request Handshake. But response is empty.
Handshake failed
after clicking the link
0600:fixme:system:NtUserDisplayConfigGetDeviceInfo Unimplemented packet type 11.
0600:fixme:ui:uisettings2_get_TextScaleFactor iface 0000000026C2FB38, value 000000000011A330 stub!
Finished request Handshake. But response is empty.
Finished request Handshake. But response is empty.
Handshake failed
Finished request Handshake. But response is empty.
Finished request Handshake. But response is empty.
Handshake failed
07b8:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
07b8:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
07b8:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
0798:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\cryptnet.dll" at 00000001F8340000: builtin
0798:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\cryptnet.dll" : builtin
0798:trace:loaddll:build_module Loaded L"C:\\windows\\system32\\cryptnet.dll" at 00000001F8340000: builtin
0798:trace:loaddll:free_modref Unloaded module L"C:\\windows\\system32\\cryptnet.dll" : builtin
Finished request Handshake. But response is empty.
Finished request Handshake. But response is empty.
Handshake failed
Anyone have any luck with this yet? I feel like we're close to getting this working again, yet so far away.
Anyone have any luck with this yet? I feel like we're close to getting this working again, yet so far away.
I tried playing around with the wine registry (probably not advised! see http://www.webupd8.org/2010/03/how-to-make-wine-open-links-in-your.html) to get winebrowser -> pop up, but couldn't get this to work. If anyone has experience playing around with the wine register do have a look!
thank you cryinkfly
unfortunately not, I'm not experienced enough with wine to find the route cause of the issue. Without any definitive proof (as I'm away from a windows machine, and cant use WireShark) I'm currently suspecting that its something to do with TLS, and likely falling back to an older standard, resulting in the server rejecting the connection.
Ive just installed a VM with Wireshark to try and see the protocol its using. The Fusion 360 launcher when pressing the login button initiates the communication via TLSv1.2.
Download the "web.rg":
wget -N -P "$HOME/.fusion360/wineprefixes/default/drive_c/users/$USER/Downloads" https://raw.githubusercontent.com/cryinkfly/Autodesk-Fusion-360-for-Linux/main/files/builds/stable-branch/driver/web-browser/web.reg
Change into the Wineprefix-Home-Directory:
cd "$HOME/.fusion360/wineprefixes/default/drive_c/users/$USER/Downloads"
Install the "web.rg":
WINEPREFIX=$HOME/.fusion360/wineprefixes/default wine regedit.exe web.reg
Still no luck this end, I will try wiping the prefix and running the script to see if that works
Just finished a full rebuild of the Prefix, (oddly it didn't install a start menu option) with the script you uploaded (confirmed the new commands for 'web.reg' are at line 457) Ran via "box-run.sh" stored at /home/alextrical/.fusion360/wineprefixes/default/ and still the same issue persists.
Default browser is Firefox 110.0 64bit
The reg edit has made no difference this end, to a Fedora 37 based install (Nobara OS) Should I create a new issue at this stage?
Same here, just did clean install and verified that regs were updated.
Default browser is Google Chrome 112.0.5615.49
Ubuntu 22.04, Opengl and wine-8.5 (Staging)
which xdg-open
/usr/bin/xdg-open
/usr/bin/xdg-open http://www.google.com #opens new tab inside running browser
Okay, then we must install a web browser into the wineprefix!
I testing what now...
I tried to install Chrome before clean install, it runs, but Fusion did not open it.
We will probably need to set it as default browser inside wine, although I did not find a way to do it, yet.
Simply clicking on Set as default
button inside chrome do nothing.
It seems the default browser in Wine is "winebrowser.exe" and redirects to the external browser on the host.
for example
export env WINEPREFIX=~/.fusion360/wineprefixes/default
wine winebrowser.exe http://google.com
Yes, but Fusion seem to use some system call to open a link/default browser so its not catch by winebrowser.
Installation folder now contain Autodesk Identity Manager
Inside it is file called AdSkIdentityManager.config
// maximumRetriesToFetchTheDefaultWebBrowserTopWindowHandle is a Windows OS specific setting
"maximumRetriesToFetchTheDefaultWebBrowserTopWindowHandle": 10,
I am now only able to launch the program once and after I get
find: ‘’: No such file or directory wine: invalid directory in WINEPREFIX: not an absolute 'path'
Change into the Wineprefix-Home-Directory:
cd "$HOME/.fusion360/wineprefixes/default/drive_c/users/$USER/Downloads"
Download the "web.rg":
Install the "web.rg":
WINEPREFIX=$HOME/.fusion360/wineprefixes/default wine regedit.exe web.reg
Download Firefox (en-US):
wget https://ftp.mozilla.org/pub/firefox/releases/111.0/win64/en-US/Firefox%20Setup%20111.0.exe -O Firefox.exe
Install Firefox:
WINEPREFIX=$HOME/.fusion360/wineprefixes/default wine Firefox.exe
the link to firefox didn't work here, it looks to be a specific link for your PC. can you try with
wget https://ftp.mozilla.org/pub/firefox/releases/111.0/win64/en-US/Firefox%20Setup%20111.0.exe -O Firefox.exe
instead?
Alternatively if you want the latest version you can use
wget https://download.mozilla.org/?product=firefox-latest-ssl -O Firefox.exe
@alextrical I have changed the link in the command and also the web.reg
The old web.reg is here if a user will use this for another Wineprefixes.
@Tony763 I have installed the default option.
Something inside reg file is malformed, when I import it, commands miss \
.
Firefox is up and running, but Fusion still not open it.
Clicking on Make Default..
yields err into log:
01ac:fixme:shcore:GetCurrentProcessExplicitAppUserModelID 0000000000818128: stub
01ac:err:ole:com_get_class_object class {45ba127d-10a8-46ea-8ab7-56ea9078943c} not registered
01ac:err:ole:com_get_class_object class {45ba127d-10a8-46ea-8ab7-56ea9078943c} not registered
01ac:err:ole:com_get_class_object no class object {45ba127d-10a8-46ea-8ab7-56ea9078943c} could be created for context 0x3
07e0:fixme:ver:GetCurrentPackageId (000000000021FD70 0000000000000000): stub
@Tony763 Can you check this here:
Open a terminal window in Linux.
Type "wine regedit" (without quotes) and hit Enter to open the Wine Registry Editor.
WINEPREFIX=$HOME/.fusion360/wineprefixes/default wine regedit
In the Registry Editor, navigate to HKEY_CLASSES_ROOT -> http -> shell -> open -> command.
Double-click on the "Default" value on the right-hand side.
In the "Value data" field, replace the existing value with the following command: ""="C:\Program Files\Mozilla Firefox\firefox.exe".
Click "OK" to save the changes.
In the Registry Editor, navigate to HKEY_CLASSES_ROOT -> https -> shell -> open -> command.
Double-click on the "Default" value on the right-hand side.
In the "Value data" field, replace the existing value with the following command: ""="C:\Program Files\Mozilla Firefox\firefox.exe".
Click "OK" to save the changes.
Close the Registry Editor.
Yes I set it this a way.
mine is no longer even opening, ive done everything said and ive reinstalled it just now
To fix unrecognized escape sequence I had to use double back-slash in strigns inside web.reg
:
REGEDIT4
[HKEY_CLASSES_ROOT\http\shell\open\command]
""="C:\\Program Files\\Mozilla Firefox\\firefox.exe"
[HKEY_CLASSES_ROOT\https\shell\open\command]
""="C:\\Program Files\\Mozilla Firefox\\firefox.exe"
But still no luck with Fusion.
@Tony763 It also seems to be dependent on the particular system language.
It also seems to be dependent on the particular system language.
Ok, then we'll have to take another look.
That's just the problem when the developers of such programs keep changing something and then nothing works as before.
It also seems to be dependent on the particular system language.
Could be, my Wine installation runs in Czech language.
Installing Firefox silently with force default Agent registration change registers (set it as default), but still not helps.
WINEPREFIX=$HOME/.fusion360/wineprefixes/default wine64 Firefox.exe /S /RegisterDefaultAgent=true
Okay, then there seems to be a problem in the exchange between Fusion 360 and Firefox. Because the browser is opened, but the connection does not work properly.
Yep, new Ident Manger runs, so it must by some syscall that is probably not implemented.
By way of a noob and probably not helpful update from me :D
I also tried reinstalling with @cryinkfly 's new installation script, using all the default options (default location, installing winehq-staging) on Ubuntu 22.04 (all in English), fixed the backslashing that @Tony763 identified by hand in the wine register.
Firefox seems to have installed properly - but sadly the same bug persists, and clicking on Sign In did not launch any browser for me.
Thanks to everyone who has been hounding on this bug!
@hanschanhs Noobs don't really exist, because I'm learning and learning too...
Not exactly worth much at this stage, but it may be better to embed the registry changes into the script directly. Referencing external files stored on Git is likely to cause drift, as things change in the repo.
Instead of downloading a *.reg
file, its possible to use the following syntax to add/edit/remove registry entries like the following equivalent to web.reg as of 1 hour ago
wine REG ADD "HKCR\http\shell\open\command" /ve /t REG_SZ /d "C:\Program Files\Mozilla Firefox\firefox.exe" /f
wine REG ADD "HKCR\https\shell\open\command" /ve /t REG_SZ /d "C:\Program Files\Mozilla Firefox\firefox.exe" /f
@cryinkfly Just filled wine bug https://bugs.winehq.org/show_bug.cgi?id=54794 Hopefully will somebody from wine devs look into it.
shot in the dark:
the whole app -> browser -> app dance works (generally, not sure for fusion yet as i’ll be home tonight) by opening the default browser and then the browser, after the login, opens a link with a custom protocol that is registered as protocol handler in windows registry to be the app (e.g. fusion with some arguments). there’s also the option to poll for successful login that circumvents the last step
so there’s a probability that we should propagate the protocol handler to the native browser to use wine
just my 1.5 cents
Yes, on Windows, when logged in, Browser is requested to open app Autodesk Identity Manager.
Interestingly its seems that Autodesk Identity Manager is a new product, that can be installed as a stand alone module https://www.autodesk.com/support/technical/article/caas/tsarticles/ts/7zbgTemIhA3ltRs4eACL0g.html just playing around with it now, to see if that can shed any more light on the issue
export env WINEPREFIX=~/.AdskIM
export env WINEDEBUG=fixme-all
wget -N https://damassets.autodesk.net/content/dam/autodesk/akn/files/AdskIdentityManagerwin-Installer.zip -P ~/Downloads
unzip ~/Downloads/AdskIdentityManagerwin-Installer.zip -d ~/Downloads
wine ~/Downloads/AdskIdentityManager-Installer.exe
wine 'C:\Program Files\Autodesk\AdskIdentityManager\1.7.3.0\ADPClientService.exe'
rm ~/Downloads/AdskIdentityManager-Installer.exe
On windows installation are more regs thani in Wine one, I will try to export the missing ones.
These did catch my eye:
[HKEY_CLASSES_ROOT\adsk.idmgr]
@="URL:adsk.idmgr Protocol"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\adsk.idmgr\shell]
[HKEY_CLASSES_ROOT\adsk.idmgr\shell\open]
[HKEY_CLASSES_ROOT\adsk.idmgr\shell\open\command]
@="\"C:\\Program Files\\Autodesk\\webdeploy\\production\\df098dc22bdb0532c3884db0a2d6182c8f8678de\\Autodesk Identity Manager\\AdskIdentityManager.exe\" \"%1\""
[HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\Shell\MuiCache]
"C:\\Program Files\\Autodesk\\webdeploy\\production\\df098dc22bdb0532c3884db0a2d6182c8f8678de\\Autodesk Identity Manager\\AdskIdentityManager.exe.FriendlyAppName"="Autodesk Identity Manager"
"C:\\Program Files\\Autodesk\\webdeploy\\production\\df098dc22bdb0532c3884db0a2d6182c8f8678de\\Autodesk Identity Manager\\AdskIdentityManager.exe.ApplicationCompany"="Autodesk, Inc."
[HKEY_CURRENT_USER\SOFTWARE\Classes\adsk.idmgr]
@="URL:adsk.idmgr Protocol"
"URL Protocol"=""
[HKEY_CURRENT_USER\SOFTWARE\Classes\adsk.idmgr\shell]
[HKEY_CURRENT_USER\SOFTWARE\Classes\adsk.idmgr\shell\open]
[HKEY_CURRENT_USER\SOFTWARE\Classes\adsk.idmgr\shell\open\command]
@="\"C:\\Program Files\\Autodesk\\webdeploy\\production\\df098dc22bdb0532c3884db0a2d6182c8f8678de\\Autodesk Identity Manager\\AdskIdentityManager.exe\" \"%1\""
[HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\MuiCache]
"C:\\Program Files\\Autodesk\\webdeploy\\production\\df098dc22bdb0532c3884db0a2d6182c8f8678de\\Autodesk Identity Manager\\AdskIdentityManager.exe.FriendlyAppName"="Autodesk Identity Manager"
"C:\\Program Files\\Autodesk\\webdeploy\\production\\df098dc22bdb0532c3884db0a2d6182c8f8678de\\Autodesk Identity Manager\\AdskIdentityManager.exe.ApplicationCompany"="Autodesk, Inc."
[HKEY_USERS\S-1-5-21-2574782898-3156790848-1482602217-1000\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\MuiCache]
"C:\\Program Files\\Autodesk\\webdeploy\\production\\df098dc22bdb0532c3884db0a2d6182c8f8678de\\Autodesk Identity Manager\\AdskIdentityManager.exe.FriendlyAppName"="Autodesk Identity Manager"
"C:\\Program Files\\Autodesk\\webdeploy\\production\\df098dc22bdb0532c3884db0a2d6182c8f8678de\\Autodesk Identity Manager\\AdskIdentityManager.exe.ApplicationCompany"="Autodesk, Inc."
[HKEY_USERS\S-1-5-21-2574782898-3156790848-1482602217-1000\SOFTWARE\Classes\adsk.idmgr]
@="URL:adsk.idmgr Protocol"
"URL Protocol"=""
[HKEY_USERS\S-1-5-21-2574782898-3156790848-1482602217-1000\SOFTWARE\Classes\adsk.idmgr\shell]
[HKEY_USERS\S-1-5-21-2574782898-3156790848-1482602217-1000\SOFTWARE\Classes\adsk.idmgr\shell\open]
[HKEY_USERS\S-1-5-21-2574782898-3156790848-1482602217-1000\SOFTWARE\Classes\adsk.idmgr\shell\open\command]
@="\"C:\\Program Files\\Autodesk\\webdeploy\\production\\df098dc22bdb0532c3884db0a2d6182c8f8678de\\Autodesk Identity Manager\\AdskIdentityManager.exe\" \"%1\""
[HKEY_USERS\S-1-5-21-2574782898-3156790848-1482602217-1000_Classes\Local Settings\Software\Microsoft\Windows\Shell\MuiCache]
"C:\\Program Files\\Autodesk\\webdeploy\\production\\df098dc22bdb0532c3884db0a2d6182c8f8678de\\Autodesk Identity Manager\\AdskIdentityManager.exe.FriendlyAppName"="Autodesk Identity Manager"
"C:\\Program Files\\Autodesk\\webdeploy\\production\\df098dc22bdb0532c3884db0a2d6182c8f8678de\\Autodesk Identity Manager\\AdskIdentityManager.exe.ApplicationCompany"="Autodesk, Inc."
[HKEY_USERS\S-1-5-21-2574782898-3156790848-1482602217-1000\SOFTWARE\Autodesk\Identity Services]
[HKEY_USERS\S-1-5-21-2574782898-3156790848-1482602217-1000\SOFTWARE\Autodesk\Identity Services\CER]
"SessionStartCount"=dword:00000002
"Uptime"=hex(b):56,02,79,06,00,00,00,00
"CalendarUptime"=hex(b):c7,23,fe,b0,01,00,00,00
"SessionCleanCloseCount"=dword:00000002
sit straight too... :D
It seems it's a same one as one inside fusion.
~/.fusion360/wineprefixes/default/drive_c/Program Files/Autodesk/webdeploy/production/df098dc22bdb0532c3884db0a2d6182c8f8678de/Autodesk Identity Manage
its close, but the dll's do seem to differ slightly, im going to try and do a diff on the 2 folders to see what the difference really is. Its intriguing that the IM(Identity manager) on its own has a file called 'WebView2Loader.dll' that is referencing MS Edge, but fusion's version doesn't
Edit: It could be worth trying an install, while running https://learn.microsoft.com/en-gb/sysinternals/downloads/procmon to see all the registry entries the installer makes. I'm also wondering if that could run in the Wine instance to allow us to compare the installers output 1:1 (assuming its a Registry issue at this point)
Server 2022.txt Diff in the registry from installing Fusion 360 on a Server 2022 VM using Regshot
Describe the bug After starting Fusion360 using Bottles on EndevourOS KDE, the welcome screen opens and prompts me to sign in: Browser does not open or show a link to sign in.
To Reproduce Steps to reproduce the behavior:
Expected behavior Web browser (firefox) opens to let me log in
Screenshots
![image](https://user-images.githubusercontent.com/56475821/229775952-749f641a-9d21-4592-94f2-1dabd507c0a6.png)
Desktop (please complete the following information):