Re: [X2Go-User] Losing mouse click ability and keyboard events

2020-09-30 Thread Ulrich Sibiller
On Wed, Sep 30, 2020 at 2:20 PM Nicolas Ecarnot
 wrote:
>
> Hello,
>
> The day after, I can testify that changing the power-saving settings on
> the server prevented this issue to rise again.

Nice hearing that ist works for you, but I cannot really believe that.
Why? Because you can still move the mouse and hover over elements, so
input IS working.  How could power-saving settings influence only the
mouse clicks and keyboard but not the rest!?

> I don't know if it's worth writing that somewhere in a FAQ but for the
> record, I wanted to write it here at least.

Uli
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] Centralised Authentication through Ldap

2020-09-30 Thread Stefan Baur
Am 30.09.20 um 14:05 schrieb James Roy:

> I just used X2go  to access Desktop  via username and password.
> 
> Is there a way to authnticate users via Ldap or Active Directory.  ?

X2Go uses SSH underneath, so whatever you can use with PAM (Pluggable
Authentication Modules -
)
will/should work with X2Go as well. We even support a handful of 2FA
authentication methods.

I know that there are PAM plugins for LDAP and AD, so getting this to
work in your environment will most likely depend on the availability of
these plugins for your specific Linux distribution, and require a more
or less thorough study of the PAM syntax.

Kind Regards,
Stefan Baur

-- 
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
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] Losing mouse click ability and keyboard events

2020-09-30 Thread Nicolas Ecarnot

Hello,

The day after, I can testify that changing the power-saving settings on 
the server prevented this issue to rise again.
I don't know if it's worth writing that somewhere in a FAQ but for the 
record, I wanted to write it here at least.


Have a nice day.

Nicolas

Le 29/09/2020 à 11:49, Nicolas Ecarnot a écrit :

Hello,

Ulrich und Stefan, danke für Ihre Antwort,

Please read below.

Le 28/09/2020 à 22:25, Stefan Baur a écrit :

I don't know if I could run the client and/or the server with additional
verbosity to try to get more hints?

x2goclient --debug  >~/x2godebug.log 2>&1
On the server, you can edit /etc/x2go/x2goserver.conf and replace
loglevel=debug
This will increase the verbosity of x2goserver's syslog entries.


Ok, I added those two verbosity parameters, and though it does tells me 
tons of additional things at start, they then keep quiet so far.
I noticed that the "no click" issue is appearing some times after a 
inactive moment, so that could confirm Stefan's feeling about some power 
saving actions...


This morning, I ran the usual setup, just adding the verbose setup 
described above, and let it sleep until the "no click issue" arose.

In the logs, I saw nothing at all.
Not a line, nothing.


Does that look like something familiar?


You are actually the third to encounter this issue; sadly, the other two
couldn't be bothered to subscribe here to report the bug.

It seems to be a server-side issue, using Ubuntu 20.04 on the server
side is the common part of the reports.

I wonder if maybe there's some kind of sleep/suspend/energy-saver at
work, or maybe some kind of "scrubbing" mechanism (possibly
systemd-related)?


The server machine is a vmWare VM, and I checked in some advanced vmWare 
specific settings whether there could be something relevant but I found 
none.
Using the vmWare remote console ("vmrc"), I logged in and disabled every 
sleep/suspend/energy-saver related parameters I could find.

Then I killed my session and restarted.

I could be too soon to tell, but it's been more than half an hour, and 
so far, the issue has NOT come back.


It's disturbing because the energy-saving parameters I changed were made 
as a user and not as root, so I don't get why it could improve a 
system-wide behaviour?



I've seen such issues in the past, in different contexts, where cron
jobs were unaware of a running X2Go session and did "stupid" things
(like shutting down the server) that affected the session - because to
them, it looked like there are no users logged in.


I checked what cron could have be doing recently but I found nothing I 
could blame it for.



Do you think you could set up a test server with Ubuntu 20.04 that does
not have a GUI, and only some very basic X applications like xterm?


Of course I could.
At present, I'm just letting my server some more time to determine 
whether the issue has gone or not.

If still present, I'll try your suggestion.


Is gdm (or some other graphical login manager) running on your server?
If so, could you stop it, switch the machine to text-only mode, and see
if that makes a difference?

-Stefan



The server is an XUbuntu 20.04, so the default login manager is LightDM, 
and the wm is XFCE.

If needed, I could try to start it with no X at all and keep testing.

Stay tuned, more to come.

Have a nice day.



--
Nicolas Ecarnot
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] x2go much slower than vnc?

2020-09-30 Thread Johann Petrak
Thanks for the suggestion!

