From: Patrick McCarty Date: Wed, 18 Dec 2013 17:07:29 +0000 (-0800) Subject: Disable linger workaround; enable the new logind session service X-Git-Tag: submit/tizen/20131218.210434 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Fsubmit%2Ftizen%2F20131218.210434;p=profile%2Fivi%2Fmeta-ivi.git Disable linger workaround; enable the new logind session service With the new logind session service (from the user-session-units package) in place, the linger instance is no longer needed. Change-Id: Id1cb54f97218497d406ee37646bfc1914285d692 Signed-off-by: Patrick McCarty --- diff --git a/scripts/base-weston-default.post b/scripts/base-weston-default.post index ba6bef9..1ccef6f 100644 --- a/scripts/base-weston-default.post +++ b/scripts/base-weston-default.post @@ -12,14 +12,12 @@ chown -R app:app /opt/home/app # home dir must have the same label chsmack -a User /opt/home/app -# base-weston-default.post +# Enable a logind session for 'app' user on seat0 (the default seat for +# graphical sessions) mkdir -p /usr/lib/systemd/system/graphical.target.wants +ln -s ../user-session-launch@.service /usr/lib/systemd/system/graphical.target.wants/user-session-launch@seat0-5000.service ln -sf weston.target /usr/lib/systemd/user/default.target -# Enable user@5000.service by setting the linger for user 'app' -mkdir -p /var/lib/systemd/linger -touch /var/lib/systemd/linger/app - # Add over-riding environment to enable the web runtime to # run on an IVI image as a different user then the tizen user # Some notes on some of the variables: