Discussion:
[X2Go-Dev] Bug#873: suggestion for how to handle Xinerama from NX 3.6.x in X2Go
Mike Gabriel
2015-10-07 19:44:51 UTC
Permalink
Hi Mihai, hi Alex,

the new RandR based Xinerama is about to be merged to the nx-libs
3.6.x branch. Here are some ideas how to make the feature addressable
in X2Go.

1.
X2Go Client can server-side query x2gofeaturelist, it outputs the
string X2GOAGENT_RANDRXINERAMA. If that string is in x2gofeaturelist,
then the new Xinerama code is present in x2goagent/nxagent.

2.
We are about to add a xinerama={0,1} NX option for the NX options file
(Ulrich is probably reviewing right now...). This should be used
through NX proxy (I guess) for setting up Xinerama in X2Go Agent. It
works on session startup and session resumption.

3.
One can disable Xinerama completely via cmdline switch for x2goagent:
-disablexineramaextension.


My suggestion is:

o you keep the xinerama.conf file with X2GOAGENT_RANDRXINERAMA,
but put "enabled" or "disabled" into it
o the "enabled" switch is rather for human beings, because the real
enabling takes place via NX options
o if "disabled" is set, then x2gostartagent should notice that
and add -disablexineramaextension

Also, -disablexineramaextension should be added (commented out, of
course, thus for reference) to /etc/x2go/x2goagent.options.

So far from Uli's and Mike's Xinerama hacking frontier...

Greets,
Mike
--
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

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

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
Mihai Moldovan
2016-07-13 04:33:29 UTC
Permalink
In order to disable XINERAMA, we can either:

- pass xinerama=0 as an nx/nx option
- pass -xinerama AND -rrxinerama to x2goagent/nxagent as a normal option

Merely passing -rrxinerama will only disable the Randr-XINERAMA part, but the
PanoramiX-XINERAMA implementation will stay enabled.

Also see
https://github.com/ArcticaProject/nx-libs/blob/3.6.x/nx-X11/programs/Xserver/hw/nxagent/man/nxagent.1
for more information.

Older nxagent versions do not support the xinerama nx/nx option or the
-rrxinerama switch.


Mihai
Mike Gabriel
2018-11-21 20:35:00 UTC
Permalink
Control: close -1
Post by Mihai Moldovan
- pass xinerama=0 as an nx/nx option
- pass -xinerama AND -rrxinerama to x2goagent/nxagent as a normal option
Merely passing -rrxinerama will only disable the Randr-XINERAMA part, but the
PanoramiX-XINERAMA implementation will stay enabled.
Also see
https://github.com/ArcticaProject/nx-libs/blob/3.6.x/nx-X11/programs/Xserver/hw/nxagent/man/nxagent.1
for more information.
Older nxagent versions do not support the xinerama nx/nx option or the
-rrxinerama switch.
Mihai
Fixed in X2Go Server since commit 7e0dce4aaf71b03db72c3dd21ff158ce3460532d.

Thus, closing...

Mike
--
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
mail: ***@das-netzwerkteam.de, http://das-netzwerkteam.de
X2Go Bug Tracking System
2018-11-21 20:40:08 UTC
Permalink
Post by Mike Gabriel
close -1
Bug #873 [x2goserver] Drop Xinerama / LD_LIBRARY_PATH related code from x2goruncommand for nxagent >= 3.5.99.0
Marked Bug as done
--
873: http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=873
X2Go Bug Tracking System
Contact ***@bugs.x2go.org with problems
Loading...