wsl_gui_autoinstall
wsl_gui_autoinstall copied to clipboard
Problem with installing
I'm running script with admin rights on clean wsl instance. I'm getting this error:
--- Installing packages
--- Adding link for X Server to Startup Items
Не удается сохранить ярлык "C:\Users\andrew\Start Menu\Programs\Startup\VcXsrv.lnk".
строка:1 знак:235
+ ... 0 -ac -terminate -lesspointer -multiwindow -clipboard -wgl';$s.Save()
+ ~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [], DirectoryNotFoundException
+ FullyQualifiedErrorId : System.IO.DirectoryNotFoundException
--- Launching X Server. DO NOT grant access to any network interfaces if prompted; they are unnecessary.
--- Adding X environment variable to your .bashrc
+ echo 'export DISPLAY=localhost:0'
--- Extracting PulseAudio
...
Не удается сохранить ярлык = can't save shortcut
After this i'm enter to bash --login and cmus (audio player) say to me:
xcb_connection_has_error() returned true 440Hz-5sec.mp3 /usr/bin/pulseaudio: error while loading shared libraries: libprotocol-esound.so: cannot open shared object file: No such file or directory
I had the same problem - audio playback failed, and I saw the message about libprotocol-esound.so.
If I installed the package that provides that library, I got other similar messages about other libraries (zeroconf related, consolekit...). I gave up when I couldn't figure out which package I needed next! So I uninstalled all that rubbish, did a little more googling, and ran echo export PULSE_SERVER=tcp:localhost >> ~/.bashrc
. I now don't get any library loading errors.
So I'm wondering, Adam - does that need to be added to the script? And does the script even need to install pulseaudio, or is libpulse0 enough?
does that need to be added to the script? And does the script even need to install pulseaudio, or is libpulse0 enough
So, after I finally got Pulseaudio working in Windows, I removed that line from .bashrc and uninstalled pulseaudio, keeping just libpulse0, then exited my bash login and then logged in again. It still works, so presumably that line isn't required in .bashrc, and ubuntu pulseaudio isn't required, just libpulse0.