WhitewaterFoundry / Pengwin

A Linux distro optimized for WSL based on Debian.
Other
1.48k stars 105 forks source link

Problem with space in User folder name #733

Open stefanwimmer128 opened 2 years ago

stefanwimmer128 commented 2 years ago

Describe the bug If the User folder name has a space, both the starting of the X-Server as well as the Start Menu entries don't work.

To Reproduce Steps to reproduce the behavior:

  1. Have User folder with space, e.g. "Name Name"
  2. Install Pengwin
  3. Setup GUI in pengwin-setup
  4. Restart pengwin, or try launching the start menu entries, e.g. Konsole.

Expected behavior Should work as expected, start X-Server, or launch App, e.g. Konsole.

Additional context In /etc/profile.d/vcxsrv.sh this "C:\Users\Name Name.vcxsrv\vcxsrv.exe" is not quoted properly. As well as in the shortcuts this "%USERPROFILE%\wslu\runHidden.vbs" which expands into "C:\Users\Name Name\wslu\runHidden.vbs".

Basic Troubleshooting Checklist

[x] I have searched Google for the error message. [x] I have checked official WSL troubleshooting documentation: https://docs.microsoft.com/en-us/windows/wsl/troubleshooting#confirm-wsl-is-enabled. [x] I have searched the official Microsoft WSL issues page: https://github.com/Microsoft/WSL/issues. [x] I have searched the Pengwin issues page: https://github.com/WhitewaterFoundry/Pengwin/issues. [x] I have run Windows 10 updates and restarted. [x] I have restarted WSL service: wsl.exe --terminate WLinux wsl.exe --shutdown.

What other troubleshooting have you attempted?

Insert here:

Pengwin Version

Run grep "PENGWIN_VERSION" /etc/os-release in Pengwin.

Insert here: 22.1.6

WSL general info

Run wslsys in Pengwin.

Insert here:

WSL Version: 2 Locale: en_US Release Install Date: Tue Aug 17 18:41:52 CEST 2021 Branch: vb_release Build: 19043 Full Build: 19041.1.amd64fre.vb_release.191206-1406 Display Scaling: 1.25 Windows Theme: dark Windows Uptime: 1d 3h 9m WSL Uptime: 0d 0h 18m WSL Release: Pengwin WSL Kernel: Linux 5.10.60.1-microsoft-standard-WSL2 Packages Count: 763

crramirez commented 1 year ago

Thank you for reporting