Bug#895020: Pre-configure desktop-autoloader appropriately for Debian Edu LTSP fat client

2018-05-24 Thread Wolfgang Schweer
On Thu, May 24, 2018 at 09:40:12AM +, Mike Gabriel wrote:
> @Wolfgang: did you get a chance to test desktop-autoloader with GNOME and
> KDE?

Both DEs tested now in a virtual world, both working ok; esp. speeds up 
KDE (otherwise uncredibly slow compared to Xfce). I figure 
desktop-autoloader to work with other DEs (like LXQt, Cinnamon) as well.

On my TODO list:
(1) disable desktop-autoloader cron job for thin clients (easy).
(2) document how to enable and actually use autoloading (some work). 

Wolfgang


signature.asc
Description: PGP signature


Bug#895020: Pre-configure desktop-autoloader appropriately for Debian Edu LTSP fat client

2018-05-24 Thread Mike Gabriel

Hi Holger, hi Wolfgang,
(re-adding the bug to Cc:)

On  Mi 23 Mai 2018 11:51:18 CEST, Holger Levsen wrote:


Hi Mike,

On Thu, May 17, 2018 at 10:46:26AM +, Mike Gabriel wrote:
> > it should only get into action on machines with 2GB+. Good  
point. Noted for

> > the upstream part.
Fixed in 0.0.4-1.


\o/

> > > - is there any randomisation or will all classroom computers  
torture the

> > >   server and network at the same time?
> > The randomisation currently is only in the WoL part of Debian  
Edu. Right.

> > Noted for upstream, too.
Fixed in 0.0.4-1.


\o/

thanks for those fixes!


> yes, please test at least KDE and Gnome as well. (third bug, untested on
> KDE+Gnome.)
Still pending. Tests follow over the weekend.


how did those tests go?


I didn't get to testing. In fact, I only got to talking with people  
over the miniDebConf weekend mainly.


However, Wolfgang did integration work.

@Wolfgang: did you get a chance to test desktop-autoloader with GNOME  
and KDE? With XFCE it works. The best test is to enable the X11VNC  
debugging code and observe the session with a vncviewer.


Greets,
Mike
--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de



pgpIUFeFKT7kP.pgp
Description: Digitale PGP-Signatur


Bug#895020: Pre-configure desktop-autoloader appropriately for Debian Edu LTSP fat client

2018-05-17 Thread Mike Gabriel

Hi Holger,

On  Fr 06 Apr 2018 15:33:23 CEST, Holger Levsen wrote:


Mike,

still I would really really prefer not to get cc:ed when mailing
debian-edu bugs. Maybe one day...

On Fri, Apr 06, 2018 at 12:01:51PM +, Mike Gabriel wrote:

> - how much RAM does the feature need to be useful?
it should only get into action on machines with 2GB+. Good point. Noted for
the upstream part.


eeks, so this is also an important bug, maybe even serious, but i'm too
lazy to also file this one as...


Fixed in 0.0.4-1.


> - is there any randomisation or will all classroom computers torture the
>   server and network at the same time?
The randomisation currently is only in the WoL part of Debian Edu. Right.
Noted for upstream, too.


this should also be filed as a bug and fixed before enabling by default.


Fixed in 0.0.4-1.


> - has this been tested with other desktops than MATE?
Yes. XFCE. We can do more tests, of course. The more consumptive the desktop
env the more worth a test case. Noted.


yes, please test at least KDE and Gnome as well. (third bug, untested on
KDE+Gnome.)


Still pending. Tests follow over the weekend.


> As it only gets active before 7:30 AM I assume its safe to turn on the
> computer at other times? And it's "after midnight but before 7:30 AM
> localtime" I assume?
We assume, that noone is around at schools betweek 0:00h 7:30h, indeed.


Debian Edu is also targeting universities...


And they appear even later on campus, at least here in Kiel.


And
it is, of course, localtime. And: cron.d files are editable.


everything is editable. We *need* sensible default. (This seems to be
one.)


We have sensible defaults now, I think.


> > This mainly means:
> >   - only execute on LTSP fat clients
> ack
> >   - add some .desktop file symlinks to /etc/desktop-autoloader/autostart
> why?
To pre-load heavy-load-regular-used applications (e.g. firefox, libreoffice)


so without those .desktop files it would still to part of its job?


It would load the desktop env that x-session-manager points at.


> Also: how to disable this feature? This *must* be described in the
> manuel.
Good point. There will be a patch upstream for that, too.


no, this is not what I ment: it must be described in our Debian Edu manual (
and upstream as well, I agree.)


The desktop-autoloader now come in disabled state by default. It needs  
to be enabled in /etc/defaults/desktop-autoloader.



Thanks for thinking about this,


well, you are welcome, but I also expect more thoughts before suggesting
enabling some new feature by default...


:-)

Mike

--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de



pgpbjlr6B0ifc.pgp
Description: Digitale PGP-Signatur


Bug#895020: Pre-configure desktop-autoloader appropriately for Debian Edu LTSP fat client

2018-04-06 Thread Holger Levsen
Mike,

still I would really really prefer not to get cc:ed when mailing
debian-edu bugs. Maybe one day...

On Fri, Apr 06, 2018 at 12:01:51PM +, Mike Gabriel wrote:
> > - how much RAM does the feature need to be useful?
> it should only get into action on machines with 2GB+. Good point. Noted for
> the upstream part.

