Received: (at submit) by bugs.x2go.org; 9 Jan 2013 11:35:37 +0000
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir (Postfix) with ESMTPS id 4B7335DB0A
	for <submit@bugs.x2go.org>; Wed,  9 Jan 2013 12:35:37 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id E6FE911B
	for <submit@bugs.x2go.org>; Wed,  9 Jan 2013 12:35:36 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id D490D3BA34
	for <submit@bugs.x2go.org>; Wed,  9 Jan 2013 12:35:36 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id V8UKJF62Aj07 for <submit@bugs.x2go.org>;
	Wed,  9 Jan 2013 12:35:36 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id B09843BA39
	for <submit@bugs.x2go.org>; Wed,  9 Jan 2013 12:35:36 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 939A63BA34
	for <submit@bugs.x2go.org>; Wed,  9 Jan 2013 12:35:36 +0100 (CET)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
	grimnir.das-netzwerkteam.de
X-Spam-Flag: NO
X-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00
	autolearn=ham version=3.3.1 running as userid=
X-Spam-Level: 
X-Spam-Bayes-Score: 0.0000
Received: by grimnir.das-netzwerkteam.de (Postfix, from userid 33)
	id 246313BA37; Wed,  9 Jan 2013 12:35:36 +0100 (CET)
Received: from 79-175-142-46.pool.kielnet.net
 (79-175-142-46.pool.kielnet.net [46.142.175.79]) by
 mail.das-netzwerkteam.de (Horde Framework) with HTTP; Wed, 09 Jan 2013
 12:35:36 +0100
Message-ID: <20130109123536.15149qupjuklp43s@mail.das-netzwerkteam.de>
X-Priority: 3 (Normal)
Date: Wed, 09 Jan 2013 12:35:36 +0100
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: christoffer krakou <christoffer@fleten.net>
Cc: submit@bugs.x2go.org
Subject: X2Go session in fullscreen does not adjust screen resolution to
 client-side display size
References: <50EA9CF6.8090205@fleten.net>
In-Reply-To: <50EA9CF6.8090205@fleten.net>
MIME-Version: 1.0
Content-Type: multipart/signed;
 boundary="=_n7y6msl4x6w";
 protocol="application/pgp-signature";
 micalg="pgp-sha1"
Content-Transfer-Encoding: 7bit
User-Agent: Internet Messaging Program (IMP) H3 (4.3.4)

This message is in MIME format and has been PGP signed.

--=_n7y6msl4x6w
Content-Type: text/plain;
 charset=UTF-8;
 DelSp="Yes";
 format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Package: x2goserver
Severity: important
Version: 4.0.0.0

Hi Christoffer,

I submit the below issue as a bug to X2Go BTS. I file it against X2Go  
Server for now, however, a real fix is probably needed in nx-libs  
xfixes extension. So we may reassign this issue later...

On Mo 07 Jan 2013 11:01:26 CET christoffer krakou wrote:

> Hello list
>
> [ ...]

> On my Ubuntu 12.04 server. Now, when i connect using the x2goclient, it
> works well when i select a resolution and run it in a window, but when i
> select fullscreen, the resolution is 1920 X 1200, no matter the
> resolution on the client monitor. This results in the Unity controls
> being unusable. Before the upgrades, there were no trouble. Is anyone
> else experiencing the same?

It is very likely that not nx-libs caused this, but an upgrade of  
x2goserver to version 4.0.0.0.

In 4.0.0.0 we have added a configuration file (/etc/x2go/x2goagent)  
that disables the GLX and the XFIXES extension. Obviously, disabling  
the XFIXES extension causes problems in precise's Unity and the screen  
resolution is not set properly anymore.

For now, please comment out this line in x2goagent.options:

--- /etc/x2go/x2goagent.options.orig    2013-01-09 12:27:24.755957564 +0100
+++ /etc/x2go/x2goagent.options 2013-01-09 12:20:13.927957925 +0100
@@ -7,7 +7,7 @@
  # Disable XFIXES.
  # Workaround for  
https://bugs.launchpad.net/ubuntu/+source/libxfixes/+bug/985202
  #
-X2GO_NXAGENT_DEFAULT_OPTIONS+=" -extension XFIXES"
+#X2GO_NXAGENT_DEFAULT_OPTIONS+=" -extension XFIXES"

  # Disable GLX, the old mesa version is hopelessly outdated anyways.
  # Unbreaks the gnome3 control center

It seems that the XFIXES extension is used to detect the clients  
screen resolution and hand it over to the desktop shell (or xrandr?).

Still a little in the dark, but the above change in x2goagent.options  
seems to solve the reported issue. However, enabling XFIXES in  
x2goagent again leads to other problems, that were lately discussed on  
IRC. Do what causes least problems for you...

Mike's question at the other devs is: wouldn't it be better to comment  
out the recommended extension disablings as opposed to disabling the  
extension right away and expecting not-so-well tested errors?  
Feedback? Opinions?

Greets,
Mike


-- 

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

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

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb

--=_n7y6msl4x6w
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Unterschrift
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAABAgAGBQJQ7VYIAAoJEJr0azAldxsxwgMP/A5zRgu0SKHzqOurSJap6w6i
gxrwsr08dIoLQgXPKUDMq3V6NOQVIkZne8flpY7YS9mnTRPZzUQQumlf0wFaghYT
gVqXLeKbsgLf5/CLkGIGd43X67E4VvvmBdBJpFz0RkYyQcJu6hNa5ldUdU5mY51L
frMimUG2hIBtdi8U3zD4ksvnFDu7AG78YxHogKkWpRMAoPKrEGq3Xkk6MRDOuq3A
HTFywo2OWFj/htQhM5LmFzD3BvRTvMVlCR+88XaaVLEhXXmfhr4KNzTLGAcNC3sv
6z0SPm/RNki/aJcpPLGdEMF1sFsGpe5Fc1Z6ohfYZiot/6z/aOxAY2QvyxjdDVMJ
I0C/y1XIVNym//9XMVoujM4e9BF83Rw5b9zpF7KTgB8ArmPhugJPWvJTGD66vDHs
MpD799phJeyqanY0zaBidYvsTTXsScuGyn8+Dqsgzd1vMIhUO14YtwX/cNVxwMd9
dac8z03hMmV2AFe87GiPA8n3hFn5VUkhq8lqzkhDfDGzGd6bJdIPmORdBY/V9f4s
74XnjOgoihFJJfcvD7kWczc2xMKVpXl2UsVeN5UnNSf9kQ58HkR4j6f8IvITL7HI
Fy1vMxLkQcxQuD6rNxlSisRc7XX25r2vpI464bicnB/A1eX0n0YoU4qVtgCeyrpL
tDOTFtxVbnf2c+aV5CIe
=gB+6
-----END PGP SIGNATURE-----

--=_n7y6msl4x6w--
