Re: [X2Go-User] Questions about sessions

2015-03-03 Thread Les Mikesell
On Tue, Mar 3, 2015 at 8:56 AM, Mihai Moldovan io...@ionic.de wrote:
 On 03.03.2015 03:36 PM, Michael DePaulo wrote:
 I feel awkward asking these since I am a developer.

 1. What are the differences between a session that is suspend and a
 session that is running but disconnected?

 A suspended session has been gracefully suspended within the client.

 A running session could either be an active one currently used, or one
 that is still waiting for a timeout of the client crashed or the
 connection was dropped prematurely for any reason.
 Running sessions should switch into suspended state after a (rather
 long?) timeout.

 You cannot attach to running sessions, but you can forcefully suspend a
 running session from the client and then attach to it.

Is there some reason for that?   I preferred the NX/freenx approach
where the new connection would automatically grab the existing session
(since you obviously wouldn't be trying to reconnect if you already
had a running client on the computer you are currently using).


 If there is a suspended session, there multiple two cases:
   1.) the session you currently want to start matches the already
 existing, suspended session (same settings, including the
 application/desktop to start) = this session will then be attached
 to without prior notification, you will NOT see the session list beforehand
   2.) the session to start matches a running session on the server.
 You will be presented with the list (and able to forcefully suspend the
 running session, if that's what you're after.)
   3.) the new session differs in session setting details. In this case,
 you will get the session list.

 I don't like this, because it's inconvenient if you explicitly want to
 start a new session with the same characteristics. In my opinion, the
 session list should always be provided if one session (no matter the
 settings or state) is running on the server.

I disagree - I _always_ want to reconnect to my existing session,
across different clients and I'd rather not have to do unnecessary
work suspending/retrying or picking one session from a list of one
just because my laptop and mac screen sizes don't match my windows
desktop where the session was likely started.   If you are going to
change this behavior, can you please make it configurable so people
who only start one desktop session per host can always reconnect
without extra confusion, including automatically grabbing the session
you forgot to suspend before leaving your desk?

Aside from always wanting access to my same set of open windows and
long-running programs, I've had problems with  some desktop
environments and GUI applications with concurrent sessions for the
same user.   Some of them maintain hidden files that don't handle
concurrent updates gracefully, and some (like firefox) may try to open
a new instance as a new window in an already running session (which
may not be the one you are displaying).So - starting a new session
if you already have one just seems wrong, especially if the session is
of the same desktop environment type.

-- 
   Les Mikesell
  lesmikes...@gmail.com
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] Questions about sessions

2015-03-03 Thread Stefan Baur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am 03.03.2015 um 15:56 schrieb Mihai Moldovan:
 I don't like this, because it's inconvenient if you explicitly
 want to start a new session with the same characteristics. In my 
 opinion, the session list should always be provided if one session 
 (no matter the settings or state) is running on the server.

Middle path (only possible if the behavior is triggered by x2goclient,
not x2goserver): Add a per-session checkbox auto-reattach.  If it is
checked, a matching session will reattach. If it is not checked, it
will present the list, even if a matching session exists.

Make it a priority: wishlist bug if you want. :)

- -Stefan

- -- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJU9jI3AAoJEG7d9BjNvlEZLbwIAIAm9+xDM7edI1LOaDP/TpSR
D/eVxP8k+RNVjbn+1D7b7eWn6W81wqNu0nDLJTMR8w1wHyKL2xYXQq1VvWLyKYGU
UFFXa/xsiR5RFIi4Qi3bA9PGJiEQ86rJA0pDcZBxri02VnE0DyZXWqRf60Jm8DRA
dxmGeFCSEBpJ2CYzPiIxOibBY02WTInJw9TraxGrVsOCNCCJIIY15aMUzbAoNNkV
9i6LHl1LpwrnXI3ZBSD66ia5ytvvNUB840sk5HmzRNcY98N01q20Ie9S2setsKIR
17DVstjFP5/7OPUjgeAyTc6UATskLwQwZlICrWN5znj4OUZmDZyvl1MZJWEqL48=
=DyDj
-END PGP SIGNATURE-
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


[X2Go-User] Questions about sessions

2015-03-03 Thread Michael DePaulo
Hi,

I feel awkward asking these since I am a developer.

1. What are the differences between a session that is suspend and a
session that is running but disconnected?

2. With X2Go Client for Windows at least, sometimes I will connect to
an X2go Server and I will see 1 running or suspended session listed in
the Qt4 GUI. Other times, I connect and it automatically connect me to
the existing session. What causes this behavior?

BTW, there are FIXMEs on this page:
http://wiki.x2go.org/doku.php/wiki:advanced:x2goserver-in-detail

-Mike#2
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user