Menu

#373 O365Interactive can't open the link in firefox on fedora/gnome/wayland.

v5.1.0
closed
nobody
None
5
2021-09-15
2020-03-02
g2boojum
No

DavMail on Fedora 31 w/ gnome/wayland.

When I run davmail w/ "davmail.mode=O365Interactive", and click on the link to open a url in my browser, I get the error "Firefox is already running, but is not responding." Opening links from my terminal works fine, so the problem seems specific to davmail.

I did see a similar error posted for keybase: https://github.com/keybase/client/issues/22782. I don't know if the problem is similar here or not. The proposed fix in that bug report did not work for me.

Thanks!

Discussion

  • Mickael Guessant

    DavMail first tries native JDK Desktop.browse method and then fail over to xdg-open.

    Can you please check davmail.log for errors and whether xdg-open is called by DavMail ?

     
  • g2boojum

    g2boojum - 2020-03-04

    I don't see anything, but I'll attach my properties and log files. I created a new log file for testing, so it's reasonably sized.

     
  • Mickael Guessant

    • status: open --> pending
     
  • Mickael Guessant

    • status: pending --> closed
     
  • Mickael Guessant

    Unable to reproduce

     
  • Ben

    Ben - 2021-09-15

    Sorry, this is a super old issue, but I came here from Google with the same error, and I was able to figure out how to reproduce and also how to fix the issue, at least for my particular setup. It seems to be a Java issue, rather than a DavMail one.

    I am on an updated Arch Linux system with Wayland, and Firefox is configured to use Wayland with the environment variable MOZ_ENABLE_WAYLAND=1 . Per the Arch Wiki, some programs have issues where they attempt to open a Firefox window using X, but Firefox is already running with Wayland. I was able to fix this issue by setting the environment variable MOZ_DBUS_REMOTE=1. This seems to be an issue that happens as a result of Java's Desktop.Browse functionality, as a minimal program attempting to open Google using that method has the same behavior.

    Hope this helps someone!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.