Weston at bootup

Singh, Satyeshwar satyeshwar.singh at intel.com
Sat Sep 22 03:02:33 UTC 2018


Hi Deepan,
Do you have any Weston logs when it restarts? Maybe you want to add --log option to redirect all output to some log file and share that with us?
-Satyeshwar

From: wayland-devel [mailto:wayland-devel-bounces at lists.freedesktop.org] On Behalf Of deepan muthusamy
Sent: Friday, September 21, 2018 3:47 AM
To: Daniel Stone <daniel at fooishbar.org>
Cc: Andrea Giammarchi <andrea.giammarchi at gmail.com>; wayland-devel at lists.freedesktop.org
Subject: Re: Weston at bootup

Hi,

I tried the same thing in the link which you provided. It's starting but Weston is getting restart for every 90 sec.

My service file is as follows:

[Unit]
Description: launch Weston

Requires= dbus.socket dbus.service systemd-user-sessions.service

After= dbus.socket dbus.service systemd-user-sessions.service

[Service]
Type= notify
User=root
Restart=on-failure
ExecStart=/use/bin/Weston
PAMName=login
StandardInput=tty-fail
TTYPath=/dev/tty7
TTYReset=yes
TTYVHangup=yes
TTYVTDisallocate=yes
UtmpIdentifier=tty7
UtmpMode=user

[Install]
WantedBy=basic.target




"systemctl status launch Weston.service" gives

Account root has password changed in future.
Session opened for user root by root(uid=0)


What can be the possible reason?

On Tue, 18 Sep 2018, 9:59 pm Daniel Stone, <daniel at fooishbar.org<mailto:daniel at fooishbar.org>> wrote:
Hi Deepan,

On Tue, 18 Sep 2018 at 17:24, deepan muthusamy <deepan.m2903 at gmail.com<mailto:deepan.m2903 at gmail.com>> wrote:
Did you launched as session service?

I want to launch as system service. Have you tried that?

It sounds like you are having a problem, but there aren't enough details in your mails for us to help you. Have you already tried running it? There is an example systemd unit file given for running as a system service posted in this thread, which is the first Google hit for 'weston systemd': have you tried that?

https://lists.freedesktop.org/archives/wayland-devel/2017-November/035973.html

If this is not sufficient, please follow up with specifics of what you have actually tried, and how that is failing for you (what you expected to happen, what really happened, any log output, etc).

Cheers,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180922/b6a1e329/attachment.html>


More information about the wayland-devel mailing list