Re: [X2Go-User] x2goserver causes increase in ksoftirqd/x CPU usage

2015-04-02 Thread Mihai Moldovan
On 02.04.2015 04:09 PM, Rett Walters wrote:
 Yes - your right its the systemd unit called x2goserver, and it does
 appear to just start x2gocleansessions script.  I will do some testing
 with older kernels to see if the problem is still present.

This may look sort-of related:
http://www.spinics.net/lists/kernel/msg1937202.html

But that patch was included in 3.19.1 -- so if that patch was fixing the
regression, you shouldn't see it on your Sabertooth machine (3.19.2)
anymore.


Maybe x2gocleansessions is polling too often (although it really looks
more like a kernel issue than a issue with x2gocleansessions.)

The polling was lowered to every 2 seconds two years ago:
http://code.x2go.org/gitweb?p=x2goserver.git;a=commitdiff;h=dd176a90d04b64e

Maybe changing this back to 5 seconds behaves better on your system?
That may have consequences I'm unable to foresee, though.


In any case, this problem should be reported to the Linux Kernel
project. Maybe there are other instances of this issue.



Mihai



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

Re: [X2Go-User] trouble connecting to server

2015-04-02 Thread Mihai Moldovan
On 02.04.2015 11:29 PM, Michael Stauffer wrote:
 Doh! OK I tried uninstalling gnome 3.10 so I could put an earlier
 version on. It's not working easily though. Im just going to start
 over with centos 6.6 and that should work out of the box if I
 understand right, since it uses gnome 2.

IIRC, yes. But why not use CentOS 7 and for instance XFCE?



Mihai



smime.p7s
Description: S/MIME Cryptographic Signature
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user

Re: [X2Go-User] trouble connecting to server

2015-04-02 Thread Robert Dinse


 Or Mate works well with Centos 7.

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
 Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
   Knowledgeable human assistance, not telephone trees or script readers.
 See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.

On Thu, 2 Apr 2015, Mihai Moldovan wrote:


Date: Thu, 02 Apr 2015 23:34:10 +0200
From: Mihai Moldovan io...@ionic.de
To: Michael Stauffer mgsta...@gmail.com,
x2go-user@lists.x2go.org x2go-user@lists.x2go.org
Subject: Re: [X2Go-User] trouble connecting to server

On 02.04.2015 11:29 PM, Michael Stauffer wrote:

Doh! OK I tried uninstalling gnome 3.10 so I could put an earlier
version on. It's not working easily though. Im just going to start
over with centos 6.6 and that should work out of the box if I
understand right, since it uses gnome 2.


IIRC, yes. But why not use CentOS 7 and for instance XFCE?



Mihai



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


[X2Go-User] Low Latency

2015-04-02 Thread Robert Dinse


On 04/02/2015 10:46 AM, Les Mikesell wrote:

Someone recently posted on the x2go list that he had a problem with
jerky videos playing remotely on Ubuntu, but solved it by installing a
low latency kernel that was available as an alternative.  That made me
curious as to whether CentOS has an equivalent - or a way to build
something similar.

 Les, I can help you with CentOS 6 kernels but I haven't been successful
at installing a custom kernel on CentOS 7, for some reason after I update
grub2 then try to boot, I get a pointer alignment error and can't even get
the grub boot screen up.  But I have been successful with CentOS 6 and can
provide assistance if needed.

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
 Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
   Knowledgeable human assistance, not telephone trees or script readers.
 See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
___
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user


Re: [X2Go-User] trouble connecting to server

2015-04-02 Thread Mihai Moldovan
On 02.04.2015 08:26 PM, Michael Stauffer wrote:
 On Wed, Apr 1, 2015 at 5:15 PM, Mihai Moldovan io...@ionic.de
 mailto:io...@ionic.de wrote:

 Oh, and that's the good bit -- but very weird bit. localhost
 cannot be
 resolved on your system.

 Have you ever edited /etc/hosts?

 What is its content?

 Normally, it should include at least the following entries:
 127.0.0.1   localhost
 255.255.255.255 broadcasthost
 ::1 localhost
 fe80::1%lo0 localhost

 Which make localhost resolvable.


 Interesting. My Mac's /etc/hosts is empty. I've added the text you
 posted above. Great!

Actually, that's pretty weird. Your /etc/hosts file should never be
empty on OS X (or actually any other UNIX-based/like operating system.)

May I suggest your system is somewhat hosed and you should investigate
what happened? Maybe even reinstall OS X? That's just a personal
suggestion and has nothing to do with X2Go, but a missing /etc/hosts
file has me concerned about what else might be messed up with that system...


 now it's getting further along. I get a new black window opening up
 with the grey x2go graphic in it, but then I get a sad comput face
 with the message: Oh no! Something has gone wrong. A problem has
 occured and the system can't recover. Please log out and try again.
 [...]

No need for a debug log here, the issue is clear. You're trying to start
up GNOME 3.
GNOME 3.10 and later are not compatible, older versions may be, but
probably not.
For more information, please take a look at:

http://wiki.x2go.org/doku.php/doc:de-compat#compatibility_and_workarounds_depend_on_what_version


 Looking at the more detailed x2go server installation page on your
 site, I then ran this:

   yum install x2goserver-xsession

Yes, x2goserver-xsession is recommended/required for full desktop sessions.


 I tried x2goclient with a terminal session instead of GNOME and
 briefly got what looks like an xterm terminal but then it closed. I
 won't post the debug output here since it's so large.

That's another known bug with new versions of GNOME Terminal. In recent
versions, the program is forking into background and X2Go Server can't
track that it's running anymore. Instead, it assumes the program
terminated and also terminates the session.

We have a workaround for this, but I would rather like to rewrite the
affected server script to fix stuff like this in a sane way.


However, take a look at yet another feature of X2Go Client (et al):
published applications.

http://wiki.x2go.org/doku.php/wiki:advanced:published-applications

In that mode, you will be able to start GNOME Terminal and it won't quit
on you right after starting.


 [...]
 But running gnome-session from the command line over an ssh session
 gives the same sad computer error page I describe above. Should it
 work to do that?

About the same issue there: newer GNOME versions require a (newer) GLX
extension. I guess that doesn't work at all via ssh -X and nx-libs's GLX
extension is too old. That's a side-issue of the stale NX technology
we're using. Work is done on improving this situation, but it's not
trivial and requires a lot of work, so don't hold your breath for GNOME
= 3.10 or KDE = 5 support any time soon, sorry...



Mihai



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

Re: [X2Go-User] Jerky Video Fixed

2015-04-02 Thread Robert Dinse


 In my case the client is old and rather under powered so it probably
benefited more than most would have.

 Not being familiar with the internals or characteristics of Amazon's
cloud, no idea how much that may or may not help.  Hard to say how much
latency and jitter is introduced by various cloud components like packet
distributors, etc.

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
 Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
   Knowledgeable human assistance, not telephone trees or script readers.
 See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.

On Thu, 2 Apr 2015, brian mullan wrote:


Date: Thu, 2 Apr 2015 12:17:34 -0400
From: brian mullan bmullan.m...@gmail.com
To: Robert Dinse nan...@eskimo.com
Cc: x2go-user@lists.x2go.org x2go-user@lists.x2go.org
Subject: Re: [X2Go-User] Jerky Video Fixed

Robert

Thanks for all of your information on the low latency kernel.   I've used
x2go for several years and one use-case I've had was to install the x2go
server onto either Amazon's AWS EC2 or on Digital Ocean to support remote
desktops for K-12 schools that I do volunteer work for.

Clients have always been a mix of Win7, Mac or Ubuntu linux.

Really the only issue has been video streaming which for K-12 is important
because alot of learning content online consists of video.

In the past I've tried using larger compute instances (8-16 core) in
those clouds thinking perhaps the video encoding/transmission load was the
cause but that only improved things marginally.

I tried higher bandwidth links... same marginal improvement.

It didn't matter what client they used (mac, win7 or linux) the video
content viewing results was more or less the same for each.
That's why I am thinking maybe only the server-side may be required to
have the low latency kernel??

I got them all so the streaming video (say youtube) wasn't awful but it
wasn't the same as watching the video on a dedicated PC instead of thru the
x2go virtual desktop.

But i guess I never suspected the linux kernel introducing delay/jitter to
the point of being the cause.

It may take a while until I can get to it but I'll try and set up a test
with one of those clouds and have the x2go server-side ubuntu utilize the
low latency kernel you described and see what happens with each client.

This would be great if that turns out to be the source of streaming video
jerkiness for cloud based remote desktops.   I'll post something to the
x2go alias when I find out what happens.

thanks again.

Brian


On Wed, Apr 1, 2015 at 5:55 PM, Robert Dinse nan...@eskimo.com wrote:



 In Ubuntu, they build low latency kernels and make them available as
part of the distribution but not installed by default.

 On my workstation, which is an old Mac-Pro 1,1 with quad Xeon CPU's
and
4 GB of RAM, I had Ubunto 14.04 installed then upgraded to 14.10.  I had
Wine installed and under Wine I ran WinAmp to play music.  WinAmp sometimes
skipped, and also when I upgraded to 14.10 which came with a 3.16.x kernel,
I had issues with the Nvidia drivers for my old 7300 GT card.

 To solve those issues I ended up building a 3.18.9 kernel and built it
with kernel preemption enabled, which is how Ubuntu builds their low
latency
kernels.  That solved both my issues with Nvidia drivers and with WinAmp
stuttering but it did not fix the issues of video being jerky over X2Go,
and
I had pretty much written that off to my Comcast connection anyway.

 But given how much smoother things went on my workstation, I decided
to
try installing the low latency kernel on the server and then tried watching
some Youtube videos that had previously been jerky (audio okay but video
jerky) and found that it made the video smooth.

 So my guess is you probably need it on both, but since I haven't tried
it on the server only I can't say for sure.

 The kernel on the server isn't custom built, it's one of the low
latency
kernels provided by Ubuntu (I used synaptic package manager to select and
install, rebooted, then removed the old).

 On the Mac I don't know.  I had so much problems with X2Go on my Mac,
even after installing the XQuartz server, that is one of the reasons I
installed Ubuntu on it and stopped using MacOS.  Got tired of the spinning
beach ball, got tired of having zero games available.  I liked the Dock but
that's about it.  Mac's approach of just throw enough hardware at it and it
will be acceptable works if you have infinite money, I don't.

 With respect to Windows, I only have an old antique XP machine that I
use
for some games, don't really know how it would work with video over X2Go so
can't answer that one.

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
-_-_-_-_-_-_-_-_-_-
 Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
   Knowledgeable human assistance, not telephone trees or script readers.
 See our web site: