On Tue, 2 Sep 2014 10:14:44 +0800
"Steve (YiLiang) Zhou" <sz...@telecomsys.com> wrote:

> Thanks Geoffroy,
> 
> Your information is very important for me ,  I'm sure that xwayland
> module is loaded ,  so is it possible that I startup Weston with root
> and start a shell script automatically which execute xwayland in it?

FWIW, when xwayland.so is loaded into Weston, Weston itself will be
listening on the X11 display socket for connections. When the first
X11 client connects, it will spawn the Xwayland X server to handle that
and all following X11 clients.

I suppose all you need is the DISPLAY environment variable, and know
when Weston is ready to receive X11 connections. I believe xwayland.so
module sets the DISPLAY variable for all child processes of Weston.


Thanks,
pq

> From: VanCutsem, Geoffroy [mailto:geoffroy.vancut...@intel.com] 
> Sent: Tuesday, September 02, 2014 12:28 AM
> To: Steve (YiLiang) Zhou; i...@lists.tizen.org
> Cc: wayland-devel@lists.freedesktop.org
> Subject: RE: how to make Xwayland auto start on tizen-ivi-3.0 image
> 
>  
> 
> Hi Steve,
> 
>  
> 
> We are using systemd in Tizen 3.0 (Tizen 2.x uses SysV init). I've never
> tried to run xwayland but Weston should be starting automatically and I
> _believe_ all you need is to make sure the xwayland module is also
> loaded (by adding module=xwayland.so to your weston.ini).
> 
>  
> 
> Hope this helps,
> 
> Geoffroy
> 
>  
> 
> From: IVI [mailto:ivi-boun...@lists.tizen.org] On Behalf Of Steve
> (YiLiang) Zhou
> Sent: Monday, September 01, 2014 10:09 AM
> To: i...@lists.tizen.org
> Cc: wayland-devel@lists.freedesktop.org
> Subject: how to make Xwayland auto start on tizen-ivi-3.0 image
> 
>  
> 
> Dear all,
> 
> I have a tizen device which run a wayland tizen-ivi-3.0 image ,we built
> xwayland on it , but right now I have to start it manually, I want to
> make it auto start like tizen-ivi-2.0 image.
> 
> I can't find the files like inittab or rc.sysinit ,so I want to figure
> out how it startup and how to startup xwayland automatically.
> 
_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to