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

Problem with installing #7

Open
tbw777 opened this issue Feb 10, 2017 · 2 comments
Open

Problem with installing #7

tbw777 opened this issue Feb 10, 2017 · 2 comments

Comments

@tbw777
Copy link

tbw777 commented Feb 10, 2017

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

@AlisterH
Copy link

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?

@AlisterH
Copy link

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.

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