Recent gdm has support for Wayland sessions. You'll have to write the session file yourself if you want to launch weston, though.
Something like this should work. # mkdir -p /usr/share/wayland-sessions/ # echo <<<EOF [Desktop Entry] Name=Weston Exec=weston-launch -- weston Type=Application EOF > /usr/share/wayland-sessions/weston.desktop On Sun, Apr 13, 2014 at 9:21 AM, Pekka Paalanen <[email protected]> wrote: > On Sun, 13 Apr 2014 13:09:47 +0100 > Michael Johnson <[email protected]> wrote: > > > Thanks for your reply Pekka, > > > > 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. > > > > > > Hi, > > please use reply-to-all, and do not top-post. > > Oh, you want it to go graphical after logging in, not at boot. > Well, any personal start-up script that runs weston-launch if it's > not already running should be enough. That's not really a service, > you can do that with any shell login scripts. There are no > additional dependencies for Weston, but other desktop environments > have other ways to start them manually, with all the needed daemons. > > There is no such thing as a "Wayland service" or a daemon. > > So, it depends on what compositor/DE you choose. I guess each one > of them has their own way to pick the Wayland flavour. I don't > know if there is anything we can say in general. > > Or are you referring to systemd user sessions? > > Have you tried running your DE of choice manually yet? I assume the > very same command would work from a login script with some checks > whether it is running already. > > > Thanks, > pq > > > > Pekka Paalanen wrote: > > On Sat, 12 Apr 2014 11:46:54 +0100 > > Michael Johnson <[email protected]> wrote: > > > > Hi all, > > > > Is there a way to start wayland as a service? I haven't seen any info > on this. > > > > Hi, > > > > first you need to pick the compositor you want, since Wayland > > is not a runnable program. The service you are likely looking for > > is a display/login manager. > > > > I think running would be done by using some display manager, but I > > have never set that up, and I don't know what kind of support > > exists at this time, nor which display manager you should look at. > > > > That would probably the proper way, but there are also ways to hack > > it, e.g. I have once done an auto-login hack that spawned Weston > > on a new VT on Raspberry Pi, straight to logged-in desktop. > > > > Depends on what you are looking for. > > > > > > Thanks, > > pq > _______________________________________________ > wayland-devel mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/wayland-devel > -- Jasper
_______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
