Bug 458642 - Numerous KDE apps can't see network in a Plasma session running under Parallels VM for M1 Mac
Summary: Numerous KDE apps can't see network in a Plasma session running under Paralle...
Status: RESOLVED UPSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-02 16:48 UTC by Johnny Laguna
Modified: 2022-09-02 19:15 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Network Interfaces and System Monitor apps side-by-side (165.67 KB, image/png)
2022-09-02 16:48 UTC, Johnny Laguna
Details
attachment-8184-0.html (1.70 KB, text/html)
2022-09-02 18:59 UTC, Johnny Laguna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johnny Laguna 2022-09-02 16:48:08 UTC
Created attachment 151785 [details]
Network Interfaces and System Monitor apps side-by-side

SUMMARY
***
I'm running Kubuntu/KDE in a Parallels VM on an M1 Mac Air. When logged into the Plasma desktop, I am on the net with an assigned IP address (different from the host Mac). I can surf the web using Firefox, Vivaldi, and the KDE web browser, I can ssh into remote machines from a terminal, etc. Moreover, I can ssh into the Plasma session from a terminal on the host Mac. The KDE Network Interfaces Info Center sees the ethernet interface (enp0s5). HOWEVER, a number of the other KDE graphical (Discover, System Monitor, etc), apps are not able to; they think I am offline. (I've added a screenshot showing both the Network Interfaces and System Monitor side-by-side.) Note that, if I use the Ubuntu or Mate desktop environments, there is no such problem; all the graphical apps for those environments can see that I'm on the network (although the KDE apps still can't).
***

STEPS TO REPRODUCE
There aren't really any "steps" involved as it appears to be a global issue for most KDE graphical apps that attempt to access the network.

SOFTWARE/OS VERSIONS
macOS: 12..5.1
Linux/KDE Plasma: Linux ubuntu 5.15.0-47-generic, Kubuntu 22.04
(available in About System)
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5

ADDITIONAL INFORMATION
I created the VM with Parallels Desktop 18 for Mac.
Comment 1 Nate Graham 2022-09-02 18:50:57 UTC
Can you paste the output of `nmcli`?
Comment 2 Johnny Laguna 2022-09-02 18:59:57 UTC
Created attachment 151788 [details]
attachment-8184-0.html

On 2 Sep 2022, at 1:50 PM, Nate Graham <bugzilla_noreply@kde.org> wrote:

...
--- Comment #1 from Nate Graham <nate@kde.org> ---
Can you paste the output of `nmcli`?

Sure thing:

enp0s5: unmanaged
       "Red Hat Virtio"
       ethernet (virtio_net), 00:1C:42:5E:95:56, hw, mtu 1500

lo: unmanaged
       "lo"
       loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
Comment 3 Nate Graham 2022-09-02 19:15:35 UTC
That would be the problem. Networkmanager thinks it doesn't have a network connection, and most KDE software relies on NetworkManager to determine the status of the network. It's not just KDE software too, lots of other Linux software will use NetworkManager for this purpose.

Given that you do in fact have a network connection, it would seem like this is a bug in NetworkManager; please report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/. Thanks!