Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • W weston
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 316
    • Issues 316
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 117
    • Merge requests 117
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • wayland
  • weston
  • Issues
  • #468

Closed
Open
Created Feb 04, 2021 by Piotr Oniszczuk@warpme

weston-launch --user="User1" hangs terminal

Hi,

Im trying to automate startup of my app in Linux based appliance (minimyth2). OS is minimal sw. stack (no systemd; sysV rc scripts init style) required by App. to run under weston.

Currently all works ok when I:

  1. log into tty as User1
  2. kick weston-launch
  3. start App. i.e. in weston terminal

I want to automate above to auto-start App. under user User1 at appliance boot.

I'm trying to achieve this since last few days without success.

My concept is: use in rc scripts weston-launch to start weston compositor & expect from weston-launch required setup of things like auto creation of weston IPC socket at /var/run/xdg/User1 needed by App to communicate with compositor, etc.

/var/run/xdg/User1 dir is prior created with owner of User1 and 0700 rights. Having all this i want to start in rc.scripts App as User1 with XGD_RUNDIR=/var/run/xdg/User1 env. set.

Unfortunately above hangs system at boot.

I found a bit relevant report here (#410 (closed)) and i'm following #401 (comment 506239)

I started to verify steep-by-steep. Launching term as root and typing:

weston-launch --tty=/dev/tty1 --user="User1"

makes terminal hang...

Is this bug or i'm doing something wrong?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking