X_DEV_STOP_DENIED
Means
x stop may not signal the x dev the lock names
Typical cause
the pid in .x/dev.lock belongs to another user, so SIGTERM is refused with EPERM
Fix
ps -o user= -p <pid>, then run x stop --json as that user
x stop may not signal the x dev the lock names
the pid in .x/dev.lock belongs to another user, so SIGTERM is refused with EPERM
ps -o user= -p <pid>, then run x stop --json as that user