platform/upstream/xorg-launch-helper.git
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

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

11 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.

11 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.

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

11 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.

11 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.