anujdatar / onenote-desktop

One Note desktop application
MIT License
94 stars 13 forks source link

App doesn't launch in VM #87

Open nburkitt opened 3 months ago

nburkitt commented 3 months ago

Ubuntu 22.04 on VM running under Hyper-V. Manually installed Firefox (since default Firefox doesn't like VMs). Installation is successful, icon appears in "Show Applications." Attaches to Favorites bar. This app seems to have the same opinion of VMs as snap-installed Firefox. Here's syslog when attempting to launch:

Jul 26 14:21:55 ubuntu-22 dbus-daemon[1424]: [session uid=1000 pid=1422] Activating service name='org.freedesktop.systemd1' requested by ':1.108' (uid=1000 pid=30998 comm="/snap/bin/onenote-desktop " label="unconfined")
Jul 26 14:21:55 ubuntu-22 dbus-daemon[1424]: [session uid=1000 pid=1422] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Jul 26 14:21:55 ubuntu-22 onenote-desktop_onenote-desktop.desktop[30998]: /user.slice/user-1000.slice/session-c2.scope is not a snap cgroup
Jul 26 14:21:55 ubuntu-22 kernel: [23328.611116] audit: type=1400 audit(1722028915.770:135): apparmor="DENIED" operation="capable" profile="/usr/lib/snapd/snap-confine" pid=30998 comm="snap-confine" capability=12  capname="net_admin"
Jul 26 14:21:55 ubuntu-22 kernel: [23328.611462] audit: type=1400 audit(1722028915.770:136): apparmor="DENIED" operation="capable" profile="/usr/lib/snapd/snap-confine" pid=30998 comm="snap-confine" capability=38  capname="perfmon"
anujdatar commented 2 months ago

Is that something to do with apparmor?

nburkitt commented 2 months ago

I presume that is the case, but I didn't spend much time investigating. I just switched to using the web interface directly.

-Nick

------ Original Message ------ From "Anuj Datar" @.> To "anujdatar/onenote-desktop" @.> Cc "nburkitt" @.>; "Author" @.> Date 8/17/2024 6:43:26 AM Subject Re: [anujdatar/onenote-desktop] App doesn't launch in VM (Issue

87)

Is that something to do with apparmor?

— Reply to this email directly, view it on GitHub https://github.com/anujdatar/onenote-desktop/issues/87#issuecomment-2294863616, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEW6MRHV2RBXB24W5FQUXBLZR5HP5AVCNFSM6AAAAABLRGQ5CSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJUHA3DGNRRGY. You are receiving this because you authored the thread.Message ID: @.***>