Software: ArcGIS Pro 3.2, 3.3, 3.4
License: Named User
Environment: Linux - Wine 10.0
Preface: ArcGIS Pro is not supported in this environment. Neither is Office 365 nor many other Windows applications, but compatibility through Wine is maturing, and being able to use ArcGIS Pro on another platform, even if it requires workarounds, would surely be beneficial to some users.
Issue: All versions of the software are able to complete installation, but further usage is halted upon being prompted to sign in. The sign-in window is blank, except for a few options:
- Sign in automatically
- Configure Licensing
- Sign In Using Browser
At first, it seemed that this was an issue with WebView2, but upon being able to install 3.2, which does not depend on WV2, the same issue persists (with occasional crashes). It may be that a security component is not implemented. Until I get more details on what may be causing this, I am trying to circumvent by signing in using browser instead. This option opens an oAuth2 request in a Linux-native browser with no issue. Entering sign in credentials yields an xdg-open request for an app to handle 'arcgis-pro'. Passing this into a script shows a URL scheme of this format:
arcgis-pro://auth/####/?code=. . .
It seemed like all I had to do was associate this url scheme with and xdg MIME type:
x-scheme-handler/arcgis-pro
and make it the default. The behavior does not seem to change however. Selecting the Wine-installed ArcGIS Pro (a .desktop entry) after signing in through a browser only opens the application again. Same thing happens if I copy the response uri through the script and pass it as an argument to the exe. If Pro was already open, the new process terminates. If not, a new process is started with no difference: I still need to sign in.
The response token is obtained, but I do not know how to pass that to the running Pro process.