Hello,
I can confirm this bug for x2goserver 4.0.1.15 on CentOS 6.
Attached is a patch against the current HEAD.
Regards, Peter Ludikovsky
--- X2Go/Server/DB/SQLite3.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/X2Go/Server/DB/SQLite3.pm b/X2Go/Server/DB/SQLite3.pm index d693809..dd4e403 100644 --- a/X2Go/Server/DB/SQLite3.pm +++ b/X2Go/Server/DB/SQLite3.pm @@ -656,6 +656,7 @@ sub check_user # session id looks like someuser-51-1304005895_stDgnome-session_dp24 # during DB insertsession it only looks like someuser-51-1304005895 my $user = "$sid"; + $realuser =~ s/\\//; $user =~ s/($realuser-[0-9]{2,}-[0-9]{10,}_st(D|R).*|.*-[0-9]{2,}-[0-9]{10,}_stS(0|1)XSHAD$realuser.*)/$realuser/; $user eq $realuser or die "$realuser is not authorized"; } -- 1.9.3