Bottles (Flatpak) - Signing in doesnt return me back to the application
Describe the bug Running the application with flatpaks, after I log in, it doesnt return me back to the application, as I get "no apps available"
To Reproduce Steps to reproduce the behavior:
- Install autodesk360 with flatpak bottles
- Run it
- Log in in the browser
- Redirecting to the app doesnt work
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- Version number of Autodesk Fusion 360
- Graphics card model + Graphics card driver (Version number)
- Operating system (OpenSUSE Leap 15.3, Fedora 34, ...)
- Desktop environment (XFCE 4.16, Gnome 40, ...)
- DXVK- or OpenGL-Mode
Desktop (please complete the following information):
- Version number of Autodesk Fusion 360
- Graphics card model + Graphics card driver (Version number)
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.183.01 Driver Version: 535.183.01 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce RTX 2060 Off | 00000000:01:00.0 On | N/A |
| N/A 56C P0 23W / 80W | 570MiB / 6144MiB | 18% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 2153 G /usr/lib/xorg/Xorg 218MiB |
| 0 N/A N/A 2354 G ...irefox/4539/usr/lib/firefox/firefox 152MiB |
| 0 N/A N/A 2906 G ...ures=SpareRendererForSitePerProcess 77MiB |
| 0 N/A N/A 2921 G ...nglingPtr --variations-seed-version 92MiB |
| 0 N/A N/A 5762 G .../nicolas/.local/kitty.app/bin/kitty 13MiB |
| 0 N/A N/A 10528 G .../nicolas/.local/kitty.app/bin/kitty 9MiB |
| 0 N/A N/A 15701 G .../nicolas/.local/kitty.app/bin/kitty 3MiB |
+---------------------------------------------------------------------------------------+
- Operating system (OpenSUSE Leap 15.3, Fedora 34, ...) Ubuntu 22.04
- Desktop environment (XFCE 4.16, Gnome 40, ...) X11
- DXVK- or OpenGL-Mode
Same here , the wine script version doesnt open the browser , the bootle version opens but when i login i doesnt redirect to the app , it never logs in
Same here , the wine script version doesn
t open the browser , the bootle version opens but when i login i doesnt redirect to the app , it never logs in
Same, the wine script version doesn't open the browser for me either
The reason for this is that the installation variant under Bottles (Flatpak) is out of date and important patches are missing that are already available in the normal installation variant (without Flatpak!). But I should also say that I do not support the Flatpak variant myself! Instead, it is maintained by a user from my community.
Or just make the normal version open the web browser for both of us
The reason for this is that the installation variant under Bottles (Flatpak) is out of date and important patches are missing that are already available in the normal installation variant (without Flatpak!). But I should also say that I do not support the Flatpak variant myself! Instead, it is maintained by a user from my community.
Could the flatpak version be colliding in some way with the wine version? Because we both first tried the flatpak version, didnt work, and now we cant get the wine version to open the browser.
Thanks
@ficolas2 Theoretically not. But I just don't know what exactly was programmed.
I see. Anything we could do to debug this? Im not familiar with wine stuff My adskidmr-opener.desktop file, in .local/share/applications, is
[Desktop Entry]
Type=Application
Name=adskidmgr Scheme Handler
Exec=sh -c 'env WINEPREFIX="/home/nicolas/.autodesk_fusion/wineprefixes/default" wine "$(find /home/nicolas/.autodesk_fusion/wineprefixes/default/ -name "AdskIdentityManager.exe" | head -1 | xargs -I '{}' echo {})" "%u"'
StartupNotify=false
MimeType=x-scheme-handler/adskidmgr;
When I open that program, the adskIndentityManager.exe, with wine, something does seem to open.
Workaround:
- open the login page
- select the "Go to product" button in the web inspector, and copy the URL it leads to
- open your bottle's command line
- cd into
C:\Program Files\Autodesk\webdeploy\production\<LONG_ID_HERE>\Autodesk Identity Manager(there's two folders in the production folder for me, the Autodesk Identity Manager is in one of them) - execute
./AdskIdentityManager.exe "COPIED_URL_HERE"
Workaround:
1. open the login page 2. select the "Go to product" button in the web inspector, and copy the URL it leads to 3. open your bottle's command line 4. cd into `C:\Program Files\Autodesk\webdeploy\production\<LONG_ID_HERE>\Autodesk Identity Manager` (there's two folders in the production folder for me, the Autodesk Identity Manager is in one of them) 5. execute `./AdskIdentityManager.exe "COPIED_URL_HERE"`
I did this but when I return it tries to sign me back in but it fails to do so and it is just the fusion 360 start up screen with signing in at the bottom. Did I do something wrong or are there ways to fix this?
I now have Fusion360 installed through bottles authenticating and logging in properly. The issue is that the bottle does not have a .desktop file and associated mime type to pass the authentication url back to AdskIdentityManager.exe in the bottle and the .desktop created by the criyinkfly install script will not work for the bottles install. It was easy enough to create the correct .desktop file, the additional issue however is that for whatever strange reason bottles-cli called in the exec= section of the .desktop would not accept the -a argument for "%u" and will only accept --args. If there is enough interest I can do a step by step procedure to get it working if people are still having issues.
I now have Fusion360 installed through bottles authenticating and logging in properly. The issue is that the bottle does not have a .desktop file and associated mime type to pass the authentication url back to AdskIdentityManager.exe in the bottle and the .desktop created by the criyinkfly install script will not work for the bottles install. It was easy enough to create the correct .desktop file, the additional issue however is that for whatever strange reason bottles-cli called in the exec= section of the .desktop would not accept the -a argument for "%u" and will only accept --args. If there is enough interest I can do a step by step procedure to get it working if people are still having issues.
I would love to see a step by step tutorial! I think most of the linux users that use fusion and every user in the future with this issue would love that.
I now have Fusion360 installed through bottles authenticating and logging in properly. The issue is that the bottle does not have a .desktop file and associated mime type to pass the authentication url back to AdskIdentityManager.exe in the bottle and the .desktop created by the criyinkfly install script will not work for the bottles install. It was easy enough to create the correct .desktop file, the additional issue however is that for whatever strange reason bottles-cli called in the exec= section of the .desktop would not accept the -a argument for "%u" and will only accept --args. If there is enough interest I can do a step by step procedure to get it working if people are still having issues.
+1
Found a workaround here: https://xhyrom.dev/blog/posts/proper-way-to-install-fusion360-on-linux
I was able to register it manually by ➜ ~ cat .local/share/applications/adskidmgr-opener.desktop and copying the command in single quotes replace %u with the token url "adskidmgr:/login?code=xxxxxx"
make sure env WINEPREFIX and executable is in the same line
NOTE: if your installing Fusion360 via the script (NOT via Flatpak Bottles) in install scripts and are stuck in the login.
NOTE: at the time the installation directory is ~/.autodesk_fusion
Do the following
- Run Fusion360
- Open login page and login
- Right click the "Go to product" and copy link
- Open terminal and run the following command
WINEPREFIX="/home/YOUR_USER/.autodesk_fusion/wineprefixes/default" wine "C:\Program Files\Autodesk\webdeploy\production\LONG_ID_HERE\Autodesk Identity Manager\AdskIdentityManager.exe" "COPIED_LINK"
- make sure to replace
YOUR_USERwith your user in the computer.- run
whoamiif not sure
- run
- make sure to replace
LONG_ID_HEREwith the id in your directory.- Check
~/.autodesk_fusion/wineprefixes/default/drive_c/Program\ Files/Autodesk/webdeploy/production/
- Check
- make sure to replace
COPIED_LINKwith the link copied when launchingGo to product.- check step 3
resources
- https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/issues/387#issuecomment-1936390044
- https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/issues/460#issuecomment-2315888332
This workaround doesn't work (script install method). Running Identity Manager that way produces error:
0b7c:fixme:file:NtLockFile I/O completion on lock not implemented yet
0b7c:err:seh:NtRaiseException Unhandled exception code c0000409 flags 1 addr 0x6ffffed998fe
Fedora 41, Wine 10.0-rc2
I think I have found the reason why the Fusion360 app does not communicate with the browser. It seems to be a bug in Wine - under some circumstances not yet known to me (probably related to existence of symlinks in the user's home directory), it is not able to use the specified wineprefix and falls back to the default /home/user/.wine.
If this happens, it still works fine if, and only if, there is no other wine application installed under the same user; I tried creating a completely new user, and in this case, Fusion360 installs properly, starts its login page in a browser, and the login works without workarounds. (But there are still error messages from wine about not being able to find the proper wineprefix, but because there are no other wineprefixes anyway, it works.)
Hopefully this will help at least some of the users.
First up, big thanks to @cryinkfly and the other devs - this is the closest I've come to running Fusion on Linux so far!
When running @Clumsy-Coder 's one-liner, I get the following output:
04c0:fixme:file:NtLockFile I/O completion on lock not implemented yet
04c0:fixme:sync:SetWaitableTimerEx (000000000000009C, 00007FFFFE1FC898, 0, 0000000000000000, 0000000000000000, 0000000000000000, 32) semi-stub
04c0:fixme:ver:GetCurrentPackageId (00007FFFFE1FFEB0 0000000000000000): stub
04b8:fixme:ver:GetCurrentPackageId (00007FFFFE2FFEB0 0000000000000000): stub
And when restarting Fusion360 (via Gnome applications screen fwiw, not via CLI) I just get the "Welcome to Fusion" screen and link to login.
fwiw, the link I copied looks sth like:
adskidmgr:/login?code=<some code>&state=<long alphanumeric string>=
Can anyone offer some guidance?
Workaround from @Clumsy-Coder works for me -- Thank You!!!
I normally use chrome, so I needed to temporarily set Firefox as my default browser.
- Script install method (w/ all tested plugins)
- Kubuntu 24.04 LTS
- Education Licence
For posterity, I get the following output when running the described command:
06c4:fixme:file:NtLockFile I/O completion on lock not implemented yet
06c4:fixme:sync:SetWaitableTimerEx (00000000000000A4, 000000000011C898, 0, 0000000000000000, 0000000000000000, 0000000000000000, 32) semi-stub
For those still landing here,
@Clumsy-Coder workaround worked on 6.15.6-arch1-1 / Hyprland (Fusion 2602.1.25 Personal)
Path to the executable was different on my installation.
WINEPREFIX="<LINUX_HOME>/.fusion360/wineprefixes/default" wine "C:<WIN_HOME>\AppData\Local\Autodesk\webdeploy\production\<LONG_ID_HERE>\Autodesk Identity Manager\AdskIdentityManager.exe" "COPIED_URL_HERE"
Received similar messages to @zachramsey
Thanks all!
Workaround:
1. open the login page 2. select the "Go to product" button in the web inspector, and copy the URL it leads to 3. open your bottle's command line 4. cd into `C:\Program Files\Autodesk\webdeploy\production\<LONG_ID_HERE>\Autodesk Identity Manager` (there's two folders in the production folder for me, the Autodesk Identity Manager is in one of them) 5. execute `./AdskIdentityManager.exe "COPIED_URL_HERE"`
Hi All, I have an issue with this. I am not sure if maybe Autodesk page was altered in a meantime or what. Could someone kindly paste the button whose URL I am supposed to copy?
Workaround:
1. open the login page 2. select the "Go to product" button in the web inspector, and copy the URL it leads to 3. open your bottle's command line 4. cd into `C:\Program Files\Autodesk\webdeploy\production\<LONG_ID_HERE>\Autodesk Identity Manager` (there's two folders in the production folder for me, the Autodesk Identity Manager is in one of them) 5. execute `./AdskIdentityManager.exe "COPIED_URL_HERE"`Hi All, I have an issue with this. I am not sure if maybe Autodesk page was altered in a meantime or what. Could someone kindly paste the button whose URL I am supposed to copy?
Hey @szafranski
To get the URL; log into Autodesk and go to "https://profile.autodesk.com/" here you should see an option under You might be looking for in the bottom right for "Autodesk account".
Clicking that will take you to "manage.autodesk.com", but will have a much longer URL than if you navigate there directly. compared to if you go there directly. You can then follow the rest of the instructions and it should hopefully work (make sure you put the URL in speech marks when running the command.
HTH
Ste.
Hey @szafranski
To get the URL; log into Autodesk and go to "https://profile.autodesk.com/" here you should see an option under You might be looking for in the bottom right for "Autodesk account".
Clicking that will take you to "manage.autodesk.com", but will have a much longer URL than if you navigate there directly. compared to if you go there directly. You can then follow the rest of the instructions and it should hopefully work (make sure you put the URL in speech marks when running the command.
HTH
Ste.
That doesn't seem to be the case for me. I just get the URL: https://manage.autodesk.com/home I have fusion somehow installed in a Bottle using the official installer and Wine 10.0 and setting the windows version to 11. When I launch Fusion it goes to the main window and shows a button to sign in. If I click it I see a quick popup for a split second and then nothing. The popup seems to show itself intermittently afterwards though without touching anything.. Is there something I can try?
Workaround:
1. open the login page 2. select the "Go to product" button in the web inspector, and copy the URL it leads to 3. open your bottle's command line 4. cd into `C:\Program Files\Autodesk\webdeploy\production\<LONG_ID_HERE>\Autodesk Identity Manager` (there's two folders in the production folder for me, the Autodesk Identity Manager is in one of them) 5. execute `./AdskIdentityManager.exe "COPIED_URL_HERE"`Hi All, I have an issue with this. I am not sure if maybe Autodesk page was altered in a meantime or what. Could someone kindly paste the button whose URL I am supposed to copy?
Hey @szafranski
To get the URL; log into Autodesk and go to "https://profile.autodesk.com/" here you should see an option under You might be looking for in the bottom right for "Autodesk account".
Clicking that will take you to "manage.autodesk.com", but will have a much longer URL than if you navigate there directly. compared to if you go there directly. You can then follow the rest of the instructions and it should hopefully work (make sure you put the URL in speech marks when running the command.
HTH
Ste.
Thank you very much for trying to help. Finally my issue seems to be caused by link being opened in a new tab. But opening the Inspector in the web browser right after that, on this new page/tab allowed to me extract the data. Now I have another issue, but will write after some investigation. Thanks!
Clicking Sign In button while running via bottles doesn't open login page in browser.
No matter how I try it in the https://manage.autodesk.com/ page, the "go to products and services" link is always very clean (https://manage.autodesk.com/products). How does the url look like, that should be entered? Did the Autodesk website change?
@nerumo in the HTML, right below the button, there is a visually hidden input with the URL as value. As far as a read, you are supposed to take it as whole. Doesn't work for me, though.
New here, a lot of these threads have been very useful getting as far as I have.
Have it installed and running in bottles, have the issue with signing in but the workaround with the bottle command line seems to work.
I can reliably get it running, get the auth link, enter it into the command line with the .exe, at which point I get returned to fusion screen, but the "sign in" button is no longer clickable and it won't move on past that screen, and the whole window seems to lock up, can't interact with anything, can't even move the window around.
Whatever's happening the process is using a significant amount of cpu and memory, but I haven't seen anyone else report this same issue unless I've missed it somewhere. Any help would be greatly appreciated.
edit: looking again this is probably the same issue, just happening in the non-bottles version https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/issues/591