Discussion:
[Ltsp-discuss] display manager in fat clients..
Johan Kragsterman
2014-11-26 09:58:08 UTC
Permalink
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
Vagrant Cascadian
2014-11-26 10:46:43 UTC
Permalink
On 2014-11-26, Johan Kragsterman wrote:
> How is the display manager work in fat clients...?
>
> It seems there is no local display manager...?

Both LTSP fat and thin clients use LDM, which does LTSP specific
configuration, and sets up the sshfs homedir, user account, triggers
ltspfs mounts, etc.


> When I run sudo stop lightdm in terminal,

Lightdm isn't typically used in LTSP5.


> it only says unknown job...but I can of coarse stop it with
> ctrl-alt-F1, but after that I can't start it again...

Not sure what you mean by stopping it, it's run from an LTSP screen
script, which should respawn if you kill LDM manually.

LDM should be running on tty7 by default, reachable with ctrl-alt-f7.


live well,
vagrant
Johan Kragsterman
2014-11-26 11:50:19 UTC
Permalink
Hi, Vagrant!

Thanks for the input!

More questions further down...


-----Vagrant Cascadian <***@debian.org> skrev: -----
Till: ltsp-***@lists.sourceforge.net
Från: Vagrant Cascadian <***@debian.org>
Datum: 2014-11-26 11:48
Ärende: Re: [Ltsp-discuss] display manager in fat clients..

On 2014-11-26, Johan Kragsterman wrote:
> How is the display manager work in fat clients...?
>
> It seems there is no local display manager...?

Both LTSP fat and thin clients use LDM, which does LTSP specific
configuration, and sets up the sshfs homedir, user account, triggers
ltspfs mounts, etc.


> When I run sudo stop lightdm in terminal,

Lightdm isn't typically used in LTSP5.


> it only says unknown job...but I can of coarse stop it with
> ctrl-alt-F1, but after that I can't start it again...

Not sure what you mean by stopping it, it's run from an LTSP screen
script, which should respawn if you kill LDM manually.

LDM should be running on tty7 by default, reachable with ctrl-alt-f7.




Yeah, that is fine, but I can't stop the LDM in a terminal. It just says "unknown job". I want to be able to stop and then restart it again. This is due to the situation that my screen is large, so I want to turn it off when I leave my work space. It has an HDMI interface, which I believe is the reason for that when I return, there is no connection anylonger. Perhaps the driver detaches or something...?

Anyway, what I do then is to ctrl-alt-F1, and then the connection picks up, and I reach the console. But if I do ctrl-alt-F7 I'm back without a signal. I believe I would get a signal if I could restart the display manager from the console.


live well,
  vagrant
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&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


[bilagan "signature.asc" borttagen av Johan Kragsterman/Capvert]


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&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
richard kweskin
2014-11-27 10:30:19 UTC
Permalink
On 2014-11-26 13:50, Johan Kragsterman wrote:
> Hi, Vagrant!
>
> Thanks for the input!
>
> More questions further down...
>
>
> -----Vagrant Cascadian <***@debian.org> skrev: -----
> Till: ltsp-***@lists.sourceforge.net
> Från: Vagrant Cascadian <***@debian.org>
> Datum: 2014-11-26 11:48
> Ärende: Re: [Ltsp-discuss] display manager in fat clients..
>
> On 2014-11-26, Johan Kragsterman wrote:
>> How is the display manager work in fat clients...?
>>
>> It seems there is no local display manager...?
>
> Both LTSP fat and thin clients use LDM, which does LTSP specific
> configuration, and sets up the sshfs homedir, user account, triggers
> ltspfs mounts, etc.
>
>
>> When I run sudo stop lightdm in terminal,
>
> Lightdm isn't typically used in LTSP5.
>
>
>> it only says unknown job...but I can of coarse stop it with
>> ctrl-alt-F1, but after that I can't start it again...
>
> Not sure what you mean by stopping it, it's run from an LTSP screen
> script, which should respawn if you kill LDM manually.
>
> LDM should be running on tty7 by default, reachable with ctrl-alt-f7.
>
>
>
>
> Yeah, that is fine, but I can't stop the LDM in a terminal. It just
> says "unknown job". I want to be able to stop and then restart it
> again. This is due to the situation that my screen is large, so I
> want
> to turn it off when I leave my work space. It has an HDMI interface,
> which I believe is the reason for that when I return, there is no
> connection anylonger. Perhaps the driver detaches or something...?
>
> Anyway, what I do then is to ctrl-alt-F1, and then the connection
> picks up, and I reach the console. But if I do ctrl-alt-F7 I'm back
> without a signal. I believe I would get a signal if I could restart
> the display manager from the console.

What about

service ldm stop
service ldm start

Richard

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&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 hel
Vagrant Cascadian
2014-11-27 10:44:14 UTC
Permalink
On 2014-11-27, richard kweskin wrote:
> On 2014-11-26 13:50, Johan Kragsterman wrote:
>> Anyway, what I do then is to ctrl-alt-F1, and then the connection
>> picks up, and I reach the console. But if I do ctrl-alt-F7 I'm back
>> without a signal. I believe I would get a signal if I could restart
>> the display manager from the console.
>
> What about
>
> service ldm stop
> service ldm start

LDM isn't started like conventional services, it's run from LTSP's
screen script infrstructure. So, there's no "proper" way to stop it, but
you could use "killall ldm" or "killall ldmgtkgreeter" or kill other
running processes... It should then get restarted
automatically...


