I have the problem that my applications start before the internet connection is up, they fail and i have to manually restart them.
is there a way to wait for internet connection is up before starting KDE for example? or even better continue boot after network manager has a connection?
ethernet, my internet connection is uo shortly after applications has started, firefox and other apps are a bit faster up then the internet connection (about1-2 seconds)
I haven’t seen that happening before. On Arch (and EnOS) and most all Linux system I ever used, the service for Network-Manager is started on boot, way before the user-login. - What is the system you are using?
It could help to understand the full problem. The problem discription so far is blurry. My laptop for example starts anywhere without internet. And I do not have to restart any application when internet becomes available later. Even when I suspend the laptop while wifi is active and later resume without Internet - or vice versa - I do not have to restart anything.
When you boot your PC A and you do not login but let it sit idle, does the network come up and you can ping the PC A from another PC B?
Can you remote login to PC A? Can you share the journal after a fresh reboot, without local user login? E.g. Get the journal via a remote login. There should be some signs of a network delay / timeout in the journal.
The network is starting as a system service, in parallel to other systems.
With auto-login, the problem of a slow initial connectivity becomes more obvious, if you have also session/user autostart programs that require a network connection.
If you don’t want to restart those applications, you can replace the XDG autostart method with a systemd --user service unit, adding network to the requirements.
If this sounds difficult, you may want to check for a solution in the relevant program’s configuration, or you may not autostart it.