C:\Users\username\AppData\Local\Microsoft\WindowsApps\ubuntu2004.exe config --default-user openharmony
时间: 2023-09-18 11:08:51 浏览: 86
通过WSL,你可以在Windows系统上运行Linux子系统。在更改WSL的默认用户时,可以使用以下命令:C:\Users\username\AppData\Local\Microsoft\WindowsApps\ubuntu2004.exe config --default-user openharmony。请注意,这只是一个示例命令,具体的路径和用户名可能因个人配置而异,请根据实际情况进行修改。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [【WSL】[01] windows subsytem linux 安装、尤其(Ubuntu) 以及GUI的详细安装方法 - 升级APT到APT-FAST,...](https://blog.csdn.net/yellow_hill/article/details/128475817)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Win10中将WSL Ubuntu20.04设置普通用户为默认用户](https://blog.csdn.net/weixin_43844107/article/details/130467162)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文