[Bug]: Does not work with account with home directory in external drive over ssh, even after su into local user with local home directory
- Dominant language
- Swift
- Stars
- 49.9k
- Forks
- 1.8k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 22
Description
### I have done the following
- [x] I have searched the existing issues
- [ ] If possible, I've reproduced the issue using the 'main' branch of this project
### Steps to reproduce
`container system start` in an ssh session
### Current behavior
When ssh into the mac, `container system start` returns the following error:
```
Verifying apiserver is running...
Error: internalError: "failed to get a response from apiserver: interrupted: "XPC connection error: Connection invalid""
```
It looks like the GUI is a dependency, which is weird since this framework is supposed to run containers, and in a lot of use cases, people want to do this when using mac as a headless server.
### Expected Behavior
The container should start as normal.
### Environment
```markdown
- OS: 15.3.1 (24D70)
- Xcode: xcode-select version 2409. xcode not installed
- Container: N/A
```
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Contributor guide
Assessment
This issue has not been assessed yet.