diff --git a/images/chromium-headful/Dockerfile b/images/chromium-headful/Dockerfile
index 922ddf9d..1eae5fdc 100644
--- a/images/chromium-headful/Dockerfile
+++ b/images/chromium-headful/Dockerfile
@@ -32,7 +32,7 @@ RUN set -eux; \
make -j$(nproc); \
make install;
-FROM ghcr.io/m1k1o/neko/chromium:3.0.6 AS neko
+FROM ghcr.io/onkernel/neko/base:3.0.6-v1.0 AS neko
FROM docker.io/ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
diff --git a/images/chromium-headful/client/public/index.html b/images/chromium-headful/client/public/index.html
index aab780a0..b9546790 100644
--- a/images/chromium-headful/client/public/index.html
+++ b/images/chromium-headful/client/public/index.html
@@ -13,7 +13,6 @@
-
diff --git a/images/chromium-headful/client/src/components/connect.vue b/images/chromium-headful/client/src/components/connect.vue
index c8e2b06d..c850c642 100644
--- a/images/chromium-headful/client/src/components/connect.vue
+++ b/images/chromium-headful/client/src/components/connect.vue
@@ -169,7 +169,7 @@
}
// KERNEL: auto-login
- this.$accessor.login({ displayname: 'dummy', password: 'dummy' })
+ this.$accessor.login({ displayname: 'kernel', password: 'admin' })
this.autoPassword = null
}
diff --git a/images/chromium-headful/client/src/neko/index.ts b/images/chromium-headful/client/src/neko/index.ts
index 91b4c433..593f58f9 100644
--- a/images/chromium-headful/client/src/neko/index.ts
+++ b/images/chromium-headful/client/src/neko/index.ts
@@ -149,7 +149,12 @@ export class NekoClient extends BaseClient implements EventEmitter {
if (heartbeat_interval > 0) {
if (this._ws_heartbeat) clearInterval(this._ws_heartbeat)
- this._ws_heartbeat = window.setInterval(() => this.sendMessage(EVENT.CLIENT.HEARTBEAT), heartbeat_interval * 1000)
+ this._ws_heartbeat = window.setInterval(() => {
+ this.emit('debug', `sending client/heartbeat`)
+ this.sendMessage(EVENT.CLIENT.HEARTBEAT)
+ this.emit('debug', `sending chat/message`)
+ this.sendMessage(EVENT.CHAT.MESSAGE, { content: `heartbeat/fake [${Date.now()}]` })
+ }, heartbeat_interval * 1000)
}
}
diff --git a/images/chromium-headful/neko.yaml b/images/chromium-headful/neko.yaml
index 0a3aa452..00850b42 100644
--- a/images/chromium-headful/neko.yaml
+++ b/images/chromium-headful/neko.yaml
@@ -5,7 +5,32 @@ desktop:
screen: "1024x768@60"
member:
- provider: "noauth"
+ provider: multiuser
+ multiuser:
+ admin_password: "admin"
+ admin_profile:
+ name: "" # if empty, the login username is used
+ is_admin: true
+ can_login: true
+ can_connect: true
+ can_watch: true
+ can_host: true
+ can_share_media: true
+ can_access_clipboard: true
+ sends_inactive_cursor: true
+ can_see_inactive_cursors: true
+ user_password: "neko"
+ user_profile:
+ name: "" # if empty, the login username is used
+ is_admin: false
+ can_login: true
+ can_connect: true
+ can_watch: true
+ can_host: true
+ can_share_media: true
+ can_access_clipboard: true
+ sends_inactive_cursor: true
+ can_see_inactive_cursors: false
session:
merciful_reconnect: true
@@ -18,7 +43,7 @@ plugins:
enabled: false
chat:
- enabled: false
+ enabled: true
filetransfer:
enabled: false