You could write a script that deletes out the ~/.config/monitors.xml
file. If you set it to run on logout, you'll still have a problem if
users don't log out and just kill the thin client, since the file will
stay there until their next log in. On the other hand, if you set it
to run on login, I'm not sure if it will get run before X
initialization, so it might not do any good.

If you really want to take care of it, just create a cron job that
deletes everybody's monitors.xml file every 5 minutes or something.
But that could be considered overkill, I guess.

Todd

On Tue, Sep 3, 2013 at 3:55 PM, Mike Cammilleri <mi...@stat.wisc.edu> wrote:
> The problem was that when a user logs into thin-client B that's using a
> different monitor than their primary thin-client A, an additional
> monitor definition for that monitor is written into ~/.config/monitors.xml
>
> When the user returns back to their primary thin-client A, xorg tries to
> load the most recently used monitor definition from the top of the list
> in ~/.config/monitors.xml. It can't because it doesn't match the
> hardware they're actually viewing their session on and instead the
> display is turned off but the thin-client remains running of course. It
> looked like it shut down before but I was incorrect, its simply the
> display not rendering due to the wrong monitor definition.
>
> Deleting the offending monitor definition or the monitors.xml file
> altogether cleared the problem.
>
> Does anyone have a suggestion on how to deal with this? We have labs of
> thin-clients and personal offices with varying monitor types. Users tend
> to migrate between rooms so this will be an issue.
>
> Thanks,
> Mike
>
> On 08/30/13 10:49, Mike Cammilleri wrote:
>> Has anyone experienced when selecting Ubuntu 2D for your session, after
>> successful log in of user name and password, the thin-client just shuts
>> down? I tried removing all my .gconf and other hidden files related to
>> the environment but nothing would bring it back to life (for my user
>> account).
>>
>> I ended up creating a whole new user directory. I'm using LTSP cluster
>> with ldap users on nfs mounted home directories. Then I was able to load
>> Ubuntu 2D again since it re-wrote all the dot files fresh.
>>
>> However, now the problem has resurfaced. I use "awesome" windows manager
>> most of the time, but wanted to go back to Ubuntu 2D for testing. Is
>> there a better way to reset whatever is not happy? This seems to only be
>> effecting my user account at the moment. Is there an issue because I
>> switch windows managers often?
>>
>> Using Ubuntu 12.04 LTS.
>>
>> ------------------------------------------------------------------------------
>> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
>> Discover the easy way to master current and previous Microsoft technologies
>> and advance your career. Get an incredible 1,500+ hours of step-by-step
>> tutorial videos with LearnDevNow. Subscribe today and save!
>> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&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
>>
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&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

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&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