platform/upstream/xorg-launch-helper.git
11 years agoFix a typo in changelog 24/10124/1 accepted/tizen/ivi/stable accepted/tizen_3.0.2014.q3_common accepted/tizen_generic accepted/tizen_ivi_panda devel/x11 protex_M14.3 tizen_3.0.2014.q3_common tizen_ivi_panda accepted/tizen/20130919.180304 accepted/tizen/20130919.181801 accepted/tizen/20130920.205102 accepted/tizen/ivi/panda/20140403.014038 submit/devel/x11/20140718.035926 submit/tizen/20130919.162854 submit/tizen/20140818.084211 submit/tizen/20140818.144456 submit/tizen/20140819.234625 submit/tizen_ivi_panda/20140403.012126 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release
Chengwei Yang [Thu, 19 Sep 2013 02:12:14 +0000 (10:12 +0800)]
Fix a typo in changelog

The typo do break the package biuld on OBS, however, it build fine with
'gbs build', and now OBS remote build is disabled for developers. So
this is a real problem for us.

Change-Id: I1881bb9cb0880bf0aec92c8e60338bb058e03df3
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
11 years agoFix activate xorg.service failed 07/10107/1 submit/tizen/20130918.202904
Chengwei Yang [Wed, 18 Sep 2013 07:45:40 +0000 (15:45 +0800)]
Fix activate xorg.service failed

If "Type=forking" specified in systemd service file, then systemd
expected that the father process which invoke fork() will exit soon, in
the start timeout. Otherwise, this service will be treated as fail to
start.

Since xorg-launch-helper didn't exit after start Xorg, so it will
timeout, then the whole user session timed out.

Bug: https://bugs.tizen.org/jira/browse/TDIST-311
Change-Id: I48116acb6fb1f49838670f13a5c2ea2aa6145c84
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
11 years agosystemd: can not set negative OOMScoreAdjust for user service 98/10098/1
Chengwei Yang [Wed, 18 Sep 2013 02:29:56 +0000 (10:29 +0800)]
systemd: can not set negative OOMScoreAdjust for user service

systemd will put the service into failure state if set OOMScoreAdjust
failed. So do not set a negative OOMScoreAdjust for user service.

Bug: https://bugs.tizen.org/jira/browse/TDIST-274
Change-Id: I1ad00a33465f50a24fac5899f65872ffec7e0278
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
11 years agoModify xorg.service.in to support Tizen 2.2 releast 97/8797/1 accepted/tizen/ivi/genivi tizen_ivi_genivi accepted/tizen/20130910.122948 accepted/tizen/20130910.183634 accepted/tizen/20130910.195244 accepted/tizen/20130910.203337 accepted/tizen/20130910.205531 accepted/tizen/20130912.214201 accepted/tizen/20130912.214202 accepted/tizen/20130913.064658 accepted/tizen/ivi/genivi/20140131.040443 ivi_oct_m2 submit/tizen/20130910.024848 submit/tizen/20130912.213458 submit/tizen_ivi_genivi/20140131.034339
Sung-Jin Park [Tue, 27 Aug 2013 07:49:27 +0000 (03:49 -0400)]
Modify xorg.service.in to support Tizen 2.2 releast

Change-Id: I1d14031b3386bb36bb25609be4c5adb38c5e2ef7

11 years agoresetting manifest requested domain to floor 00/5000/1 accepted/tizen/20130710.214121 submit/tizen/20130710.140220
Alexandru Cornea [Sat, 29 Jun 2013 02:48:33 +0000 (05:48 +0300)]
resetting manifest requested domain to floor

11 years agoSet license using %license accepted/tizen/20130520.094628 submit/tizen/20130511.055441 submit/tizen/20130517.024502
Anas Nashif [Sat, 11 May 2013 05:54:38 +0000 (01:54 -0400)]
Set license using %license

11 years agoUpdate to v4 submit/tizen/20130510.142059
Anas Nashif [Fri, 10 May 2013 14:20:55 +0000 (10:20 -0400)]
Update to v4

11 years agoFixed license/group
Anas Nashif [Fri, 10 May 2013 14:20:14 +0000 (10:20 -0400)]
Fixed license/group

11 years agoadd packaging
Anas Nashif [Fri, 10 May 2013 14:03:39 +0000 (10:03 -0400)]
add packaging

11 years agoadd packaging
Anas Nashif [Fri, 10 May 2013 14:01:26 +0000 (10:01 -0400)]
add packaging

11 years agouse sigtimedwait instead of pthread_cond_timedwait
Alex Richardson [Sun, 31 Mar 2013 19:31:56 +0000 (21:31 +0200)]
use sigtimedwait instead of pthread_cond_timedwait

pthread mutexes should not be used inside signal handlers

12 years agov4. upstream/4 v4
Auke Kok [Tue, 23 Oct 2012 19:18:17 +0000 (12:18 -0700)]
v4.

12 years agoRevert "Change xorg.service to KillMode=process."
Auke Kok [Tue, 23 Oct 2012 19:16:49 +0000 (12:16 -0700)]
Revert "Change xorg.service to KillMode=process."

This reverts commit e1a6f6ee6f63d6cb09b9ef69393be9f70452e90f.

While this change had some beneficial influence on the shutdown issue,
it didn't completely address the issue. A better fix can be found in
v6 of user-session-units instead, which should be used with this
version.

12 years agoChange xorg.service to KillMode=process.
Auke Kok [Mon, 15 Oct 2012 05:58:29 +0000 (22:58 -0700)]
Change xorg.service to KillMode=process.

Withtout TERM signal, Xorg remains hanging since the normal user
isn't permitted to cgroup terminate the group with Xorg still in
it (at least that's my assumption).

With KillMode=process, xorg-launch-helper properly gets a TERM
and delegates it to Xorg, and shutdown proceeds as normal.

12 years agoMissing <errno.h>
Auke Kok [Sun, 14 Oct 2012 07:42:09 +0000 (00:42 -0700)]
Missing <errno.h>

12 years agoConvert to Type=notify. No hardcoded options.
Auke Kok [Sun, 14 Oct 2012 07:30:38 +0000 (00:30 -0700)]
Convert to Type=notify. No hardcoded options.

This departs from the forking service, and rewrites xorg-launch-helper
to be a Notify type service to systemd. This allows us to monitor
and pass through TERM signals, as well as debug startup and shutdown
issues better.

Remove any harcoded options - any option needed to start Xorg now
needs to be passed to xorg-launch-helper as well. This can be done
through the unit file.

12 years agoAttempt to fix shutdown issue causing 90sec timeout.
Auke Kok [Thu, 23 Aug 2012 23:31:39 +0000 (16:31 -0700)]
Attempt to fix shutdown issue causing 90sec timeout.

This adds a PIDFile for Xorg in the XDG_RUNTIME_DIR, in an attempt
to fix the shutdown timeout. The theory is that with this PIDFile,
system --user knows how to properly shut down Xorg, and won't
wait for 90 seconds to see it exit.

However, it doesn't work. I still see timeouts when shutting down
with this patch.

12 years agoREADME: add git URL.
Auke Kok [Fri, 22 Jun 2012 17:46:41 +0000 (10:46 -0700)]
README: add git URL.

12 years agoREADME: put something useful in here.
Auke Kok [Fri, 22 Jun 2012 17:45:02 +0000 (10:45 -0700)]
README: put something useful in here.

12 years agoDon't really want dbus.service either. v3
Auke Kok [Tue, 1 May 2012 20:45:43 +0000 (13:45 -0700)]
Don't really want dbus.service either.

12 years agov2 v2
Auke Kok [Tue, 1 May 2012 20:38:05 +0000 (13:38 -0700)]
v2

12 years agoDon't need to pull syslog.target here.
Auke Kok [Tue, 1 May 2012 20:37:34 +0000 (13:37 -0700)]
Don't need to pull syslog.target here.

12 years agoFixu unit file installation.
Auke Kok [Mon, 23 Apr 2012 18:26:37 +0000 (11:26 -0700)]
Fixu unit file installation.

12 years agoAdd a few more things needed due to the rename/fork.
Auke Kok [Mon, 23 Apr 2012 17:52:20 +0000 (10:52 -0700)]
Add a few more things needed due to the rename/fork.

12 years agoBulk of the xorg-launch-helper checkin.
Auke Kok [Mon, 23 Apr 2012 17:51:22 +0000 (10:51 -0700)]
Bulk of the xorg-launch-helper checkin.

12 years agoInitial commit of xorg-launch-helper.
Auke Kok [Mon, 23 Apr 2012 17:37:11 +0000 (10:37 -0700)]
Initial commit of xorg-launch-helper.

There is not much left of uxlaunch OR user-session. After careful testing,
we can do almost all the bits that we need in systemd without any more
code than this.

The last remaining bit missing is Xorg startup synchronization. To start
a desktop session with X applications, we need to assure that Xorg is
ready before forking services that require an active $DISPLAY server.

This code comes all the way from uxlaunch and discards Xauth support, and
just includes the bits needed to start Xorg and wait for it to signal that
it is ready to accept and paint pixels for us. At that point, it exits
and thus tells systemd that the service is operational.

;###################################################################
;
;   THIS ENDS THE HISTORY FOR USER-SESSION.  :^)
;
;###################################################################

12 years agoRemove Xau support.
Auke Kok [Tue, 17 Apr 2012 18:08:37 +0000 (11:08 -0700)]
Remove Xau support.

After looking through this, I don't see any other way that Xauth
support is providing functionality other than to remote displays,
which exclude ssh X forwarding. Remote displays are in the form
where DISPLAY=some-other-machine:0.

We really don't care for those at all at this time, so let's
remove all this legacy support that we don't need as it just
complicates things.

12 years agov1
Auke Kok [Mon, 2 Apr 2012 18:42:05 +0000 (11:42 -0700)]
v1

12 years agoMove Xauth to just after env(). Stop creating ~/.xsession-errors.
Auke Kok [Mon, 2 Apr 2012 18:02:34 +0000 (11:02 -0700)]
Move Xauth to just after env(). Stop creating ~/.xsession-errors.

All log output just goes into the journal.

12 years agoQuick gitignore.
Auke Kok [Fri, 30 Mar 2012 20:25:47 +0000 (13:25 -0700)]
Quick gitignore.

12 years agoBuild code to install the service file and changes in the previous commit.
Auke Kok [Fri, 30 Mar 2012 20:24:18 +0000 (13:24 -0700)]
Build code to install the service file and changes in the previous commit.

12 years agoAdd a systemd service file. Force systemd dependency. Require default username.
Auke Kok [Fri, 30 Mar 2012 20:23:35 +0000 (13:23 -0700)]
Add a systemd service file. Force systemd dependency. Require default username.

12 years agoAdding Authors.
Auke Kok [Fri, 30 Mar 2012 18:51:55 +0000 (11:51 -0700)]
Adding Authors.

12 years agoWrong version of the GPL, all this code is GPLv2.
Auke Kok [Fri, 30 Mar 2012 18:50:44 +0000 (11:50 -0700)]
Wrong version of the GPL, all this code is GPLv2.

12 years agoInitial import.
Auke Kok [Fri, 30 Mar 2012 18:42:38 +0000 (11:42 -0700)]
Initial import.

User-session is entirely based on uxlaunch code, but heavily reduced
in features. The removed features can and should all be replaced
with systemd --user equivalend units.