Hacker News new | ask | show | jobs
by win66 2158 days ago
This is really cool, I'm just building an image now. Excited to try it out. One small error is I think you are missing a '\' from the end of line 7 (repository flag)

edit:

I just got this error trying to build an image. Any idea what's wrong or how to fix it?

    ERROR: unsatisfiable constraints:
      novnc (missing):
        required by: world[novnc]
    The command '/bin/sh -c apk add --no-cache chromium   && yarn add puppeteer-core   && apk add   --no-cache   --repository http://dl-cdn.alpinelinux.org/alpine/edge/main novnc' returned a non-zero code: 1
I would super like to try this out! :)
1 comments

Thanks! It looks like the novnc package is in testing, not main:

http://dl-cdn.alpinelinux.org/alpine/edge/testing

Please note I did oversimplify this a bit. You'll still need something like WayVNC, but it doesn't have WebSocket support yet. You can track it here:

https://github.com/any1/neatvnc/issues/2

In the meantime, you should be able to use websockify (there is an alpine package already).

For a simple app, I'd recommend cage which is a kiosk wayland WM for a single app:

https://pkgs.alpinelinux.org/package/edge/community/x86_64/c...

Here is an example for Sway that you could use for Cage as well:

https://github.com/any1/wayvnc/blob/master/FAQ.md

Wow, you really nailed it! Thanks, I'm definitely going to build this :)
Sweet. I got it working but haven't automated it yet. I'll try to share a link eventually.