eeks, so this is also an important bug, maybe even serious, but i'm too
lazy to also file this one as...

> > - is there any randomisation or will all classroom computers torture the
> >   server and network at the same time?
> The randomisation currently is only in the WoL part of Debian Edu. Right.
> Noted for upstream, too.

this should also be filed as a bug and fixed before enabling by default.

> > - has this been tested with other desktops than MATE?
> Yes. XFCE. We can do more tests, of course. The more consumptive the desktop
> env the more worth a test case. Noted.

yes, please test at least KDE and Gnome as well. (third bug, untested on
KDE+Gnome.)

> > As it only gets active before 7:30 AM I assume its safe to turn on the
> > computer at other times? And it's "after midnight but before 7:30 AM
> > localtime" I assume?
> We assume, that noone is around at schools betweek 0:00h 7:30h, indeed. 

Debian Edu is also targeting universities...

> And
> it is, of course, localtime. And: cron.d files are editable.

everything is editable. We *need* sensible default. (This seems to be
one.)

> > > This mainly means:
> > >   - only execute on LTSP fat clients
> > ack
> > >   - add some .desktop file symlinks to /etc/desktop-autoloader/autostart
> > why?
> To pre-load heavy-load-regular-used applications (e.g. firefox, libreoffice)

so without those .desktop files it would still to part of its job?

> > Also: how to disable this feature? This *must* be described in the
> > manuel.
> Good point. There will be a patch upstream for that, too.

no, this is not what I ment: it must be described in our Debian Edu manual (
and upstream as well, I agree.)

> Thanks for thinking about this,

well, you are welcome, but I also expect more thoughts before suggesting
enabling some new feature by default...


-- 
cheers,
Holger


signature.asc
Description: PGP signature


Bug#895020: Pre-configure desktop-autoloader appropriately for Debian Edu LTSP fat client

2018-04-06 Thread Mike Gabriel

Hi Holger,

On  Fr 06 Apr 2018 13:44:46 CEST, Holger Levsen wrote:


Hi Mike,

On Fri, Apr 06, 2018 at 10:26:14AM +, Mike Gabriel wrote:

Once, the desktop-autoloader tool has been added to the
education-thin-client meta package, it should be configured appropriately
via debian-edu-config.


I wondered the same when I read the desktop-autoloader package
description but I also wondered whether it's safe and useful in all
cases:


ok...


- how much RAM does the feature need to be useful?


it should only get into action on machines with 2GB+. Good point.  
Noted for the upstream part.



- is there any randomisation or will all classroom computers torture the
  server and network at the same time?


The randomisation currently is only in the WoL part of Debian Edu.  
Right. Noted for upstream, too.



- has this been tested with other desktops than MATE?


Yes. XFCE. We can do more tests, of course. The more consumptive the  
desktop env the more worth a test case. Noted.



As it only gets active before 7:30 AM I assume its safe to turn on the
computer at other times? And it's "after midnight but before 7:30 AM
localtime" I assume?


We assume, that noone is around at schools betweek 0:00h 7:30h,  
indeed. And it is, of course, localtime. And: cron.d files are editable.



This mainly means:
  - only execute on LTSP fat clients


ack


  - add some .desktop file symlinks to /etc/desktop-autoloader/autostart


why?


To pre-load heavy-load-regular-used applications (e.g. firefox, libreoffice)


Also: how to disable this feature? This *must* be described in the
manuel.


Good point. There will be a patch upstream for that, too.

Thanks for thinking about this,
Mike

(I will be on VAC the coming week, so don't expect any more work on  
this before in 10 days...)



--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de



pgpCKDf92pjdC.pgp
Description: Digitale PGP-Signatur


Bug#895020: Pre-configure desktop-autoloader appropriately for Debian Edu LTSP fat client

2018-04-06 Thread Holger Levsen
Hi Mike,

On Fri, Apr 06, 2018 at 10:26:14AM +, Mike Gabriel wrote:
> Once, the desktop-autoloader tool has been added to the
> education-thin-client meta package, it should be configured appropriately
> via debian-edu-config.

I wondered the same when I read the desktop-autoloader package
description but I also wondered whether it's safe and useful in all
cases:

- how much RAM does the feature need to be useful?
- is there any randomisation or will all classroom computers torture the
  server and network at the same time?
- has this been tested with other desktops than MATE?

As it only gets active before 7:30 AM I assume its safe to turn on the
computer at other times? And it's "after midnight but before 7:30 AM
localtime" I assume?

> This mainly means:
>   - only execute on LTSP fat clients

ack

>   - add some .desktop file symlinks to /etc/desktop-autoloader/autostart
 
why?

Also: how to disable this feature? This *must* be described in the
manuel.


-- 
cheers,
Holger


signature.asc
Description: PGP signature


Bug#895020: Pre-configure desktop-autoloader appropriately for Debian Edu LTSP fat client

2018-04-06 Thread Mike Gabriel

Package: debian-edu-config
Severity: wishlist

Once, the desktop-autoloader tool has been added to the  
education-thin-client meta package, it should be configured  
appropriately via debian-edu-config.


This mainly means:

  - only execute on LTSP fat clients
  - add some .desktop file symlinks to /etc/desktop-autoloader/autostart

Greets,
Mike
--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
mobile: +49 (1520) 1976 148
landline: +49 (4354) 8390 139

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de



pgpF2m_Xxiir2.pgp
Description: Digitale PGP-Signatur