sundarnagarajan / rdp-thinbook-linux

Linux on the RDP Thinbook
Other
10 stars 19 forks source link

When using custom 4.13.9 kernel, cannot run snap applications like yakyak #16

Open sundarnagarajan opened 6 years ago

sundarnagarajan commented 6 years ago

To reproduce:

sundarnagarajan commented 6 years ago

Unix.stackexchange.com report - no solution

sundarnagarajan commented 6 years ago

Reported here relating to Anbox. From one of the replies:

I guess the reason here is that the snap-confine binary in Ubuntu has AppArmor support enabled but your kernel from GalliumOS misses certain patches to confine snaps properly. All pending AppArmor patches are meant to land in the 4.14 upstream release of the kernel. So as long as that isn't out your only option is to switch to an Ubuntu based kernel on an Ubuntu based operating system

That should probably be: 'your only option is to switch to an Ubuntu compiled kernel' Pity Ubuntu doesn't release 4.13 kernels for Xenial Xerus 16.04 (They do have their mainline kernel repository , but I hear that those kernels don't work with snap-confine either! The Ubuntu mainline kernel builds are described in more detail here.

sundarnagarajan commented 6 years ago

Using instructions from this discussion, I was able to get yakyak to work.

* Navigate to /snap/APPNAME/current/
* Find launch binary
* Run the launch binary

Worked for yakyak snap application, on kernel 4.14.6

sundarnagarajan commented 6 years ago

Can also directly launch snap application using full path - e.g. for yakyak: /snap/yakyak/current/yakyak