trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: September 2015

Re: [trinity-devel] Bug 1998 - systemd - user session tracking/multiseat implementation required

From: Michele Calgaro <michele.calgaro@...>
Date: Tue, 8 Sep 2015 00:45:19 +0900
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 09/02/2015 03:59 AM, David C. Rankin wrote:
> On 08/31/2015 09:44 AM, Michele Calgaro wrote:
>> Ran from /etc/init.d/tdm-trinity
> 
> Michele,
> 
> Would you be so kind as to post how tde is launched from tdm-trinity? If you are still using init scripts, then
> you will probably find in lines 7-10 you are calling tdm directly:
> 
> 7     start) 8        #Check for running tdm, start when not running 9        stat_busy "Starting TDE Desktop
> Manager (tdm)" 10        [ -z "$PID" ] && /opt/trinity/bin/tdm &> /dev/null
> 
> Different distros handle init scrip wrappers with systemd in different ways. I've looked at the debian wiki and
> can't tell how they are doing it. This is where the session management issue comes up. In a pure-systemd
> environment, there are no init scripts -- period. For example, on arch:
> 
> 13:44 valkyrie:~> ls -al /etc/init.d ls: cannot access /etc/init.d: No such file or directory
> 
> systemd handles all processes directly through a service file. I would wager that debian has an additional layer 
> between tdm and systemd that provides what ConsoleKit did in the past. Can you check to see how debian handles 
> init-script/systemd integration.
> 
> 
Hi David,
sorry for the late reply, I am very busy recently.
I will try to check this week and let you know. To be honest the migration to systemd in my Debian machine was done
"behind the scenes" and I never bothered (== had no time) to look at it in detail.
Cheers
  Michele
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJV7bEPAAoJECp1t8qK3tXPbm8QAJx/7K16NQ8YMhE3wwR/f8ix
QC0NWJjaelJnJ7cPyFteePXy7+TU7JECB3pTnffH6e+4JvFRseWYZo0Hli/CxVs7
QHtIyW/UQSHNNdSk5FYLPgdzop+9ra1S2JUszvbnfUo4Gpi7zqFxTCPCgt3Mfyn6
Ee/zSi/AZmfkCRCOR2ZEo0U+VMP4BeTYr6w2S+wWsjoHheRrlAYV6Hd2M5nwF2Ln
YWTSzM+LwNwWWaMDt2h4sZ7T6KjOHOgFNmBGZFZYJbMh/Ygql4LvDmnOcPbEgTrn
npUZFUkMe5FH9N4BbnDArc3ZlGX2G+iQj3DRcI/RJTgnVkRIhieLdFn9ayU7i49/
qJFTRmL3jCUjYcAy7BT9UgFjYeBLrBu3Nxp1mJOXPxMXUtBf07Awlsfmngbj6NSG
E22aR+NijNhkuigNnnQIvPfw0Bsig8Yo9N+MANFBMtqe8wLUMw/lWBAypu9aFuCP
CcsCLuvqi15bRhzpb0eyeDxRpDXO8FJG7nwr8J7sbKdxYtuwwYSnpCI9zAEiatRI
r50BchBXjhj4PwyG7yBnymCo+TDBdx1JD/H9nb09c59G9D5h65Enq2AbxMCQ4EFo
ClFLaYnecc4qwPnfA2fY3/wYDC6QjXo30K/Q3MRV6WzTsIlZesWpTx8DrBZYnVoL
JpjQhfUYtO0sq7PiSWHP
=ATqC
-----END PGP SIGNATURE-----