[X2Go-Dev] Different behavior of X2Go Client from Desktop and TCE

Walid MOGHRABI w.moghrabi at servicemagic.eu
Wed May 16 15:54:24 CEST 2018


I don't know, the only thing I know for sure is the fact that without adding a WM, it never worked.
Anyway, adding OpenBox and tweaking its conf is really nothing to do so I would say this is an acceptable fix for the TCE mode.

Regards,
Walid Moghrabi

TRAVAUX.COM
BAT I - PARC CEZANNE 2 290 AVENUE GALILEE - CS 80403
13591 AIX EN PROVENCE CEDEX 3

----- Mail original ----- 

De: "Ulrich Sibiller" <ulrich.sibiller at gmail.com> 
À: "Stefan Baur" <X2Go-ML-1 at baur-itcs.de> 
Cc: x2go-dev at lists.x2go.org 
Envoyé: Mercredi 16 Mai 2018 15:48:54 
Objet: Re: [X2Go-Dev] Different behavior of X2Go Client from Desktop and TCE 


The magic pixel can be disabled in nxagent 3.5.99.16. 


I am wondering why the the WM is relevant. Nxagent is talking to the X server and not the WM. So what does xrandr report on the tce side with and without WM? 


Uli 


Stefan Baur < X2Go-ML-1 at baur-itcs.de > schrieb am Mi., 16. Mai 2018, 15:25: 


Am 16.05.2018 um 15:11 schrieb Walid MOGHRABI: 
> This is a known bug I encountered and this is due to the lack of Window Manager. 
> Apparently, the WM is needed to have a good working xinerama. 
> 
> I fixed this by installing OpenBox in my TCE image and added this line : 
> 
> 
> ============================================================================================ 
> --- /usr/sbin/x2gothinclientd 
> +++ /usr/sbin/x2gothinclientd 
> @@ -175,6 +175,9 @@ 
> } 
> } 
> 
> + # Spawn openbox 
> + system("su - x2gothinclient -c \"DISPLAY=:0 openbox &\""); 
> + 
> # set screen background to X2Go default blue on all detected screens 
> `DISPLAY=:0 xsetroot -solid "#246ed8"`; 
> ============================================================================================ 
> 
> I also did a few modifications to /etc/xdg/openbox/rc.xml to disable windows borders and a few stuff ... in fact these are just modifications you can find in the TCE Live Build project. 
> Please find my rc.xml attached. 
> 
> Once you do this, everything works just like on your desktop. 

... or not. 

As I said, it also happens in TCE-Live, though only sometimes. 
Hooooweveeeerr ... we include code to kill openbox once the NX window 
comes up, so that the dreaded magic pixel won't trigger. 

Maybe the act of disabling sometimes happens too soon, and we get a race 
condition between the xinerama components and the magic-pixel-workaround. 

Kind Regards, 
Stefan Baur 

-- 
BAUR-ITCS UG (haftungsbeschränkt) 
Geschäftsführer: Stefan Baur 
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243 

_______________________________________________ 
x2go-dev mailing list 
x2go-dev at lists.x2go.org 
https://lists.x2go.org/listinfo/x2go-dev 


_______________________________________________ 
x2go-dev mailing list 
x2go-dev at lists.x2go.org 
https://lists.x2go.org/listinfo/x2go-dev
---
DISCLAIMER: This e-mail is private and confidential and may contain proprietary or legally privileged information. It is for the intended recipient only. If you have received this email in error, please notify the author by replying to it and then destroy it. If you are not the intended recipient you must not use, disclose, distribute, copy, print or rely on this e-mail or any attachment. Thank you


More information about the x2go-dev mailing list