Skip to content

In Windows 11, init with an alternative #27

Description

@mrebello

put the shell to wsl2hack and setting default user causes a bug with the "bash from here" in explorer.
In Windows 11, is an alternative:
Don't change the default shell of root and don't change default user to root.
create a file
/etc/wsl.conf
and put
[boot]
command=/usr/local/bin/wsl2hack

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions