Thinstation / thinstation

A framework for making thin and light Linux based images for x86 based machines and thinclients.
https://www.thinstation.net/
797 stars 187 forks source link

Extended Dual Screens with 1 Vertical and 1 Horizontal Monitor. #590

Open KimbKa opened 4 years ago

KimbKa commented 4 years ago

Hello, I have deployed a working ThinStation 6.1 image to our company that boots to an xServer session using XDMCP. Is it possible to configure buildtime to allow this session to use dual (extended) screens, with one of the screens being physically vertical, the other horizontal?

Please let me know if I can provide any other useful details.

Thinstation commented 4 years ago

If you can write an xrandr line, you should be able to do that.

KimbKa commented 4 years ago

I'll look into this and update with results. Thanks!

KimbKa commented 3 years ago

Hi Don, I've been looking into this / testing this out over the past few days. Unfortunately I don't believe a xrandr string specifying monitor positions will work for us as we have a mix of different hardware (computer and monitor cables) for thinclients. Regardless, getting extended dual screens with the same orientation will be better than a single display.

I did find a previous post of yours explaining to edit thinstation.build.conf with: USE_XRANDR=true XRANDR_OPTIONS="dualscreen"

However, I can't seem to get dual extended screens working despite multiple attempts and research on the web. At this point I'm feeling there's something simple I've missed (a package maybe?). If so, can you please point me in the right direction?

From my understanding - I'm not able to use the set-resolution package as that's recommended for local install. These clients are PXE booting.

I've included our config files if you're able to take a look and see what I'm missing here. I am using an --allmodules build

Much appreciated,

thinstation.conf.buildtime.txt build.conf.txt

Doncuppjr commented 3 years ago

dualscreen goes into some special logic to set up two screens. It does the following.

XRANDR_OPTIONS="--output $out1 --left-of $out2 --primary"

It doesn't handle screen rotation or monitors of different resolutions. 

You can totally hack whatever you want onto ThinStation, but your particular use case has not been addressed as of yet. A single xrandr line might not work for you everywhere. A local config might solve your problem. 

On Tuesday, September 22, 2020, 02:52:38 PM PDT, KimbKa notifications@github.com wrote:

Hi Don, I've been looking into this / testing this out over the past few days. Unfortunately I don't believe a xrandr string specifying monitor positions will work for us as we have a mix of different hardware (computer and monitor cables) for thinclients. Regardless, getting extended dual screens with the same orientation will be better than a single display.

I did find a previous post of yours explaining to edit thinstation.build.conf with: USE_XRANDR=true XRANDR_OPTIONS="dualscreen"

However, I can't seem to get dual extended screens working despite multiple attempts and research on the web. At this point I'm feeling there's something simple I've missed (a package maybe?). If so, can you please point me in the right direction?

From my understanding - I'm not able to use the set-resolution package as that's recommended for local install. These clients are PXE booting.

I've included our config files if you're able to take a look and see what I'm missing here. I am using an --allmodules build

Much appreciated,

thinstation.conf.buildtime.txt build.conf.txt

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe .

rohrbachger commented 3 years ago

We do have dual screen in use, with vmware works fine. One colleague want´s one rotated screen. ( Lenovo M715q, amdgpu) 2* 24" Dell- DisplayPort He has to do it manually every restart, but it works fine. Found not the time to look at the xrandr to make it static on this machine.

Looking in thinstation.conf.buildtime we have no special xrandr, but I remember when we started we had.

This is still in the file, but I`m not sure if this does anything. SET_RESOLUTION_MULTIMONITOR_EXPAND='mirror' SET_RESOLUTION_MULTIMONITOR_AUTOSCALE='scale'

So Dual screen works fine on Lenovo M715Q and Dell Optiplex with Nvidia card.