[X2Go-Dev] Bug#1198: loginctl enable-linger

2017-08-11 Thread Mihai Moldovan
On 08/11/2017 03:59 PM, Orion Poplawski wrote:
> There is also "systemd-run", not sure how that compares.

systemd-run is changing the unit type in which context a command is executed. By
default, commands are executed in a session context. With systemd-run, that can
be changed to scope, service or timer-scheduled contexts.

I don't think that makes sense in our case. A session context should be most
appropriate to what we do. Changing the context also won't help us with
lingering, as far as I can see, since such scope/service/timer contexts are also
killed automatically once the last user login vanishes.



Mihai




signature.asc
Description: OpenPGP digital signature
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev

[X2Go-Dev] Bug#1198: Bug#1198: loginctl enable-linger

2017-08-11 Thread Orion Poplawski

On 08/11/2017 12:53 AM, Mihai Moldovan wrote:

On 08/10/2017 04:07 AM, Orion Poplawski wrote:

So I guess the fix for this is to run "loginctl enable-linger" in
x2goruncommand?  Do this seem correct?

See also https://bugzilla.redhat.com/show_bug.cgi?id=1478974


Sounds sane, I guess? This feature (i.e., letting users enable linger) can be
deactivated, but then there's nothing we could possibly do about the situation.


There is also "systemd-run", not sure how that compares.


--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA DivisionFAX: 303-415-9702
3380 Mitchell Lane  or...@cora.nwra.com
Boulder, CO 80301  http://www.cora.nwra.com
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev

[X2Go-Dev] Bug#1198: Bug#1198: X2Go issue (in src:x2goserver) has been marked as pending for release

2017-08-11 Thread Bruno CAPELETO
That "fix" did not change anything to my issues.

The issues are coming even on a new session.


2017-08-11 9:47 GMT+02:00 Mihai Moldovan :

> tag #1198 pending
> fixed #1198 4.0.1.21
> thanks
>
> Hello,
>
> X2Go issue #1198 (src:x2goserver) reported by you has been
> fixed in X2Go Git. You can see the changelog below, and you can
> check the diff of the fix at:
>
> http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=d0d592b
>
> The issue will most likely be fixed in src:x2goserver (4.0.1.21).
>
> light+love
> X2Go Git Admin (on behalf of the sender of this mail)
>
> ---
> commit d0d592b577a410ac8827dc4a620916348a0ab348
> Author: Mihai Moldovan 
> Date:   Fri Aug 11 09:45:51 2017 +0200
>
> x2goserver/bin/x2gostartagent: try to enable lingering via systemd's
> loginctl utility before calling x2goagent. Fixes: #1198.
>
> diff --git a/debian/changelog b/debian/changelog
> index dc3ed6b..eddaaec 100644
> --- a/debian/changelog
> +++ b/debian/changelog
> @@ -25,6 +25,8 @@ x2goserver (4.0.1.21-0x2go1) UNRELEASED; urgency=medium
>  - x2goserver/bin/x2gosetkeyboard: only match up the first ending
> quote
>character in a non-greedy way. This will not support nested quotes
>within values, but we probably don't need this feature anyway.
> +- x2goserver/bin/x2gostartagent: try to enable lingering via systemd's
> +  loginctl utility before calling x2goagent. Fixes: #1198.
>* x2goserver.spec:
>  - Add mandatory perl-generators Build-Requires as per
>https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl
> ___
> x2go-dev mailing list
> x2go-dev@lists.x2go.org
> https://lists.x2go.org/listinfo/x2go-dev
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev

[X2Go-Dev] Processed: X2Go issue (in src:x2goserver) has been marked as pending for release

2017-08-11 Thread X2Go Bug Tracking System
Processing commands for cont...@bugs.x2go.org:

> tag #1198 pending
Bug #1198 [x2goserver] Suspend session does not work since update to Fedora 26
Added tag(s) pending.
> fixed #1198 4.0.1.21
Bug #1198 [x2goserver] Suspend session does not work since update to Fedora 26
There is no source info for the package 'x2goserver' at version '4.0.1.21' with 
architecture ''
Unable to make a source version for version '4.0.1.21'
Marked as fixed in versions 4.0.1.21.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
1198: http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1198
X2Go Bug Tracking System
Contact ow...@bugs.x2go.org with problems
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev

[X2Go-Dev] Bug#1198: X2Go issue (in src:x2goserver) has been marked as pending for release

2017-08-11 Thread Mihai Moldovan
tag #1198 pending
fixed #1198 4.0.1.21
thanks

Hello,

X2Go issue #1198 (src:x2goserver) reported by you has been
fixed in X2Go Git. You can see the changelog below, and you can
check the diff of the fix at:

http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=d0d592b

The issue will most likely be fixed in src:x2goserver (4.0.1.21).

light+love
X2Go Git Admin (on behalf of the sender of this mail)

---
commit d0d592b577a410ac8827dc4a620916348a0ab348
Author: Mihai Moldovan 
Date:   Fri Aug 11 09:45:51 2017 +0200

x2goserver/bin/x2gostartagent: try to enable lingering via systemd's 
loginctl utility before calling x2goagent. Fixes: #1198.

diff --git a/debian/changelog b/debian/changelog
index dc3ed6b..eddaaec 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,6 +25,8 @@ x2goserver (4.0.1.21-0x2go1) UNRELEASED; urgency=medium
 - x2goserver/bin/x2gosetkeyboard: only match up the first ending quote
   character in a non-greedy way. This will not support nested quotes
   within values, but we probably don't need this feature anyway.
+- x2goserver/bin/x2gostartagent: try to enable lingering via systemd's
+  loginctl utility before calling x2goagent. Fixes: #1198.
   * x2goserver.spec:
 - Add mandatory perl-generators Build-Requires as per
   https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev

[X2Go-Dev] Bug#1198: loginctl enable-linger

2017-08-11 Thread Mihai Moldovan
On 08/11/2017 08:53 AM, Mihai Moldovan wrote:
> On 08/10/2017 04:07 AM, Orion Poplawski wrote:
>> So I guess the fix for this is to run "loginctl enable-linger" in 
>> x2goruncommand?  Do this seem correct?

I'll go for x2gostartagent, though, since that's really the first process in our
chain.



Mihai




signature.asc
Description: OpenPGP digital signature
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev

[X2Go-Dev] Bug#1198: Bug#1198: loginctl enable-linger

2017-08-11 Thread Mihai Moldovan
On 08/10/2017 04:07 AM, Orion Poplawski wrote:
> So I guess the fix for this is to run "loginctl enable-linger" in 
> x2goruncommand?  Do this seem correct?
> 
> See also https://bugzilla.redhat.com/show_bug.cgi?id=1478974

Sounds sane, I guess? This feature (i.e., letting users enable linger) can be
deactivated, but then there's nothing we could possibly do about the situation.

Thanks.



Mihai




signature.asc
Description: OpenPGP digital signature
___
x2go-dev mailing list
x2go-dev@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-dev