We have an environment where our users don't always use the same 
machines, and most of the machines have different graphics card and 
monitor configurations - many of them have dual-monitors in various 
layouts, some have widescreens, etc.

The lts.conf xrandr settings affect LDM (login screen), but the settings 
are not carried forward to the Desktop Environment (XFCE in our case) 
after login. XFCE wants to impose whatever the user's last configuration 
was, but that may have been on a different machine, so the user often 
ends up with the wrong resolution / layout / configuration after logging 
in, and must manually reconfigure the settings.

To solve this, I had someone write a script to issue a xrandr command 
based on the network MAC address of the machine (similarly to how 
lts.conf works, but this is executed AFTER login). This should work for 
both fat and thin clients (thin should use ltsp-localapps when running 
the script).

I've posted it here:
https://github.com/gdi2k/mac2xrandr

We've been running it for a couple of weeks and it works consistently 
for us. Maybe it's useful to others too.

Perhaps such a feature could be added to LTSP one day so monitor 
settings just be set once in lts.conf and work both for LDM and whatever 
DE is being logged into. You're welcome to use this code if it's 
suitable of course.

Side note: We disable one monitor on dual-monitor setups for LDM as the 
username entry field splits across the edges of the screens, causing 
usability issues.

Graham

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to