I am starting a new xfce session, and I am not bothered with the time that
takes (XFCE starts
up pretty fast anyway).
But once the xfce session is established, simple tasks like opening a
window, moving a window
or typing text are rather sluggish in comparison to the VNC session over
the same connection.
For example, moving a terminal window works smoothly with VNC, but with
x2go the window
appears to be "jumping" along the movement.
Then when typing into the terminal after the move, there is a delay in x2go
until the letters
show up in the window, while with VNC it happens immediately.
I tried this with the default settings for speed and compression and with
setting 4k for compression
and LAN for speed but this did not make any discernible difference.

Maybe the compression is actually slowing down the whole thing when the
internet connection is
fast anyway? What would be the fastest setting for the algorithm? I am use
24bit colour with VNC
how does x2go do this and can it be changed? (BTW I use the same resolution
for both).

I really like how easy it is to get x2go going over ssh and an ssh proxy
but so far the slower speed
makes me stick with VNC for actual work.

On Wed, 30 Sep 2020 at 13:20, Ulrich Sibiller  wrote:

> Hi,
>
> are you starting an NEW xfce session or are you connecting to a
> running X session? The latter one is much slower than the former one
> because it cannot benefit from all optimizations of the underlying
> compression library nx.
>
> Uli
>
> On Wed, Sep 30, 2020 at 12:28 PM Johann Petrak 
> wrote:
> >
> > I just learned about x2go and wanted to try it out for a remote session
> to a host I have so far done using vnc serving a xfce desktop.
> > But sadly my observation is that x2go is *much* slower and less
> responsive than VNC.
> > For example just moving around a window on the desktop (same size) works
> smoothly with VNC but is done in a very coarse fashion
> > in x2go with the window jumping around slowly and with considerable
> delay.
> > Both connections go over the same ssh tunnel, same kind of LAN so all
> other things the same, the problem must lie with x2go or
> > the x2go settings.
> >
> > Is there any explanation for this or anything that could be changed to
> increase the speed of x2go? Is x2go not *supposed*
> > to be faster than VNC?
> > I have experimented a bit with the connection speed and compression
> settings but that did not change anything either.
> >
> >
> > ___
> > x2go-user mailing list
> > x2go-user@lists.x2go.org
> > https://lists.x2go.org/listinfo/x2go-user
>
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user


[X2Go-User] Centralised Authentication through Ldap

2020-09-30 Thread James Roy
Hi team,

I just used X2go  to access Desktop  via username and password.

Is there a way to authnticate users via Ldap or Active Directory.  ?



Roy.
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] x2go much slower than vnc?

2020-09-30 Thread Ulrich Sibiller
Hi,

are you starting an NEW xfce session or are you connecting to a
running X session? The latter one is much slower than the former one
because it cannot benefit from all optimizations of the underlying
compression library nx.

Uli

On Wed, Sep 30, 2020 at 12:28 PM Johann Petrak  wrote:
>
> I just learned about x2go and wanted to try it out for a remote session to a 
> host I have so far done using vnc serving a xfce desktop.
> But sadly my observation is that x2go is *much* slower and less responsive 
> than VNC.
> For example just moving around a window on the desktop (same size) works 
> smoothly with VNC but is done in a very coarse fashion
> in x2go with the window jumping around slowly and with considerable delay.
> Both connections go over the same ssh tunnel, same kind of LAN so all other 
> things the same, the problem must lie with x2go or
> the x2go settings.
>
> Is there any explanation for this or anything that could be changed to 
> increase the speed of x2go? Is x2go not *supposed*
> to be faster than VNC?
> I have experimented a bit with the connection speed and compression settings 
> but that did not change anything either.
>
>
> ___
> x2go-user mailing list
> x2go-user@lists.x2go.org
> https://lists.x2go.org/listinfo/x2go-user
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user


[X2Go-User] x2go much slower than vnc?

2020-09-30 Thread Johann Petrak
I just learned about x2go and wanted to try it out for a remote session to
a host I have so far done using vnc serving a xfce desktop.
But sadly my observation is that x2go is *much* slower and less responsive
than VNC.
For example just moving around a window on the desktop (same size) works
smoothly with VNC but is done in a very coarse fashion
in x2go with the window jumping around slowly and with considerable delay.
Both connections go over the same ssh tunnel, same kind of LAN so all other
things the same, the problem must lie with x2go or
the x2go settings.

Is there any explanation for this or anything that could be changed to
increase the speed of x2go? Is x2go not *supposed*
to be faster than VNC?
I have experimented a bit with the connection speed and compression
settings but that did not change anything either.
___
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user