[X2go-User] [X2Go-Dev] Usernames with dashes causes errors?

Michael Kromer mkromer at medozas.de
Tue Feb 21 14:09:44 CET 2012


> On Tuesday 2012-02-21 12:58, christoffer krakou wrote:
> 
> >We had some strange problems, though. We contacted a school, who
> >would help us test the server under daily use, and made some test
> >users for them, called "test-*their name*". When they, and i, tried
> >to log into those users, the client would freeze, no error message
> >or anything. On the server, the x2goagent would run amok, soaking up
> >CPU power. The problem seems to occur only on users with dashes in
> >their names.
> 
> Hm, and I would have expected for it to be usernames with spaces to
> go havoc (those occur esp. in winbind-ed environments), since the
> x2go stack has a notorious underquoting of shell variables all over
> the place.
> 
> [Exhibit 1]
> ./x2goserver_3.0.99.10/x2goserver/bin/x2gostartagent:
> OUTPUT=`x2godesktopsharing client $X2GO_CLIENT $X2GO_GEOMETRY $X2GO_LINK
> $X2GO_PACK $X2GO_TYPE $X2GO_KBD_LAYOUT $X2GO_KBD_TYPE $X2GO_SET_KBD $X2GO_STYPE
> $X2GO_CMD $USER`

In fact, x2go assumes use of normal chars in traditional environments (A-z,0-9, with no dashes or spaces) but: This is a good chance to start fix it up, right?

- mike



More information about the x2go-user mailing list