<div dir="ltr"><div><div>Recent gdm has support for Wayland sessions. You'll have to write the session file yourself if you want to launch weston, though.<br><br></div>Something like this should work.<br><br></div><div>
# mkdir -p /usr/share/wayland-sessions/<br></div># echo <<<EOF<br>[Desktop Entry]<br>Name=Weston<br>Exec=weston-launch -- weston<br>Type=Application<br>EOF > /usr/share/wayland-sessions/weston.desktop<br></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Apr 13, 2014 at 9:21 AM, Pekka Paalanen <span dir="ltr"><<a href="mailto:ppaalanen@gmail.com" target="_blank">ppaalanen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, 13 Apr 2014 13:09:47 +0100<br>
Michael Johnson <<a href="mailto:mikeyj001@hotmail.com">mikeyj001@hotmail.com</a>> wrote:<br>
<br>
> Thanks for your reply Pekka,<br>
><br>
> I wasn't expecting any display managers to be ready for wayland/weston yet, but I was just hoping that I could create a service/daemon so that it would start as soon as I logged in, and not have any issues when logging in to multiple terminals.  For that I guess I'd need to know what dependencies need to be started first.  I have no clue on that.<br>

><br>
><br>
<br>
Hi,<br>
<br>
please use reply-to-all, and do not top-post.<br>
<br>
Oh, you want it to go graphical after logging in, not at boot.<br>
Well, any personal start-up script that runs weston-launch if it's<br>
not already running should be enough. That's not really a service,<br>
you can do that with any shell login scripts. There are no<br>
additional dependencies for Weston, but other desktop environments<br>
have other ways to start them manually, with all the needed daemons.<br>
<br>
There is no such thing as a "Wayland service" or a daemon.<br>
<br>
So, it depends on what compositor/DE you choose. I guess each one<br>
of them has their own way to pick the Wayland flavour. I don't<br>
know if there is anything we can say in general.<br>
<br>
Or are you referring to systemd user sessions?<br>
<br>
Have you tried running your DE of choice manually yet? I assume the<br>
very same command would work from a login script with some checks<br>
whether it is running already.<br>
<br>
<br>
Thanks,<br>
pq<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
> Pekka Paalanen wrote:<br>
> On Sat, 12 Apr 2014 11:46:54 +0100<br>
> Michael Johnson <<a href="mailto:mikeyj001@hotmail.com">mikeyj001@hotmail.com</a>> wrote:<br>
><br>
> Hi all,<br>
><br>
> Is there a way to start wayland as a service?  I haven't seen any info on this.<br>
><br>
> Hi,<br>
><br>
> first you need to pick the compositor you want, since Wayland<br>
> is not a runnable program. The service you are likely looking for<br>
> is a display/login manager.<br>
><br>
> I think running would be done by using some display manager, but I<br>
> have never set that up, and I don't know what kind of support<br>
> exists at this time, nor which display manager you should look at.<br>
><br>
> That would probably the proper way, but there are also ways to hack<br>
> it, e.g. I have once done an auto-login hack that spawned Weston<br>
> on a new VT on Raspberry Pi, straight to logged-in desktop.<br>
><br>
> Depends on what you are looking for.<br>
><br>
><br>
> Thanks,<br>
> pq<br>
_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>  Jasper<br>
</div>