# Vega Virtual Device on Linux waits the full timeout and reports "failed to access shell" when qemu's system libraries are missing

**URL:** <https://community.amazondeveloper.com/t/vega-virtual-device-on-linux-waits-the-full-timeout-and-reports-failed-to-access-shell-when-qemus-system-libraries-are-missing/29812>\
**Category:** Bug Reports\
**Created:** [October 22, 2026, 6:41pm UTC](https://community.amazondeveloper.com/t/vega-virtual-device-on-linux-waits-the-full-timeout-and-reports-failed-to-access-shell-when-qemus-system-libraries-are-missing/29812 "2026-10-22T18:41:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![akash\_parashar](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@akash\_parashar](https://community.amazondeveloper.com/u/akash_parashar)\
**Post date:** [October 22, 2026, 6:41pm UTC](https://community.amazondeveloper.com/t/vega-virtual-device-on-linux-waits-the-full-timeout-and-reports-failed-to-access-shell-when-qemus-system-libraries-are-missing/29812/1 "2026-10-22T18:41:58Z")

</div>

# 👉 Bug Description

## 1. Summary

On a Linux host missing some system libraries, `vega virtual-device start` doesn’t report the real problem. It waits for the whole timeout and then prints `failed to access shell`. The bundled qemu can’t start because `libpulse.so.0` and several X/xcb/GL libraries are missing, which we only found by running `ldd` on the qemu binary ourselves.

**App Name** : Kahani TV (hackathon project, not yet on the Appstore)  
**App Link on Amazon Appstore** : N/A

**Bug Severity**

- Impacts operation of app
- Blocks current development (until the cause is found)
- Improvement suggestion
- Issue with documentation: the VVD setup page doesn’t list the host packages qemu needs
- Other

## 2. Steps to Reproduce

1. On Ubuntu 24.04 without desktop audio/GL packages (for example a minimal or container install), install the Vega SDK.
2. Run `vega virtual-device start --timeout 240`.
3. Wait.

## 3. Observed Behavior

```auto
(waits 240 s)
failed to access shell

```

`ldd` on the bundled qemu shows `libpulse.so.0 => not found`, plus missing libX11/xcb, libGL/libEGL and libgbm.

## 4. Expected Behavior

```auto
The start command checks qemu's libraries (like the Android emulator's own
checks), fails within seconds, and names the missing libraries or packages.
The setup docs list the packages.

```

### 4.a Possible Root Cause & Temporary Workaround

```auto
Root cause: qemu exits immediately for missing shared libraries; the CLI keeps
polling for a shell until the timeout.
Workaround: apt install libpulse0 libnss3 libgl1 libegl1 libgbm1 and the
libx11 / libxcb packages. After that the VVD booted in about 10 seconds.

```

## 5. Logs or crash report

```auto
ldd <sdk>/.../qemu-system-* | grep "not found"
    libpulse.so.0 => not found
    (and X11/xcb, GL, EGL, gbm libraries)

```

## 6. Environment

- **SDK Version:** Vega CLI 1.4.5, Vega Virtual Device 0.24.12112
- **React Native Version:** N/A (the device doesn’t boot)
- **App State:** N/A
- **OS Information:** host Ubuntu 24.04 (container). The VVD never booted, so `vega exec vda shell` isn’t available.

## 7. Example Code Snippet / Screenshots / Screengrabs

```auto
vega virtual-device start --timeout 240

```

## 👉 Playback Issues

N/A

## 👉 Additional Context

```auto
Found on the hackathon's first day, while setting up to test a Fire TV / Vega app.

```

---

<div class="post-metadata">

**Author:** ![amen](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@amen](https://community.amazondeveloper.com/u/amen)\
**Post date:** [October 22, 2026, 10:30pm UTC](https://community.amazondeveloper.com/t/vega-virtual-device-on-linux-waits-the-full-timeout-and-reports-failed-to-access-shell-when-qemus-system-libraries-are-missing/29812/4 "2026-10-22T22:30:38Z")

</div>

Hi @akash_parashar,

Thank you for the detailed bug report on the Vega Virtual Device timing out with “failed to access shell” when qemu’s system libraries are missing - and for including the ldd output and the packages that resolved it.

Our team is investigating this issue and will provide an update as soon as we have more information.

One thing that is documented and may be relevant to your setup: the VVD runs on QEMU/KVM and requires direct hardware virtualization, so it isn’t supported inside containers or other nested-virtualization environments (Docker/WSL/VirtualBox). It can sometimes boot once the libraries are installed, as you saw, but a container is outside the supported path; for reliable testing we recommend a native Ubuntu 20.04/22.04/24.04 host or a physical Fire TV / Vega device in developer mode. (Reference: [Is it possible to test a Vega app inside a VirtualBox machine running Ubuntu 24?](https://community.amazondeveloper.com/t/is-it-possible-to-test-a-vega-app-inside-a-virtualbox-machine-running-ubuntu-24/27880))

Thanks for helping us improve the Vega platform.

Warm regards,  
Aishwarya
