From d1f1be4e868de65959753b39a88246ee65e37422 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Thu, 28 Mar 2024 23:54:26 +0100 Subject: [PATCH] add to docs faq: Run neko without docker on host #314. --- docs/getting-started/faq.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/getting-started/faq.md b/docs/getting-started/faq.md index 1e9106f9a..0d38c5741 100644 --- a/docs/getting-started/faq.md +++ b/docs/getting-started/faq.md @@ -38,7 +38,7 @@ Check if you did not forget to add cap_add to your docker-compose file. - SYS_ADMIN ``` -# How can I embed the Neko desktop into web page without login prompt coming up for viewers? +## How can I embed the Neko desktop into web page without login prompt coming up for viewers? You can use the following URL to embed the Neko desktop into a web page without login prompt coming up for viewers: @@ -49,3 +49,9 @@ http://:8080/?usr=neko&pwd=neko https://stackoverflow.com/questions/15276929/how-to-make-a-video-fullscreen-when-it-is-placed-inside-an-iframe Your iframe needs an attribute: `allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"` or more modern `allow="fullscreen *"`. For the second you can remove the star if your iframe has the same origin or replace it with your iframe origin. + +## Can I use neko without docker? + +It is strongly recommended to use Neko with Docker, as it is the easiest way to run it. But you should be able to install Neko "natively" on your host system. Neko is based on Debian and uses Xorg and Pulseaudio. You would just need to follow steps that are in Dockerfile, install all dependencies on your host system and then just run it. + +However, it is recommend to start with existing system that has GUI with desktop manager, is based on Xorg and uses Pulseaudio (e.g. Ubuntu Desktop 22.04). For that matter you only need to install gstreamer dependencies, configure pulseaudio properly and run neko binary (you don't need to build it from scratch, you can copy it from docker image).