Joakim Seeberg | 5 Jan 2011 14:00
Picon

Hardware requirements

Hi, could someone elaborate on the hardware requirements for x2goserver 
setup. It is for educational use so the primary applications is 
openoffice and firefox on kde or gnome desktop. The setup will serve 200 
x2goclient users on a wlan.

At the moment I have 2 used IBM servers with SCSI RAID, dual Pentium 4 
CPU, ram unknown.

Does the load spread automaticly or will the user have to choose server 
at login, when using x2goserver with more than one node?

Thanks, Joakim
brian mullan | 6 Jan 2011 16:53
Picon

Hardware requirements

Joakim

If you haven't read this yet off of the old x2go website you might want to read about how Linux4Afrika Project configured their x2go servers.

That web site and information is a bit "dated" but it can give you some ideas.

One thing caught my eye in your email are a couple of your statements:

"the setup will serve 200 x2goclietn users on a wlan"

If the goal is to support 200 simultaneous users... I'm not sure those 2 servers can do that.

But if its just to support 200 accounts with some portion of those logged in at any one time then it can work but will still need some sanity scale testing by yourself
to know how many at any one time can be logged in.

Second, over a wan you don't say what kind of bandwidth your WAN has.
So basic questions will be what is bandwidth of WAN link to the site or sites.
How many users would be on each of those WAN links sharing that bandwidth.

Keep in mind no NX technology whether x2go, NoMachines NX or anyone else can defy physics so the size and number of Servers has to be
in line with the number of users and the load represented by the x2go server as well as any APPs they run.

The number of users will be limited at any one time to the bandwidth of your WAN link and the capabilities/size of your servers (cpu, memory, disk i/o, network i/o).



----------------------------------------------------------------------

Message: 1
Date: Wed, 05 Jan 2011 14:00:49 +0100
From: Joakim Seeberg <kontakt <at> seebergit.dk>
To: x2go-dev-0fE9KPoRgkgATYTw5x5z8w@public.gmane.org
Subject: [X2go-dev] Hardware requirements
Message-ID: <4D246B81.3060702-eaqT0iWzWeBlY7y4Fx5NiA@public.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi, could someone elaborate on the hardware requirements for x2goserver
setup. It is for educational use so the primary applications is
openoffice and firefox on kde or gnome desktop. The setup will serve 200
x2goclient users on a wlan.

At the moment I have 2 used IBM servers with SCSI RAID, dual Pentium 4
CPU, ram unknown.

Does the load spread automaticly or will the user have to choose server
at login, when using x2goserver with more than one node?

Thanks, Joakim


------------------------------


_______________________________________________
X2go-dev mailing list
X2go-dev@...
https://lists.berlios.de/mailman/listinfo/x2go-dev
Mike Gabriel | 6 Jan 2011 23:50
Picon
Favicon

X2go Git now available at BerliOS

Dear X2go-folks,

the X2go Git repository at BerliOS has been set up today. You can  
browse the X2go-Git at BerliOS:
http://git.berlios.de/cgi-bin/cgit.cgi/x2go/tree/?h=master
http://git.berlios.de/cgi-bin/cgit.cgi/x2go/tree/?h=develop

META INFORMATION
================
The master branch is the project's release branch. A commit to master  
will be equivalent to an X2go release. The develop branch will be the  
branch that you can derive your own branches from for features you  
want to implement (and possibly propose for integration into X2go).

Currently, the develop branch is a simple copy of the master branch.  
Heinz and Alex have just finished a complete rewrite of the x2goclient  
that will use libssh as opposed to ssh binary calls in the background.  
Alex has proposed a patch to upstream libssh that got accepted and  
once the new libssh version is released there will be a commit to the  
develop branch containing the latest x2goclient code. This is expected  
for the end of January 2011.

We are also still discussing the Git branching model details. As a  
template for the discussion we use this document (as proposed by  
HedgeHog from the x2go-dev list):
http://nvie.com/posts/a-successful-git-branching-model/

There will be some slight modifications to this model but the  
discussion will take place along this very fine piece of work.

USING X2go/Git:
===============

You can anonymously clone a working copy of X2go Git with this command:

   $ git clone git://git.berlios.de/x2go x2go

BerliOS users should also be able to clone a working copy with this command:

   $ git clone ssh://<developername> <at> git.berlios.de/gitroot/x2go x2go

If you want to branch off of the develop branch for your own  
implementation work, then do this after having cloned the BerliOS Git:

   $ cd x2go
   $ git checkout develop
   $ git checkout -b branch_<featurename>

... where <featurename> is a short string of your choice (at least for  
now) that describes the feature you are going to implement.

If you intend working on a feature that you would like to become part  
of X2go some time in the future then we should agree on some, e.g.:

   1) please talk to Heinz and Alex about your ideas first, don't simply start
      working
   2) make sure that you work in small portions, do not rewrite the  
complete code
      and expect a merge
   3) document your work
   4) ... ??? ...

For now, feature branches will stay on your local file systems. Once,  
we have finished our discussion on the Git branching model we will  
inform you on how merge requests can be send to the project (probably  
via a commit of your feature branch to BerliOS, but we will see...).

Looking forward to a growing project and an active X2go community with  
lots of fine contributions...

light+love,
Mike

--

-- 

DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419

GnuPG Key ID 0x1943CA5B
mail: m.gabriel@..., http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
_______________________________________________
X2go-dev mailing list
X2go-dev@...
https://lists.berlios.de/mailman/listinfo/x2go-dev
Gerry Reno | 7 Jan 2011 02:24
Picon
Gravatar

Re: X2go Git now available at BerliOS

Nice work Mike!

I just tried a clone using bzr's 'bzr-git' plugin and it worked.

$ bzr branch git://git.berlios.de/x2go x2go
Branched 6 revision(s).      

$ find . -maxdepth 2 -type d ! -ipath "./.*"
.
./lib
./lib/nxcompshad
./lib/nxcompext
./lib/nxcomp
./client
./client/x2goclient-cli
./client/nxproxy
./client/x2goclient
./client/pinentry-x2go
./server
./server/cups-x2go
./server/x2goserver
./server/_kde_
./server/_ldap_
./server/_lxde_
./server/_gnome_
./server/x2goprint
./server/x2goserver-one
./server/x2goagent
./server/x2godesktopsharing
./server/x2gospyglass
./contrib
./contrib/windows
./tce
./tce/x2gousbmount
./tce/x2gothinclientsystem
./tce/x2gosmartcardrules
./tce/x2gocdmanager
./tce/x2gothinclient

Looks like it pulled it ok.

So it looks like I can work with the repo in bzr.

Regards,
Gerry
Gerry Reno | 7 Jan 2011 02:28
Picon
Gravatar

Re: X2go Git now available at BerliOS

On 01/06/2011 08:24 PM, Gerry Reno wrote:
> Nice work Mike!
>
>
> I just tried a clone using bzr's 'bzr-git' plugin and it worked.
>
> $ bzr branch git://git.berlios.de/x2go x2go
> Branched 6 revision(s).      
>
> $ find . -maxdepth 2 -type d ! -ipath "./.*"
> .
> ./lib
> ./lib/nxcompshad
> ./lib/nxcompext
> ./lib/nxcomp
> ./client
> ./client/x2goclient-cli
> ./client/nxproxy
> ./client/x2goclient
> ./client/pinentry-x2go
> ./server
> ./server/cups-x2go
> ./server/x2goserver
> ./server/_kde_
> ./server/_ldap_
> ./server/_lxde_
> ./server/_gnome_
> ./server/x2goprint
> ./server/x2goserver-one
> ./server/x2goagent
> ./server/x2godesktopsharing
> ./server/x2gospyglass
> ./contrib
> ./contrib/windows
> ./tce
> ./tce/x2gousbmount
> ./tce/x2gothinclientsystem
> ./tce/x2gosmartcardrules
> ./tce/x2gocdmanager
> ./tce/x2gothinclient
>
>
> Looks like it pulled it ok.
>
> So it looks like I can work with the repo in bzr.
>
>
> Regards,
> Gerry
>
>   

Log looks right as well:

$ bzr log
------------------------------------------------------------
revno: 6
git commit: 1512f523a749251c09065da91f1865db30f89435
committer: Mike Gabriel <m.gabriel@...>
timestamp: Thu 2011-01-06 13:41:42 +0100
message:
  * removed test.txt
------------------------------------------------------------
revno: 5 [merge]
git commit: 893258c42dd2b8c5b33dbe45f310d4964529ef24
committer: Mike Gabriel <m.gabriel@...>
timestamp: Thu 2011-01-06 13:41:33 +0100
message:
  Merge branch 'master' of ssh://git.berlios.de/gitroot/x2go
------------------------------------------------------------
revno: 4
git commit: 12cb5201b8addbe106367680383fe77d5d369600
committer: Mike Gabriel <m.gabriel@...>
timestamp: Thu 2011-01-06 13:35:53 +0100
message:
  Merge branches 'develop' and 'master'
------------------------------------------------------------
revno: 3
git commit: 9e9fb0007f40af26c1c98a8473531635100431ec
committer: Mike Gabriel <m.gabriel@...>
timestamp: Sun 2011-01-02 17:22:50 +0100
message:
  * filled branch develop with a copy of master
------------------------------------------------------------
revno: 2
git commit: 80ca69563c3a3aeab9740410dcc7dcbd05a00ee9
committer: Mike Gabriel <m.gabriel@...>
timestamp: Sun 2011-01-02 17:19:55 +0100
message:
  * deleted folder named master
  * pulled all dirs one dir level up
------------------------------------------------------------
revno: 1
git commit: 15463510e29b5eb262323844747be0ec92598f1f
committer: Heinz-M. Graesing <heinz-m.graesing@...>
timestamp: Thu 2010-12-16 21:51:10 +0100
message:
  Initial commit
------------------------------------------------------------
Use --include-merges or -n0 to see merged revisions.

Regards,
Gerry
Gerry Reno | 7 Jan 2011 03:05
Picon
Gravatar

Re: X2go Git now available at BerliOS

The only problem I see is that there is no commit history other than
just the repo creation activity:

$ bzr tags
$

No tagged releases. :-(

So it is not possible to recreate existing releases.

Regards,
Gerry
Mike Gabriel | 7 Jan 2011 09:46
Picon
Favicon

Re: X2go Git now available at BerliOS

Hi Gerry,

On Fr 07 Jan 2011 03:05:18 CET Gerry Reno wrote:

> The only problem I see is that there is no commit history other than
> just the repo creation activity:
>
> $ bzr tags
> $
>
> No tagged releases. :-(
>
> So it is not possible to recreate existing releases.
>
>
> Regards,
> Gerry

Yes, indeed. The release will be tagged on the master branch only,  
anyway. So you are fine with the develop branch already.

I'll discuss the missing tag and its name/version with Heinz and Alex.

Greets,
Mike

--

-- 

DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419

GnuPG Key ID 0x1943CA5B
mail: m.gabriel@..., http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
_______________________________________________
X2go-dev mailing list
X2go-dev@...
https://lists.berlios.de/mailman/listinfo/x2go-dev
Mike Gabriel | 7 Jan 2011 10:27
Picon
Favicon

Re: X2go Git now available at BerliOS

Hi Gerry,

On Fr 07 Jan 2011 03:05:18 CET Gerry Reno wrote:

> The only problem I see is that there is no commit history other than
> just the repo creation activity:
>
> $ bzr tags
> $
>
> No tagged releases. :-(
>
> So it is not possible to recreate existing releases.
>
>
> Regards,
> Gerry

please update your working copy. There should now be a tag named  
,,uthoern'' (Uthörn).

Greets,
Mike

--

-- 

DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419

GnuPG Key ID 0x1943CA5B
mail: m.gabriel@..., http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
_______________________________________________
X2go-dev mailing list
X2go-dev@...
https://lists.berlios.de/mailman/listinfo/x2go-dev
Daniel Lindgren | 7 Jan 2011 10:36
Picon

Re: x2goclient-cli don't terminates correctly?

> A quick and dirty solution would be to fix the perl script to take care of child processes and properly
terminate them at exit.

... and here's my quick & dirty hack, add it after the last line in
x2goclient-cli:

# ---- CUT ----

my  <at> SSHS = ();
my $ssh;
my $pid;
my  <at> ssh_split = ();

# print "$0: Checking ssh sessions ...\n";
open(GR_SSH,"ps ux | grep \"ssh -p $port .*-N -L
$gr_port:localhost:$gr_port $user\ <at> $server\" | grep -v grep |");
 <at> SSHS = <GR_SSH>;
close(GR_SSH);

if ($sound) {
    open(SND_SSH,"ps ux | grep \"ssh -p $port .*-N -R
$snd_port:localhost:$snd_port $user\ <at> $server\" | grep -v grep |");
    push( <at> SSHS,<SND_SSH>);
    close(SND_SSH);
}

if (scalar( <at> SSHS) > 0) {
    foreach $ssh ( <at> SSHS) {
        $ssh =~ s/\s+/\|/g;
         <at> ssh_split = split(/\|/,$ssh);
        $pid = $ssh_split[1];
        # print "$0: Ending ssh session with pid $pid ...\n";
        system("kill -1 $pid");
    }
} else {
    # print "$0: No ssh sessions found.\n";
}

# ---- CUT ----

Don't know if there's a permanent solution in the works, the above
hack should do the job until then.

While testing I noticed that there are no hanging tunnels if I use SSH
keys to authenticate
(http://wiki.x2go.org/passwordless_authentication_using_ssh-keys), if
you don't want to modify  x2goclient-cli that might be a workaround.

Cheers,
Daniel
Philipp Huebner | 7 Jan 2011 11:06
Picon
Favicon

Re: Hardware requirements

Hi,

On 06/01/11 16:53, brian mullan wrote:
> The number of users will be limited at any one time to the bandwidth of
> your WAN link and the capabilities/size of your servers (cpu, memory,
> disk i/o, network i/o).

Joakim didn't write "WAN" but "wlan", meaning wifi.
But I guess more or less the same facts apply.

Regards,
--

-- 
 .''`.   Philipp Huebner <debalance@...>
: :'  :  pgp fp: 6719 25C5 B8CD E74A 5225  3DF9 E5CA 8C49 25E4 205F
`. `'`   HP: http://www.debalance.de, Skype: philipp-huebner
  `-     ICQ: 235-524-440, Jabber: der_schakal@...

_______________________________________________
X2go-dev mailing list
X2go-dev@...
https://lists.berlios.de/mailman/listinfo/x2go-dev

Gmane