Skip to content

Cannot install Tunnels as a service: Error creating dbus session #11002

Open
@iqnite

Description

@iqnite
  • VSCode Version: 1.100.2
  • Local OS Version: Windows 11 24H2
  • Remote OS Version: Raspberry Pi OS 12.11
  • Remote Extension/Connection Type: Remote - Tunnels
  • Logs: See below

Steps to Reproduce:

  1. On a machine running Debian, run sudo code tunnel service install
  2. The command will fail with this error:
*
* Visual Studio Code Server
*
* By using the software, you agree to
* the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
* the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
*
[2025-06-02 21:58:47] error Error creating dbus session. This command uses systemd for managing services, you should check that systemd is installed and under your user.If running `systemctl status` works, systemd is ok, but your session dbus may not be. You might need to:

- Install the `dbus-user-session` package, and reboot if it was not installed
- Start the user dbus session with `systemctl --user enable dbus --now`.

The error encountered was: I/O error: No such file or directory (os error 2)
  1. Follow the instructions shown in the error message
  2. You will still get the error

Does this issue occur when you try this locally?: N/A
Does this issue occur when you try this locally and all extensions are disabled?: Yes

Metadata

Metadata

Assignees

Labels

info-neededIssue requires more information from postertunnels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions