run other app, like xeyes to confirm all works

try this:
https://github.com/kikitux/vagrant-xeyes



On Thu, Dec 13, 2018 at 2:48 PM F.N <[email protected]> wrote:

>
>
> I've prepaired an android development environment using apache cordova
> inside a vagrant box with ubuntu 16.04 by following mainly this
> <https://flurdy.com/docs/android/cordova_vagrant_android.html> guide
> except using the latest android sdk tools (sdkmanager & avdmanager).
>
> I enable the ssh X11 forwarrding by adding the following in the Vagrantfile
>
> config.ssh.forward_agent = true
> config.ssh.forward_x11 = true
>
> but when I'm trying to run the android emulator cordova emulate android, a
> new window is oppened for a while but then it stucks (stop loading) and I'm
> gettin back the following X11 error:
>
> No emulator specified, defaulting to Android-27
> Waiting for emulator to start...
> emulator: Requested console port 5584: Inferring adb port 5585.
> emulator: WARNING: encryption is off
> pulseaudio: pa_context_connect() failed
> pulseaudio: Reason: Connection refused
> pulseaudio: Failed to initialize PA contextaudio: Could not init `pa'
> audio driver
> X Error of failed request:  BadRequest (invalid request code or no such
> operation)
>   Major opcode of failed request:  130 (MIT-SHM)
>   Minor opcode of failed request:  1 (X_ShmAttach)
>   Serial number of failed request:  14
>   Current serial number in output stream:  15
>
>
> Any idea ?
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/4941e87e-42b9-480d-8260-f443df4b4589%40googlegroups.com
> <https://groups.google.com/d/msgid/vagrant-up/4941e87e-42b9-480d-8260-f443df4b4589%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Alvaro

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0ez0oaN_Tts%2BSqTzUKzQrKSfbeQMjJ%3DZvwgpQuT8tR4rpQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to