live well,
vagrant
Johan Kragsterman
2014-11-27 13:50:35 UTC
Permalink
-----Vagrant Cascadian <***@debian.org> skrev: -----
Till: ltsp-***@lists.sourceforge.net
Från: Vagrant Cascadian <***@debian.org>
Datum: 2014-11-27 11:45
Ärende: Re: [Ltsp-discuss] Ang: Re: display manager in fat clients..

On 2014-11-27, richard kweskin wrote:
> On 2014-11-26 13:50, Johan Kragsterman wrote:
>>  Anyway, what I do then is to ctrl-alt-F1, and then the connection
>> picks up, and I reach the console. But if I do ctrl-alt-F7 I'm back
>> without a signal. I believe I would get a signal if I could restart
>> the display manager from the console.
>
> What about
>
>   service ldm stop
>   service ldm start

LDM isn't started like conventional services, it's run from LTSP's
screen script infrstructure. So, there's no "proper" way to stop it, but
you could use "killall ldm" or "killall ldmgtkgreeter" or kill other
running processes... It should then get restarted
automatically...




Yeah, that worked the way I need it to! Thanks, Vagrant!

Johan





live well,
  vagrant
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&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


[bilagan "signature.asc" borttagen av Johan Kragsterman/Capvert]


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&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
Johan Kragsterman
2014-11-27 10:43:57 UTC
Permalink
-----richard kweskin <***@hellug.gr> skrev: -----
Till: <ltsp-***@lists.sourceforge.net>
Från: richard kweskin <***@hellug.gr>
Datum: 2014-11-27 11:31
Ärende: Re: [Ltsp-discuss] Ang: Re: display manager in fat clients..

On 2014-11-26 13:50, Johan Kragsterman wrote:
> Hi, Vagrant!
>
> Thanks for the input!
>
> More questions further down...
>
>
> -----Vagrant Cascadian <***@debian.org> skrev: -----
> Till: ltsp-***@lists.sourceforge.net
> Från: Vagrant Cascadian <***@debian.org>
> Datum: 2014-11-26 11:48
> Ärende: Re: [Ltsp-discuss] display manager in fat clients..
>
> On 2014-11-26, Johan Kragsterman wrote:
>> How is the display manager work in fat clients...?
>>
>> It seems there is no local display manager...?
>
> Both LTSP fat and thin clients use LDM, which does LTSP specific
> configuration, and sets up the sshfs homedir, user account, triggers
> ltspfs mounts, etc.
>
>
>> When I run sudo stop lightdm in terminal,
>
> Lightdm isn't typically used in LTSP5.
>
>
>> it only says unknown job...but I can of coarse stop it with
>> ctrl-alt-F1, but after that I can't start it again...
>
> Not sure what you mean by stopping it, it's run from an LTSP screen
> script, which should respawn if you kill LDM manually.
>
> LDM should be running on tty7 by default, reachable with ctrl-alt-f7.
>
>
>
>
> Yeah, that is fine, but I can't stop the LDM in a terminal. It just
> says "unknown job". I want to be able to stop and then restart it
> again. This is due to the situation that my screen is large, so I
> want
> to turn it off when I leave my work space. It has an HDMI interface,
> which I believe is the reason for that when I return, there is no
> connection anylonger. Perhaps the driver detaches or something...?
>
>  Anyway, what I do then is to ctrl-alt-F1, and then the connection
> picks up, and I reach the console. But if I do ctrl-alt-F7 I'm back
> without a signal. I believe I would get a signal if I could restart
> the display manager from the console.

What about

  service ldm stop
  service ldm start



Same thing there, it doesn't recognize ldm as a job, and it doesn't recognize it as a service. Which means, as far as I can imagine, that it doesn't run on the fat client...? Must be running on the server, then...

Vagrant said it runs from an LTSP screen script, so I guess I should be able to run that script to get it going. Someone familiar with that script, like where it is and the name of it...?


Johan



Richard

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&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



------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&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
Vagrant Cascadian
2014-11-27 19:04:39 UTC
Permalink
On 2014-11-27, Johan Kragsterman wrote:
> Same thing there, it doesn't recognize ldm as a job, and it doesn't
> recognize it as a service. Which means, as far as I can imagine, that
> it doesn't run on the fat client...? Must be running on the server,
> then...

LDM definitely runs on the client, thin or fat, just not configured as a
"service" or "job".


> Vagrant said it runs from an LTSP screen script, so I guess I should
> be able to run that script to get it going. Someone familiar with
> that script, like where it is and the name of it...?

It's in the client's /usr/share/ltsp/screen.d/ldm, which is started by
/usr/share/ltsp/screen_session, which is started by either
/etc/init.d/ltsp-client-core or ltsp-client-core upstart job? Neither
have any stop or restart functionality... they start once and that's it.

There's not really a manual way to start it ... well, you could set
SCREEN_07=shell in lts.conf, and ". /usr/share/ltsp/screen.d/ldm" and
then once it finishes, should bring you back to the console on tty7,
where you can source it again. Pretty ugly workaround...

The menu screen script might be a slightly less ugly way to get that
behavior, as it uses a console dialog to select which session type to
run.

If you can figure out a commandline option that disables the screen
script, you could create a simple hook to run in
/usr/share/ltsp/screen-session.d/ or /usr/share/ldm/rc.d hooks to
execute your video reset on logout...

Good luck!

live well,
vagrant
Loading...