Hi,

   Thanks for your reply!

   I tried this just now, but not worked.

   It still failed.

Dec 31 16:03:15 localhost sh[283]: [16:03:15.786] Using config file 
'/etc/xdg/weston/weston.ini'
Dec 31 16:03:15 localhost sh[283]: [16:03:15.791] Loading module 
'/usr/lib/weston/fbdev-backend.so'
Dec 31 16:03:15 localhost sh[283]: [16:03:15.814] initializing fbdev backend
Dec 31 16:03:15 localhost sh[283]: [16:03:15.833] Loading module 
'/usr/lib/weston/gl-renderer.so'
Dec 31 16:03:15 localhost sh[283]: [16:03:15.841] fbGetDisplay failed.
Dec 31 16:03:15 localhost sh[283]: [16:03:15.841] fatal: failed to create 
compositor
Dec 31 16:03:15 localhost systemd[248]: weston.service: main process exited, 
code=exited, status=1/FAILURE
Dec 31 16:03:15 localhost systemd[248]: Unit weston.service entered failed 
state.


BR

kongling

From: [email protected]
To: [email protected]; [email protected]
Subject: RE: Weston-launch failed in systemd
Date: Mon, 15 Sep 2014 03:24:05 +0000









If you explicitly set the env in ExecStart like below, does it work?
ExecStart= /bin/sh -c ‘export XDG_RUNTIME_DIR=/run/user/5000 ; 
/usr/bin/weston-launch -- -i0 --current-mode’
 
Thanks,
Ning


From: IVI [mailto:[email protected]]
On Behalf Of kongling

Sent: Monday, September 15, 2014 10:14 AM

To: [email protected]

Subject: Weston-launch failed in systemd


 

Hi,

    I run the ivi image and weston-launch failed.

    version : 
http://download.tizen.org/releases/daily/tizen/ivi/tizen-ivi_20140909.4/



Dec 31 16:04:19 localhost weston-launch[260]: [16:04:19.285] Loading module 
'/usr/lib/weston/fbdev-backend.so'

Dec 31 16:04:19 localhost weston-launch[260]: [16:04:19.307] initializing fbdev 
backend

Dec 31 16:04:19 localhost weston-launch[260]: [16:04:19.326] Loading module 
'/usr/lib/weston/gl-renderer.so'

Dec 31 16:04:19 localhost weston-launch[260]: [16:04:19.334] fbGetDisplay 
failed.

Dec 31 16:04:19 localhost weston-launch[260]: [16:04:19.334] fatal: failed to 
create compositor



    I recognized that the env "XDG_RUNTIME_DIR" is not set, so I set the env in 
the tty2 and weston-launch worked manually.Thus, the problem is the env 
"XDG_RUNTIME_DIR".

    The env is setted in "[email protected]", but it seems like not worked. 
Then, I add "Environment=XDG_RUNTIME_DIR=/run/user/5000" before 
"ExecStart=/usr/bin/weston-launch -- -i0 --current-mode"  in the 
"weston.service",
 and it's no use.



    Is there anyway to set "XDG_RUNTIME_DIR" before "weston-launch" ?



BR,



kongling





                                          
_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi

Reply via email to