You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
wsl: Failed to start the systemd user session for '...'. See journalctl for more details #40593
This seems to be an old issue of wsl2 and I'm able to repro it.
It's because all wsl distros are under the same root cgorup namespace. Which could cause collisions between systemd instances. The issue can be reproed with these steps:
wsl --shutdown
wsl -d A
wsl -d B # Run in another shell, at the same time as launching distro A.
Having the same issue, with Ubuntu and a podman-machine distro active in WSL2.
Additional diagnostic detail — /run/user appears mounted twice as tmpfs on the failing distro:
$ mount | grep user
none on /run/user type tmpfs (rw,nosuid,nodev,noexec,noatime,mode=755)
none on /run/user type tmpfs (rw,relatime)
snapfuse on /snap/terraform/888 type fuse.snapfuse (ro,nodev,relatime,user_id=0,group_id=0,allow_other)
snapfuse on /snap/go/11127 type fuse.snapfuse (ro,nodev,relatime,user_id=0,group_id=0,allow_other)
snapfuse on /snap/snapd/26865 type fuse.snapfuse (ro,nodev,relatime,user_id=0,group_id=0,allow_other)
snapfuse on /snap/core22/2411 type fuse.snapfuse (ro,nodev,relatime,user_id=0,group_id=0,allow_other)
snapfuse on /snap/opentofu/236 type fuse.snapfuse (ro,nodev,relatime,user_id=0,group_id=0,allow_other)
snapfuse on /snap/terraform/896 type fuse.snapfuse (ro,nodev,relatime,user_id=0,group_id=0,allow_other)
snapfuse on /snap/go/11185 type fuse.snapfuse (ro,nodev,relatime,user_id=0,group_id=0,allow_other)
snapfuse on /snap/core24/1643 type fuse.snapfuse (ro,nodev,relatime,user_id=0,group_id=0,allow_other)
snapfuse on /snap/opentofu/240 type fuse.snapfuse (ro,nodev,relatime,user_id=0,group_id=0,allow_other)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1607328k,nr_inodes=401832,mode=700,uid=1000,gid=1000)
tmpfs on /mnt/wslg/run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=1607328k,nr_inodes=401832,mode=700,uid=1000,gid=1000)
Received wsl: Failed to start the systemd user session for error after latest WSL2 update. Might be similar to issue #13826.
Environment
Windows Version: Win11, 25H2, Build 26200.8737 (10.0.26200.8737)
WSL Version: v2.7.10.0
WSL 1 or 2: WSL 2
Kernel Version: Linux version 7.1.2-WSL2-RT-STABLE (root@388edc2a2b8b) (gcc (GCC) 16.1.1 20260625, GNU ld (GNU Binutils) 2.46.1)
Other Software: pyenv, scoop-installed wsl2-rolling-kernel-stable-rt-addon, custom kernel via .wslconfig, WSLg v1.0.73.2, MSRDC v1.2.6676
Description
After updating to WSL 2.7.10.0, launching any WSL distribution fails with:
The user session fails to start, but the system session works. I initially thought this appears to be a regression introduced in WSL 2.7 related to systemd user session handling, but looks like this issue has happened before the latest WSL2 udpate.
Repro Steps
Ensure WSL 2.7.10.0 is installed (wsl --version shows 2.7.10.0)
Have a distribution with systemd enabled (systemd=true in /etc/wsl.conf)
Run wsl --shutdown
Launch WSL: wsl or wsl -d <distro> or wsl -u username
Observe the error message
Expected Behavior
WSL2 should start successfully and drop into a shell with the systemd user session active.
Actual Behavior
WSL2 prints the error and drops to a shell, but systemctl --user status shows the user session failed.
Workarounds Tried
sudo systemctl restart [email protected] - temporarily fixes until next wsl --shutdown
Same issue here running two Ubuntu versions. Its a real shame as I wanted to run a parallel distro for switching between work and private environments, but now docker does not work because of this systemd issue 🤦
The error wsl: Failed to start the systemd user session for 'alex'. See journalctl for more details. appears on the newer (non-default Ubuntu 26.04):
NAME STATE VERSION
* Ubuntu-24.04 Running 2
Ubuntu-26.04 Running 2
docker-desktop Running 2
Activity
github-actions commentedon May 19, 2026
Diagnostic information
chemwolf6922 commentedon May 19, 2026
Hi parapada73 , Could you please share the journalctl log with
journalctl > log? Thanks.chemwolf6922 commentedon May 19, 2026
This seems to be an old issue of wsl2 and I'm able to repro it.
It's because all wsl distros are under the same root cgorup namespace. Which could cause collisions between systemd instances. The issue can be reproed with these steps:
wsl --shutdown wsl -d A wsl -d B # Run in another shell, at the same time as launching distro A.This will result in systemd errors like this
We'll need to have some internal discussions before potentially writing a fix for this.
danielwagn3r commentedon Jun 3, 2026
Having the same issue, with Ubuntu and a podman-machine distro active in WSL2.
Additional diagnostic detail —
/run/userappears mounted twice as tmpfs on the failing distro:jcanfield commentedon Jun 28, 2026
Received wsl: Failed to start the systemd user session for error after latest WSL2 update. Might be similar to issue #13826.
Environment
Description
After updating to WSL 2.7.10.0, launching any WSL distribution fails with:
The user session fails to start, but the system session works. I initially thought this appears to be a regression introduced in WSL 2.7 related to systemd user session handling, but looks like this issue has happened before the latest WSL2 udpate.
Repro Steps
wsl --versionshows 2.7.10.0)systemd=truein /etc/wsl.conf)wsl --shutdownwslorwsl -d <distro>orwsl -u usernameExpected Behavior
WSL2 should start successfully and drop into a shell with the systemd user session active.
Actual Behavior
WSL2 prints the error and drops to a shell, but
systemctl --user statusshows the user session failed.Workarounds Tried
sudo systemctl restart [email protected]- temporarily fixes until nextwsl --shutdownNT: add WSL install/update scripts, split scoop, renumber to 3 digits
six-edge-ops commentedon Sep 6, 2026
Same issue here running two Ubuntu versions. Its a real shame as I wanted to run a parallel distro for switching between work and private environments, but now docker does not work because of this systemd issue 🤦
The error
wsl: Failed to start the systemd user session for 'alex'. See journalctl for more details.appears on the newer (non-default Ubuntu 26.04):wsl -v
systemctl status in Ubuntu 26.04
Add inspiron-16 WSL host (#273)