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

kirkstone: 3f590faa108 prevents weston from starting under sysvinit #123

Open
andhe opened this issue Oct 4, 2024 · 0 comments
Open

kirkstone: 3f590faa108 prevents weston from starting under sysvinit #123

andhe opened this issue Oct 4, 2024 · 0 comments

Comments

@andhe
Copy link

andhe commented Oct 4, 2024

This commit is in the kirkstone branch:
3f590fa

When running sysvinit the above commit prevents weston from starting.

  • /etc/init.d/weston will source /etc/profile (which sources /etc/profile.d/weston.sh)
  • /etc/init.d/weston runs weston-start which checks if WAYLAND_DISPLAY is already set and if so bails out with:

ERROR: A Wayland compositor is already running, nested Weston instance is not supported yet.

PS. my system does not have a /run/wayland-0. The init script runs weston under weston user and the socket is in /run/user/$(id -u weston)/.

vishwamartur added a commit to vishwamartur/meta-freescale-distro that referenced this issue Nov 5, 2024
Related to Freescale#123

Modify configuration files to support sysvinit for weston.

* **conf/distro/fsl-wayland.conf**
  - Set `INIT_MANAGER` to "sysvinit" when sysvinit is used.
  - Add a conditional check for sysvinit in the `INIT_MANAGER` setting.

* **conf/distro/fslc-wayland.conf**
  - Set `INIT_MANAGER` to "sysvinit" when sysvinit is used.
  - Add a conditional check for sysvinit in the `INIT_MANAGER` setting.

* **recipes-fsl/images/fsl-image-machine-test.bb**
  - Include necessary sysvinit configurations for weston.
  - Add a conditional check for sysvinit in the `CORE_IMAGE_EXTRA_INSTALL` setting.

* **recipes-fsl/images/fsl-image-multimedia.bb**
  - Include necessary sysvinit configurations for weston.
  - Add a conditional check for sysvinit in the `CORE_IMAGE_EXTRA_INSTALL` setting.
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

1 participant