Subject: Bug#1197: Multihead fullscreen not working with TCE client in displaymanager mode

From: Walid MOGHRABI <[email-masked]>
Date: Wed, 26 Jul 2017 11:09:00 +0200 (CEST)

Humm ... I guess the images used by Stefan are "mini desktop" based.
I don't want to use that mode, I'd rather go with the "displaymanager" mode instead.
I really want my users to login directly to their X2Go session.

I works really well in one screen only situations but now, I'd like to give my devs access to a X2Go session too but they use dual head setup and so, I wanted to have a good dual head support ... which is the case with the client under Linux (but not under Windows as I already reported earlier) so I thought that making them use the TCE would fix that but that is not the case for unknown reason.

There must be a way to fix that but I admit that my knowledge on that part is somewhat limited.

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" <[email-masked]> 
À: "Walid MOGHRABI" <[email-masked]> 
Cc: [email-masked], "Stefan Baur" <[email-masked]> 
Envoyé: Mercredi 26 Juillet 2017 11:01:20 
Objet: Re: Bug#1197: Multihead fullscreen not working with TCE client in displaymanager mode 

On Wed, Jul 26, 2017 at 10:35 AM, Walid MOGHRABI 
<[email-masked]> wrote: 
> Just to give a bit more informations on my TCE setup : it is not based on the live-build scripts because it is not well suited for Ubuntu 16.04 and to be honest, I never managed to get a working live build that way so I gave up. 
> My TCE image is more or less a tweaked ubuntu 16.04 debbotstrapped image with x2gothinclient-displaymanager installed (+ a few more things but really, this is a pretty basic ubuntu server image + x2gothinclient installed) 

Maybe Stefan can provide an image that you can try? 

> By the way, Stefan put the finger on one point : in /usr/sbin/x2gothinclientd, I commented the whole randr stuff block (from line 114 to line 175) to make a try then restarted the x2gothinclient-displaymanager but while it didn't fix my multimonitor support within the X2Go session, it fixed a bad ordering of the monitors. 
> Before that, my monitors were inverted (right was left and left was right), commenting this block lead to right ordering of the monitors this time. 

AFAIU wrong ordering is the raeson for that code. You can instruct it 
how to arrange the monitors via that code ("above", "leftof" a.s.o.) 

> Concerning your test Uli, doing "Ctrl+Alt+F" within the X2Go session on the TCE did nothing. 
> I don't know if it was meant to do anything but I did it many times following the action by a xrandr output in the console, nothing changed, same values all the time (one big screen, not 2) 

Hmm, this keystroke is supposed to toggle fullscreen. And it is 
working in the TCE image I have here (switches to windowed mode and 
back again to fullscreen on the second stroke). You could also try 
Ctrl+Shift+Alt+F but I doubt it will work if the other keystroke did 
not work... 

Uli
---
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