how to make Xwayland auto start on tizen-ivi-3.0 image

Jasper St. Pierre jstpierre at mecheye.net
Thu Sep 4 18:55:55 PDT 2014


Don't run anything as root. Why does your application need to modify files
under /usr/?


On Thu, Sep 4, 2014 at 6:50 PM, Steve (YiLiang) Zhou <szhou at telecomsys.com>
wrote:

> Thanks everyone,
> Xwayland already worked fine, we modify the user-session to use root
> login. The reason I want to start it with root is that our x11 app need
> modify a directory under /usr, app doesn't have the right.
>
> Thanks and Best Regards
> Steve Zhou
>
> -----Original Message-----
> From: Pekka Paalanen [mailto:ppaalanen at gmail.com]
> Sent: Thursday, September 04, 2014 2:49 PM
> To: VanCutsem, Geoffroy
> Cc: Steve (YiLiang) Zhou; ivi at lists.tizen.org;
> wayland-devel at lists.freedesktop.org
> Subject: Re: how to make Xwayland auto start on tizen-ivi-3.0 image
>
> On Wed, 3 Sep 2014 18:19:59 +0000
> "VanCutsem, Geoffroy" <geoffroy.vancutsem at intel.com> wrote:
>
> > > -----Original Message-----
> > > From: Pekka Paalanen [mailto:ppaalanen at gmail.com]
> > > Sent: Wednesday, September 03, 2014 9:04 AM
> > > To: Steve (YiLiang) Zhou
> > > Cc: VanCutsem, Geoffroy; ivi at lists.tizen.org; wayland-
> > > devel at 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" <szhou at 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
>
> CONFIDENTIALITY NOTICE: The information contained in this message may be
> privileged and/or confidential. If you are not the intended recipient, or
> responsible for delivering this message to the intended recipient, any
> review, forwarding, dissemination, distribution or copying of this
> communication or any attachment(s) is strictly prohibited. If you have
> received this message in error, please notify the sender immediately, and
> delete it and all attachments from your computer and network.
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>



-- 
  Jasper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20140904/7313ce76/attachment-0001.html>


More information about the wayland-devel mailing list