Comments (6)
@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.
@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.
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.
I do see from your comment that the --service
process is running as root:
That's never going to work with Flatpak.
from com.anydesk.anydesk.
@wjt okay so I stopped that system service run by root
and started Anydesk again. This is what I observed(with official .deb pkg):
anydesk --service
is system-wide autostarting service and client(app) uses it always, by default. Comes with .deb package at least.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.
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).
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.
Seems like the autostart issue can only be solved programmatically:
flatpak/flatpak#118
from com.anydesk.anydesk.
Related Issues (20)
- Can not setup tunneling anymore HOT 1
- Invisible icon in the corner of the screen in Wayland session HOT 6
- AnyDesk closes itself after a few seconds HOT 2
- Windows Events bugs
- error en ubuntu 23.04 HOT 1
- New maintainer(s) needed HOT 5
- AnyDesk unavailable HOT 1
- Builds incorrectly with new flatpak-builder HOT 1
- remove access to filesystem=home
- Anydesk not connecting on Fedora Kinoite 36 HOT 1
- Anydesk Cannot run on ubuntu 22.04 HOT 5
- Can't connect remotely to my computer if anydesk is not open HOT 1
- Crash after launching. HOT 1
- AnyDesk (com.anydesk.Anydesk 6.2.0) would not start after update HOT 20
- Not starting in both X and Wayland after updating HOT 1
- re-update to 6.2.0 HOT 8
- Add autostart and start minimize to systray HOT 4
- Anydesk flatpak 6.1.1 not working
- Authorization required, but no authorization protocol specified HOT 2
- Crash after a click to open the application settings menu on mate desktop HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from com.anydesk.anydesk.