Giter Site home page Giter Site logo

Comments (6)

wjt avatar wjt commented on September 24, 2024

@Surendrajat I think this is the same thing you reported in #33? I don't actually use Anydesk (I just maintain the bot that updates it and smoke-test the PRs it generates) so investigation welcome!

from com.anydesk.anydesk.

Surendrajat avatar Surendrajat commented on September 24, 2024

@wjt Yes. Sounds like the same thing.
In #33(if you can reopen) my last comment points out one possible reason. --local-service is nowhere in official docs and I'm not sure why flatpak version of it spawns services like that. According to official docs --service is the way to do it.

from com.anydesk.anydesk.

wjt avatar wjt commented on September 24, 2024

The string --local-service doesn't appear anywhere in the Flatpak packaging.

You could try running with flatpak run --log-session-bus --log-system-bus com.anydesk.Anydesk to see if it's trying and failing to access some D-Bus names and hitting some poorly-tested codepath?

from com.anydesk.anydesk.

wjt avatar wjt commented on September 24, 2024

I do see from your comment that the --service process is running as root:

Screenshot from 2020-03-01 14-11-43

That's never going to work with Flatpak.

from com.anydesk.anydesk.

Surendrajat avatar Surendrajat commented on September 24, 2024

@wjt okay so I stopped that system service run by root and started Anydesk again. This is what I observed(with official .deb pkg):

  1. anydesk --service is system-wide autostarting service and client(app) uses it always, by default. Comes with .deb package at least.
  2. anydesk --local-service is started by the client in case it can't connect to the above service(as in flatpak), and it stops(mostly) with client termination. It doesn't support autostart and hence few of useful features anydesk offers can't be used. It's not documented either.
    Screenshot from 2020-03-02 13-09-16

Now, even though sometimes this client created local-service does not stop with it, it doesn't consume any CPU and is not noticeable (which is huge in case of flatpak).
Screenshot from 2020-03-02 13-24-00
As suggested, I can go into debugging and all but for the time being I'm sticking to the official .deb package as I need that system-wide service for auto-start and unattended access and I'm not sure how I can achieve that behavior with flatpak.

from com.anydesk.anydesk.

eszlari avatar eszlari commented on September 24, 2024

Seems like the autostart issue can only be solved programmatically:
flatpak/flatpak#118

from com.anydesk.anydesk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.