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

Stefan Baur X2Go-ML-1 at baur-itcs.de
Wed May 16 15:19:00 CEST 2018


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20180516/80710f88/attachment.sig>


More information about the x2go-dev mailing list