Hi Tim,

On Mo 26 Nov 2012 18:29:56 CET Tim Kruse wrote:

So, it's me again :)

I experienced something really strange for me.

x2goclient:~% ssh -X x2goserver
x2goserver:~% python
Python 2.7.3rc2 (default, Apr 22 2012, 22:30:17)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import gtk
import gnome.ui


Everything's fine. Now let's do the same within an open x2go session
with the same server

x2goserver:~% python
Python 2.7.3rc2 (default, Apr 22 2012, 22:30:17)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import gtk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py", line 40, in <module>
    from gtk import _gtk
ImportError: /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0: undefined symbol: XRRFreeScreenResources
import gnome.ui
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0: undefined symbol: XRRFreeScreenResources


The difference between the two tests is:

  Test 1: display is provided by local X-Server
  Test 2: display is provided by x2goagent

The XRRFreeScreenResources symbol pops up again and again in bugs I have with latest desktop shells (KDE 4.9 in Ubuntu for example).

XRR... is part of libxrandr1.2 and it seems we are facing a problem here...

x2goagent has two parts of code: the X-Server and a set of (old) X libraries that applications could be linked again (libnx-x11). The NoMachine people have quite recently updated the xrandr extension in nxagent/x2goagent to version 1.2, but they have not updated the client libxrandr library. This should not be necessary, normally...

Normally, the X applications should use the distro's libx11 & co. libraries. However, there seems to be a problem with libxrandr as shipped with latest distros when talking to an nxagent/x2goagent.

To allow KDE on Ubuntu run in fullscreen mode without kwin crashes I have patched x2goserver/x2goagent, so that KDE applications (also kwin) use the libxrandr shipped in libnx-x11.

There is one bug on launchpad that documents most of the issues I have seen:
https://bugs.launchpad.net/ubuntu/+source/libx11/+bug/985202

It probably needs some man power to dive into the xrandr extension of nxagent/x2goagent, so that this issue could be addressed.

If the reported issue is a serious problem for your business and there is financial power, I recommend contacting Alex (Oleksandr Shneyder), he surely is able to narrow that issue down and come up with a fix for x2goagent/nxagent (nx-libs.git).

Greets,
Mike


--

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

GnuPG Key ID 0x25771B31
mail: [email protected], http://das-netzwerkteam.de

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

Attachment: pgpURjRoYqw7T.pgp
Description: Digitale PGP-Unterschrift

_______________________________________________
X2Go-User mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/x2go-user

Reply via email to