Skip to content
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

How to run the installed distribution? #24

Closed
TomasHubelbauer opened this issue Feb 12, 2018 · 1 comment
Closed

How to run the installed distribution? #24

TomasHubelbauer opened this issue Feb 12, 2018 · 1 comment

Comments

@TomasHubelbauer
Copy link

Hello, sorry to be a dumbo, but how do I run the installed distribution? With the ones installed through wslconfig, they have names corresponding to the distros, so I can just type the name into the terminal:

  • ubuntu
  • opensuse-42

I installed another Ubuntu distro using

lxrunoffline install -n Ubuntu1 -f ./ubuntu-xenial-core-cloudimg-amd64-root.tar.gz -d C:/Users/Tom/Desktop/wsl/demo

and I figured I could just do ubuntu1, but that doesn't seem to be the case?

I can use wslconfig /s Ubuntu1 to make it a default and run it using wsl or bash, but that doesn't seem ideal. I would ultimately like to have taskbar shortcuts. I read Getting Crazy with Windows Subsystem for Linux where I found this tool, but the author uses WSLtty, but I would like to use the default Windows terminal that regular WSL uses.

@DDoSolitary
Copy link
Owner

DDoSolitary commented Feb 12, 2018

Use LxRunOffline run -n Ubuntu1, see output of LxRunOffline help run for details.

You can also lookup the corresponding GUID of a distro in HKCU\Software\Microsoft\Windows\CurrentVersion\lxssand use wsl {GUID}.

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

2 participants