Skip to content

WHY 'Failed to get D-Bus connection: '? #1787

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

Closed
snowden-fu opened this issue Jun 9, 2020 · 2 comments
Closed

WHY 'Failed to get D-Bus connection: '? #1787

snowden-fu opened this issue Jun 9, 2020 · 2 comments

Comments

@snowden-fu
Copy link

I have followed the instruction to make code-server background. However , when I input sudo systemctl --user enable --now code-server, it shows Failed to get D-Bus connection: No such file or directory, I feel confused why it can be failed.

@yaerda
Copy link

yaerda commented Jun 9, 2020

@fuzheng1998 Me too. I found the solution in another closed issue: For anyone who just wants to use the bundled service, you can easily fix by running,It'll make code-server a system service and add your current user into the service file and start it for you.

@nhooyr
Copy link
Contributor

nhooyr commented Jun 9, 2020

See #1771

@nhooyr nhooyr closed this as completed Jun 9, 2020
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

3 participants