Skip to main content
Topic: Remotepc (Read 3067 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Remotepc

Hello, I have installed the remotepc app, but I'm unsure how to start the daemon since I'm not using systemd!
Could you give me any ideas?

Re: Remotepc

Reply #1
Try to learn how to write a service file for the service, then read the runit wiki page

Re: Remotepc

Reply #2
Can you give me the basic instructions?
I have created /etc/runit/service/remotepc/run and given it executable rights.
The file contains the following text:
Code: [Select]
#!/bin/sh
export ELECTRON_RUN_AS_NODE=1
export APP=remotepc
export NODE_ENV=PROD

exec /opt/remotepc/remotepc /opt/remotepc/resources/app.asar/node_modules/daemon/
 

After I executed 

Code: [Select]
sudo ln -s /etc/runit/service/remotepc /run/runit/service/      


Unfortunately, it doesn't work.

Code: [Select]
sv restart remotepc
timeout: down: remotepc: 0s, normally up, want up
❯ sudo sv status remotepc
down: remotepc: 0s, normally up, want up

Re: Remotepc

Reply #3
I noticed this:

Code: [Select]
sudo /usr/bin/env ELECTRON_RUN_AS_NODE=1 APP=remotepc NODE_ENV=PROD /opt/remotepc/remotepc /opt/remotepc/resources/app.asar/node_modules/daemon/
2025-07-23 16.52.32:804 |  error  | uncaughtException: libsystemd.so.0: cannot open shared object file: No such file or directory
Error: libsystemd.so.0: cannot open shared object file: No such file or directory
    at process.func [as dlopen] (node:electron/js2c/node_init:2:2214)
    at Module._extensions..node (node:internal/modules/cjs/loader:1343:18)
    at Object.func [as .node] (node:electron/js2c/node_init:2:2441)
    at Module.load (node:internal/modules/cjs/loader:1098:32)
    at Module._load (node:internal/modules/cjs/loader:945:12)
    at c._load (node:electron/js2c/node_init:2:13672)
    at Module.require (node:internal/modules/cjs/loader:1122:19)
    at require (node:internal/modules/helpers:130:18)
    at bindings (/opt/remotepc/resources/app.asar/node_modules/bindings/bindings.js:112:48)
    at Object.<anonymous> (/opt/remotepc/resources/app.asar/node_modules/daemon-native-utility/release/index.js:10:40)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1311:10)
    at Module.load (node:internal/modules/cjs/loader:1098:32)
    at Module._load (node:internal/modules/cjs/loader:945:12)
    at c._load (node:electron/js2c/node_init:2:13672)
    at Module.require (node:internal/modules/cjs/loader:1122:19)
    at require (/opt/remotepc/resources/app.asar/node_modules/bytenode/index.js:207:19)
    at Object.<anonymous> (evalmachine.<anonymous>:1:342)
    at Module._extensions.<computed> [as .jsc] (/opt/remotepc/resources/app.asar/node_modules/bytenode/index.js:228:26)
    at Module.load (node:internal/modules/cjs/loader:1098:32)
    at Module._load (node:internal/modules/cjs/loader:945:12)
    at c._load (node:electron/js2c/node_init:2:13672)
    at Module.require (node:internal/modules/cjs/loader:1122:19)
    at require (/opt/remotepc/resources/app.asar/node_modules/bytenode/index.js:207:19)
    at Object.<anonymous> (evalmachine.<anonymous>:1:921)
    at Module._extensions.<computed> [as .jsc] (/opt/remotepc/resources/app.asar/node_modules/bytenode/index.js:228:26)
    at Module.load (node:internal/modules/cjs/loader:1098:32)
    at Module._load (node:internal/modules/cjs/loader:945:12)
    at c._load (node:electron/js2c/node_init:2:13672)
    at Module.require (node:internal/modules/cjs/loader:1122:19)
    at require (/opt/remotepc/resources/app.asar/node_modules/bytenode/index.js:207:19)
    at Object.<anonymous> (evalmachine.<anonymous>:1:432)
    at Module._extensions.<computed> [as .jsc] (/opt/remotepc/resources/app.asar/node_modules/bytenode/index.js:228:26)
    at Module.load (node:internal/modules/cjs/loader:1098:32)
    at Module._load (node:internal/modules/cjs/loader:945:12)
    at c._load (node:electron/js2c/node_init:2:13672)
    at Module.require (node:internal/modules/cjs/loader:1122:19)
    at require (/opt/remotepc/resources/app.asar/node_modules/bytenode/index.js:207:19)
    at Object.<anonymous> (evalmachine.<anonymous>:1:1292)
    at Module._extensions.<computed> [as .jsc] (/opt/remotepc/resources/app.asar/node_modules/bytenode/index.js:228:26)
    at Module.load (node:internal/modules/cjs/loader:1098:32)
    at Module._load (node:internal/modules/cjs/loader:945:12)
    at c._load (node:electron/js2c/node_init:2:13672)
    at Module.require (node:internal/modules/cjs/loader:1122:19)
    at require (node:internal/modules/helpers:130:18)
    at Object.<anonymous> (/opt/remotepc/resources/app.asar/node_modules/daemon/starter/daemon.js:2:1)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1311:10)
    at Module.load (node:internal/modules/cjs/loader:1098:32)
    at Module._load (node:internal/modules/cjs/loader:945:12)
(node:26976) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `remotepc --trace-deprecation ...` to show where the warning was created)
(node:26976) NOTE: The AWS SDK for JavaScript (v2) is in maintenance mode.
 SDK releases are limited to address critical bug fixes and security issues only.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the blog post at https://a.co/cUPnyil

Re: Remotepc

Reply #4
Is this from  the AUR? They've compiled it against systemd, you can't (easily) run it in Artix.

 

Re: Remotepc

Reply #5
Yes it is from AUR! Any ideas?