Skip to content

Make systemd user scope optional #89

Description

@e00E

The project tries to use systemd-run here:

if command -v systemd-run &>/dev/null && [[ -n "${XDG_RUNTIME_DIR:-}" ]]; then

This is a problem for me because I run claude desktop in a sandbox that doesn't have access to the socket /run/user/1000/systemd/private that systemd-run uses to communicate. systemd-run exists so the check for its existence with command -v systemd-run succeeds but the execution in the next line /run/user/1000/systemd/private ... fails because systemd-run fails because the socket doesn't exist. This makes claude desktop not start.

I fixed this by changing the start script to not attempt to run systemd-run. It would be nice if I could pass an argument to claude desktop so that it doesn't attempt to use systemd-run. Or it could attempt to use it but continue when it fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions