Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

configuration to have this work as a kasm workspace #62

Open
nate-yorio opened this issue Jun 29, 2023 · 0 comments
Open

configuration to have this work as a kasm workspace #62

nate-yorio opened this issue Jun 29, 2023 · 0 comments

Comments

@nate-yorio
Copy link

nate-yorio commented Jun 29, 2023

Describe the bug
VNC viewer shows blackscreen when using kasminit for workspace.

To Reproduce
I'm using the following settings:

sytone/obsidian-remote:latest
2 core
GPU count 1/2
inherit CPU allocation method
Registry: https://ghcr.io/

Volume Mappings:
{
"/home/username/nextcloud": {
"bind": "/vaults",
"mode": "rw",
"uid": 1000,
"gid": 1000,
"required": true
}
}

Docker Run Config Override:
{
"user": 1000,
"entrypoint": [
"/kasminit"
],
"environment": {
"PUID": "1000",
"PGID": "1000"
},
"ports": {
"6901/tcp": 6901,
"8080/tcp": 8080,
"8443/tcp": 8443
}
}

My logic for these settings was based on the sort of expectations defined in the docker baseimage from linuxserver.io that is being used in this project.

I couldn't get it to start until I added in kasminit as the entrypoint, but I just get a black screen. So it's like it's not able to load in the startup stuff in autostart or startwm.sh, but I'm not quite sure what I'd have to set to make this custom image compatible.

On their github page for the base image for this they say:
"Kasm Workspaces compatibility

Included in these base images are binary blobs /kasmbins and a special init process /kasminit to maintain compatibility with Kasm Workspaces, If using this base image as reccomended with the startwm.sh or autostart entrypoints. They will be able to be used on that platform without issue."

Thoughts? Advice?

Additionally, I have no idea if the config overrides make sense here, it seems like if you pull the base image into kasm the only config overrides they themselves include are:

{
"user": 1000,
"entrypoint": [
"/kasminit"
]
}

but this doesn't work since this image has custom things on top of the base

@nate-yorio nate-yorio changed the title Can't figure out configuration to have this work with kasm workspaces configuration to have this work as a kasm workspace Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant