weston-launch --user="User1" hangs terminal
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:
- log into tty as User1
- kick weston-launch
- 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
Unfortunately above hangs system at boot.
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?