On Wed, 3 Sep 2014 18:19:59 +0000 "VanCutsem, Geoffroy" <geoffroy.vancut...@intel.com> wrote:
> > -----Original Message----- > > From: Pekka Paalanen [mailto:ppaala...@gmail.com] > > Sent: Wednesday, September 03, 2014 9:04 AM > > To: Steve (YiLiang) Zhou > > Cc: VanCutsem, Geoffroy; i...@lists.tizen.org; wayland- > > de...@lists.freedesktop.org > > Subject: Re: how to make Xwayland auto start on tizen-ivi-3.0 image > > > > 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. > One additional note on this is that we start Weston as a standard user (not > root). So does everyone else AFAIK. Xwayland X server does not need any privileges, because it does not open any devices directly (if not for Glamor). However, you should check that the log directory is writable by the Xwayland process, but if that fails, there should be some yelling in where ever Weston's stderr goes to. Thanks, pq _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel