I have Ubuntu 16.04.3 LTS server with fat LTSP clients with graphical MATE Desktop Environment.
Some of clients have two display ports (DVI and VGA) on integrated Intel graphics card. On some of them Ubuntu incorrectly selects main screen.
Is it possible to set display configuration programmatically on login time?
I mean setting it by mate-display-properties once and then load this settings on the selected clients. Is xrandr better?
My current plan is:
- Manually configure problematic clients with
mate-display-propertiesafter login; - Write down MAC- and/or IP- addresses of problematic clients;
- Change lts.conf to keep constant login names for these MACs and/or IPs.
Maybe there is a simpler solution?
How can I set display options on these clients with xrandr?