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

[qemux86] Emulator fails to show GUI #259

Closed
beroset opened this issue Jul 4, 2023 · 1 comment · Fixed by AsteroidOS/meta-asteroid#168
Closed

[qemux86] Emulator fails to show GUI #259

beroset opened this issue Jul 4, 2023 · 1 comment · Fixed by AsteroidOS/meta-asteroid#168

Comments

@beroset
Copy link
Member

beroset commented Jul 4, 2023

Describe the bug
Previously, the emulator GUI worked just fine, but now it does not. Instead it boots to text mode.

To reproduce
Steps to reproduce the behavior:

  1. follow the standard directions to build the qemux86 target
  2. run the emulator as per the same instructions
  3. observe that only text is displayed and not a GUI

Expected behavior
What should happen is that the emulator should run the initial watch tutorial in GUI mode.

Device:

  • qemux86
  • AsteroidOS Builddate: 2023-07-04 (fresh from source)

Additional context
The journalctl log contains these lines:

Jul 04 16:04:20 qemux86 systemd[302]: asteroid-launcher.service: start-pre operation timed out. Terminating.
Jul 04 16:04:20 qemux86 systemd[302]: asteroid-launcher.service: Control process exited, code=killed, status=15/TERM
Jul 04 16:04:20 qemux86 systemd[302]: asteroid-launcher.service: Failed with result 'timeout'.
Jul 04 16:04:20 qemux86 systemd[302]: Failed to start The wayland compositors and desktop of AsteroidOS.
Jul 04 16:04:20 qemux86 systemd[302]: Dependency failed for Application launch booster for Qt Components on QtQuick2.
Jul 04 16:04:20 qemux86 systemd[302]: booster-qtcomponents-qt5.service: Job booster-qtcomponents-qt5.service/start failed with result 'dependency'.
Jul 04 16:04:20 qemux86 systemd[302]: Reached target Main User Target.
Jul 04 16:04:20 qemux86 systemd[302]: Startup finished in 1min 30.235s.
Jul 04 16:04:21 qemux86 systemd[302]: asteroid-launcher.service: Scheduled restart job, restart counter is at 1.
Jul 04 16:04:21 qemux86 systemd[302]: Stopped The wayland compositors and desktop of AsteroidOS.
Jul 04 16:04:21 qemux86 systemd[302]: Starting The wayland compositors and desktop of AsteroidOS...

It appears that the file /dev/.coldboot_done is not being created. It looks like it should have been created via asteroid-init. When I create it manually via touch /dev/.coldboot_done the GUI appears as normal.

@beroset beroset changed the title [codename] Issue Title [qemux86] Emulator fails to show GUI Jul 4, 2023
@beroset
Copy link
Member Author

beroset commented Nov 15, 2023

Meanwhile the workaround is this: ssh -p2222 root@localhost touch /dev/.coldboot_done
(This assumes that your instance has port 22 mapped to port 2222, per the instructions here: https://wiki.asteroidos.org/index.php/Emulator )
When that file is created, the GUI will start.

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

Successfully merging a pull request may close this issue.

1 participant