This is bug 3762, again. It turns out that we actually broke this functionality *after* we tested & closed this bug. Most of the pieces are there. However, probably the fixes to screen_xywh broke it. It's broken both on TLCOS/Linux and Windows. This is an important bug due to how TLCOS/tlcontrol works: If you have a bigger screen size than selected, the X server will start up with, say 1024. Then tlclient changes to, say, 800. If you then login, tlclient will create a session which is 1024 pixels wide. You can also see that the login window is not centered. screen_xywh needs a rewrite!
http://www.fltk.org/str.php?L2855
Upstream accepted our patch. r25337 also simplifies things; we do not need to call XRRUpdateConfiguration ourselves. Will be fixed with new FLTK packages, arriving in minutes. Time reporting will be done on bug 4229.
Verified working on Linux/Windows using ThinLinc build 3668, only need to test TLCOS.
(In reply to comment #3) > Verified working on Linux/Windows using ThinLinc build 3668, > only need to test TLCOS. This was an invalid test, the test was redone on linux the correct way and it seems to work. However, it fails on TLCOS running in a virtual machine starting x with 1024x768 change to 800x600 using controlpanel and then connect the remote session size becomes 1024x768. Test using each following alternative 'Current Monitor', 'All monitors' and 'Work area'
> However, it fails on TLCOS running in a virtual machine starting x > with 1024x768 change to 800x600 using controlpanel and then connect > the remote session size becomes 1024x768. > Test using each following alternative 'Current Monitor', 'All monitors' > and 'Work area' Problem found. FLTK does dlopen("libXrandr.so"), but this lib is typically only present if you have libXrandr-devel installed. I think we should dlopen "libXrandr.so.2" instead.
(In reply to comment #5) > > However, it fails on TLCOS running in a virtual machine starting x > > with 1024x768 change to 800x600 using controlpanel and then connect > > the remote session size becomes 1024x768. > > Test using each following alternative 'Current Monitor', 'All monitors' > > and 'Work area' > > Problem found. FLTK does dlopen("libXrandr.so"), but this lib is typically only > present if you have libXrandr-devel installed. I think we should dlopen > "libXrandr.so.2" instead. Fixed in cenbuild r25954. Next build should work.
I have now tested with TLCOS build 3672 and the issue is fixed.