Skip to content

daemon fails when detach #22

@hedmo

Description

@hedmo

hi . I have a SB3 and trying to use surface-dtx-daemon. here is some info :

for start .

● surface-dtx-daemon.service - Surface Detachment System (DTX) Daemon
Loaded: loaded (/etc/systemd/system/surface-dtx-daemon.service; enabled; preset: disabled)
Active: active (running) since Tue 2026-02-10 18:41:45 CET; 1s ago
Invocation: 51f88d9e94d1488ba11ff9cc427186e2
Docs: https://github.com/linux-surface/surface-dtx-daemon
Main PID: 2112824 (surface-dtx-dae)
Tasks: 2 (limit: 37976)
Memory: 1.1M (peak: 1.7M)
CPU: 4ms
CGroup: /system.slice/surface-dtx-daemon.service
└─2112824 /usr/bin/surface-dtx-daemon --no-log-time

Feb 10 18:41:45 myms systemd[1]: Started Surface Detachment System (DTX) Daemon.
Feb 10 18:41:45 myms surface-dtx-daemon[2112824]: INFO sdtxd: running...
myms /home/hedmo #

and after i detach .

× surface-dtx-daemon.service - Surface Detachment System (DTX) Daemon
Loaded: loaded (/etc/systemd/system/surface-dtx-daemon.service; enabled; preset: disabled)
Active: failed (Result: exit-code) since Tue 2026-02-10 18:41:52 CET; 22s ago
Duration: 6.997s
Invocation: 51f88d9e94d1488ba11ff9cc427186e2
Docs: https://github.com/linux-surface/surface-dtx-daemon
Process: 2112824 ExecStart=/usr/bin/surface-dtx-daemon --no-log-time (code=exited, status=1/FAILURE)
Main PID: 2112824 (code=exited, status=1/FAILURE)
Mem peak: 1.7M
CPU: 5ms

Feb 10 18:41:45 myms systemd[1]: Started Surface Detachment System (DTX) Daemon.
Feb 10 18:41:45 myms surface-dtx-daemon[2112824]: INFO sdtxd: running...
Feb 10 18:41:52 myms surface-dtx-daemon[2112824]: ERROR sdtxd: critical error: Subprocess error (detachment)
Feb 10 18:41:52 myms surface-dtx-daemon[2112824]: Subprocess error (detachment)
Feb 10 18:41:52 myms surface-dtx-daemon[2112824]: Caused by:
Feb 10 18:41:52 myms surface-dtx-daemon[2112824]: Permission denied (os error 13)
Feb 10 18:41:52 myms systemd[1]: surface-dtx-daemon.service: Main process exited, code=exited, status=1/FAILURE
Feb 10 18:41:52 myms systemd[1]: surface-dtx-daemon.service: Failed with result 'exit-code'.

and a snip of journalctl .

Feb 10 18:42:25 myms systemd[1]: Started Surface Detachment System (DTX) Daemon.
Feb 10 18:42:25 myms surface-dtx-daemon[2114092]: INFO sdtxd: running...
Feb 10 18:42:41 myms surface-dtx-daemon[2114092]: ERROR sdtxd: critical error: Subprocess error (detachment)
Feb 10 18:42:41 myms surface-dtx-daemon[2114092]: Subprocess error (detachment)
Feb 10 18:42:41 myms surface-dtx-daemon[2114092]: Caused by:
Feb 10 18:42:41 myms surface-dtx-daemon[2114092]: Permission denied (os error 13)
Feb 10 18:42:41 myms systemd[1]: surface-dtx-daemon.service: Main process exited, code=exited, status=1/FAILURE
Feb 10 18:42:41 myms systemd[1]: surface-dtx-daemon.service: Failed with result 'exit-code'.

regard .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions