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
Copy file name to clipboardExpand all lines: install/rsm-msba-windows.md
+5-3
Original file line number
Diff line number
Diff line change
@@ -45,16 +45,16 @@ wsl --set-default-version 2
45
45
wsl --install -d Ubuntu-22.04
46
46
```
47
47
48
-
> Important: Make sure to enter the same username and password you use to login to your computer
49
-
50
-
48
+
> Important: Make sure to enter the same username and password you use to login to your computer. The username should **not** have any spaces or special characters.
51
49
52
50
Check your username for Windows and Ubuntu by executing the command below in both (1) a Windows PowerShell and (2) an Ubuntu terminal. The output in both cases should be the same.
53
51
54
52
```bash
55
53
whoami
56
54
```
57
55
56
+
> Important: If you see `root` as the username please review the discussion in **step 4** below. You will need to reset your username for WSL2.
57
+
58
58
Next, restart your computer and re-open PowerShell to check that Ubuntu is set as the default linux distribution:
59
59
60
60
```bash
@@ -308,6 +308,8 @@ For a more extensive example using Python see: <a href="https://github.com/radia
308
308
309
309
### Trouble shooting
310
310
311
+
If you see `root` as the username when you type `whoami` in an Ubuntu terminal you will need to reset your username for WSL2. Please review step 4 in the install process for more guidance.
312
+
311
313
If you cannot connect to postgresql it is most likely due to an issue with the docker volume that contains the data. The volume can become corrupted if the container is not properly stopped using `q + Enter` in the launch menu. To create a clean volume for postgres (1) stop the running container using `q + Enter`, (2) run the code below in a terminal, and (3) restart the container. If you are still having issues connecting to the postgresql server, please reach out for support through Piazza.
0 commit comments