LTSP 5 is in minimal maintenance mode
The new LTSP is hosted at https://ltsp.github.io

IRC chat logs for #ltsp on irc.freenode.net (webchat)


Channel log from 10 October 2019   (all times are UTC)

00:19GodFather has left IRC (GodFather!~rcc@d53-64-7-141.nap.wideopenwest.com, Ping timeout: 240 seconds)
03:38bwicksall has left IRC (bwicksall!~bwicksall@fw.pls-net.org, Ping timeout: 265 seconds)
03:40bwicksall has joined IRC (bwicksall!~bwicksall@fw.pls-net.org)
04:13adrianorg has left IRC (adrianorg!~adrianorg@187.58.140.156, Ping timeout: 250 seconds)
04:13adrianorg has joined IRC (adrianorg!~adrianorg@187.58.140.156)
04:36kjackal has joined IRC (kjackal!~quassel@2a02:587:3107:2e00:85ad:5bf3:1171:3ec9)
05:07vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
05:19vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
05:21os_a has joined IRC (os_a!~Thunderbi@195.112.116.22)
05:36kjackal has left IRC (kjackal!~quassel@2a02:587:3107:2e00:85ad:5bf3:1171:3ec9, Ping timeout: 276 seconds)
05:52ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
05:59pppingme has left IRC (pppingme!~pppingme@unaffiliated/pppingme, Ping timeout: 276 seconds)
06:08os_a has left IRC (os_a!~Thunderbi@195.112.116.22, Quit: os_a)
06:34woernie has joined IRC (woernie!~werner@p578bb7b6.dip0.t-ipconnect.de)
06:34kjackal has joined IRC (kjackal!~quassel@2a02:587:3107:2e00:85ad:5bf3:1171:3ec9)
07:03os_a has joined IRC (os_a!~Thunderbi@195.112.116.22)
08:10kjackal_v2 has joined IRC (kjackal_v2!~quassel@athedsl-4546118.home.otenet.gr)
08:11kjackal has left IRC (kjackal!~quassel@2a02:587:3107:2e00:85ad:5bf3:1171:3ec9, Ping timeout: 276 seconds)
08:25statler_ has joined IRC (statler_!~Georg@gwrz.lohn24.de)
08:38DavidTN has joined IRC (DavidTN!4f3d834a@host74-131-static.61-79-b.business.telecomitalia.it)
09:01Nexion has joined IRC (Nexion!5a52f039@90.82.240.57)
09:07Nexion22 has joined IRC (Nexion22!5a52f039@90.82.240.57)
09:08
<Nexion22>
Hello
09:08
I have a question about ltsp.conf configuration. Someone can help me ?
09:08
<alkisg>
Nexion22, sure, ask
09:09
<Nexion22>
Thank you
09:09Nexion has left IRC (Nexion!5a52f039@90.82.240.57, Ping timeout: 260 seconds)
09:10
<Nexion22>
I need to add 2 line in lightdm.conf but I don't know how to put them in ltsp.conf I tried with "\n" but didn't work
09:10
<alkisg>
LIGHTDM_CONF="line1
09:10
line2"
09:10DavidTN has left IRC (DavidTN!4f3d834a@host74-131-static.61-79-b.business.telecomitalia.it, Remote host closed the connection)
09:11
<alkisg>
I.e. just press enter there
09:11
<Nexion22>
LIGHTDM_CONF='greeter-hide-users=true\nsession-setup-script=/bin/my_little_script.sh" << tried but not work
09:11
Ok I try
09:11
<alkisg>
Don't forget `ltsp initrd` after updating ltsp.conf
09:11
<Nexion22>
yes
09:14
Greaaat :) It works !
09:14
<alkisg>
Nice :)
09:15
<Nexion22>
This new LTSP version is really really good !
09:15
<alkisg>
Glad to hear that!
09:15
You can also use a file if you want, LIGHTDM_CONF=/etc/ltsp/my-lightdm-additional-content.conf, but it's not worth it for just 2 lines
09:16
<Nexion22>
So much easier to configure with this version
09:16
Ok good to know
09:21
For now all my configuration is OK but I use my old chroot LTSP 5 to update my image. I will try to put everything in a virtualbox VM but is there a simpler solution? Copy my chroot?
09:22
I don't understand how to do without ltsp-update-image
09:22
<alkisg>
Sure; you can either use the server / (ltsp image /), or copy the chroot into a vm disk, or continue using the chroot
09:22
chrootless is: ltsp image /
09:22
chroot is: ltsp image /path/to/chroot
09:22
vm is: ltsp image /path/to/vm
09:23
<Nexion22>
so I can put all my previous files in /opt/ltsp/.... and launch ltsp image /opt/ltsp/ ?
09:24
<alkisg>
Yes; or just move them to /srv/ltsp
09:24
So that you don't even need the path
09:25
<Nexion22>
Ok I try :)
09:30DavidTN has joined IRC (DavidTN!4f3d834a@host74-131-static.61-79-b.business.telecomitalia.it)
09:51Nexion22 has left IRC (Nexion22!5a52f039@90.82.240.57, Ping timeout: 260 seconds)
10:03dgroos has joined IRC (dgroos!~dagro001@63.225.132.145)
10:04
<dgroos>
Good Afternoon @alkisg
10:04
<alkisg>
Hi dgroos, I already PM'ed you :)
10:18bcg has joined IRC (bcg!~b@84-230-11-188.elisa-mobile.fi)
10:52DavidTN has left IRC (DavidTN!4f3d834a@host74-131-static.61-79-b.business.telecomitalia.it)
11:03dgroos has left IRC (dgroos!~dagro001@63.225.132.145)
11:07woernie has left IRC (woernie!~werner@p578bb7b6.dip0.t-ipconnect.de, Remote host closed the connection)
11:18GodFather has joined IRC (GodFather!~rcc@96-92-43-9-static.hfc.comcastbusiness.net)
11:47Faith has joined IRC (Faith!~Paty_@unaffiliated/faith)
12:08section1 has joined IRC (section1!~section1@178.33.109.106)
12:21GekkePrutser has joined IRC (GekkePrutser!~gp@unaffiliated/gekkeprutser)
12:22
<GekkePrutser>
Nice to see that this is being picked up!! Thanks alkisg :D
12:22
Does the new one support OpenPGP smartcard authentication for SSH?
12:22
I'll try it anyway :)
12:22Nexion22 has joined IRC (Nexion22!5a52f039@90.82.240.57)
12:26
<Nexion22>
Hi again
12:26
I tested the migration of my chroot and it works! Thank you
12:27
I'm finishing my migration to the new LTSP version and I'm having a final problem
12:30
I hope that someone could help me. I use fat client image and I configured cups settings in the image and in the previous version of LTSP my printers were well installed in cups. Today when I go to the cups interface there is no more printer.
12:32
any idea ?
12:47
<mwalters>
Nexion22: are these networked printers? I believe by default client cups is set to connect to the server's cups for printers
12:51
<Nexion22>
yes there are. I used the same fat_client.img as before
12:51
there are something new related ?
13:11
<mwalters>
not sure... I think the "right" way is to set the printers up on the server.
13:12
<Nexion22>
whitch server ? LTSP ?
13:16
<mwalters>
in cups on the LTSP server
13:16
the clients will connect to it remotely
13:23
<Nexion22>
even with a fat client configuration ?
13:24
<mwalters>
That's how it worked w/ LTSP5, I'm assuming the same for ltsp19
13:24
(yes)
13:25
<Nexion22>
for me it worked with an install inside the image
13:26
<mwalters>
in any case, if you configure the printers on the cups server on the ltsp server, you won't need to rebuild the image to change printer settings
13:26
You'll also get the added benefit of only having a single print queue for each printer
13:27
<Nexion22>
yes but I have several LTSP server and one script to change printer IP on login :)
13:27
<mwalters>
I suspect (but don't know for certain) that when the client starts, its local cups is being pointed at the server's cups
13:28
which is why you're not seeing the printers configured in the local cups server
13:28
I also have multiple LTSP servers, and still use the central cups server
13:28
(at each location)
13:29
if you're using mate/gnome on the clients, start one up and check the printers dialog to see what cups server its connected to
13:30
(or whatever gui is used for your DE)
13:30
<Nexion22>
it's lxde installed from scratch. No gui for settings printer
13:30
only cups web interface
13:33* alkisg waves
13:33
<Nexion22>
I will try to install it dynamically at startup
13:33
<alkisg>
GekkePrutser: no idea what that is; give it a test, and if it doesn't, mention the details
13:33
<GekkePrutser>
Thanks! :D
13:33
Will do
13:34
<alkisg>
Nexion22: ltsp5 used to point cups to the server; ltsp19 doesn't do anything yet
13:34
So normally, cups shows local lan printers anyway
13:35
<Nexion22>
I can add printer after fat_client start
13:35
<alkisg>
Is the printer shared from the server?
13:36
<Nexion22>
but with all config file previously generated in /etc/cups/ nothing work
13:36
<alkisg>
Where is the printer?
13:37
<Nexion22>
on lan but not installed in LTSP cups server
13:37
same as before
13:37
<alkisg>
In ltsp5, if a printer was on lan and not installed in ltsp server, it wouldn't show up on the clients
13:37
So this doesn't sound right
13:38
<Nexion22>
weird because it worked
13:38
<alkisg>
Did you have anything in lts.conf about printing?
13:38
Or did you do anything manually with /etc/cups?
13:39
<Nexion22>
I installed in the image in the same way as if it was not an LTSP machine
13:39
nothing in lts.conf and yes I placed all file manually in /etc/cups
13:40
<alkisg>
The printer requires special drivers etc? It's not autodetected?
13:40
<Nexion22>
not autodetected and yes ppd placed in /etc/cups/ppd/
13:40
<alkisg>
Did you have CUPS_SERVER=localhost in ltsp5?
13:41
Or, were you using an *old* version of ltsp5, maybe like 5+ years old one?
13:41
<Nexion22>
~/.cups/client.conf with localhost address
13:41
<alkisg>
What, per user, not per system?
13:42
<Nexion22>
may be but /home/ are copied for all my user
13:42
it was a solution but may be not the best :)
13:43
<alkisg>
OK so if I understand this correctly, both in ltsp5 and in ltsp19 you were completely bypassing ltsp and you were configuring printing yourself
13:43
Which should work in both cases
13:43
Now, the ltsp way to do it is:
13:43
You only install the network printer to your server
13:43
This is not ideal because traffic goes through your server, but it's easier,
13:43
and, you point cups to the server, not to localhost
13:44
For this to work, printer sharing should be enabled on the server
13:44
`cupsctl | grep share` should show 1
13:45
<Nexion22>
is there a variable to point to the server ? or is it automaticaly ?
13:45
<alkisg>
In ltsp5 it was automatic,
13:45
while ltsp19 that defaults to cups=localhost, should again add shared lan printers automatically,
13:46
now, to tell ltsp19 to use cups=server, you'd need one POST_INIT_xx='sed /etc/cups/...' command
13:46
<Nexion22>
Ok where is this setting ?
13:47
<alkisg>
What's the output of `cupsctl | grep share` on the server?
13:47
<Nexion22>
for now no cups server installed
13:47
<alkisg>
Do you have epoptes installed?
13:47
<Nexion22>
No
13:48
minimal install from debian netinstall
13:48
<alkisg>
But cups is installed in the chroot?
13:48
<Nexion22>
yes
13:48
<alkisg>
How much ram on the clients, e.g. 2gb?
13:48
<Nexion22>
mmm yes
13:48
<alkisg>
OK, the quickest way to try would be:
13:49
1) move away ~/.cups/client.conf on user01 and user02
13:49
2) boot pc01, add the printer locally so that it works; and also run cupsctl _share_printers=1
13:50
2) boot pc02, and try to see if it automatically sees the shared network printer from pc01, without installing the printer
13:50
*that was 3
13:50
So if this test works, then you only need to install cups on the server and install the printer and enable printer sharing
13:51
If it doesn't, then you need to point CUPS=server for the clients, like ltsp5 did
13:51
<Nexion22>
Okey
13:51
<alkisg>
The test works for normal, autodetected printers; I'm not sure if it works for those that require a driver, that's why I'm asking
13:51
Btw, I left the whole printing deal for later, as "driverless printing" is now a thing
13:51
And I'm waiting to see what's the new cool way to do it
13:52
<Nexion22>
and there is a way to block specific printer for specific user ?
13:52
<alkisg>
Eh, just set ~/.cups/client.conf to wherever for this user
13:53os_a has left IRC (os_a!~Thunderbi@195.112.116.22, Remote host closed the connection)
13:53
<Nexion22>
oh there is an option to do that
13:54
<alkisg>
https://wiki.debian.org/DriverlessPrinting
13:54
I.e. I hope that the server would do the heavy lifting, so that the clients would be able to do driverless printing without us having to install drivers in the chroots etc
13:56
<Nexion22>
a lot of things to test. I'm trying
13:57
thanks for help :)
13:57ltsptest has joined IRC (ltsptest!97f120ba@151.241.32.186)
13:57
<alkisg>
Np. I think to set cups=server, you don't need set, but echo something > /etc/cups/client.conf
13:58
The same thing that you have in ~/.cups/client.conf
13:58
Can't check atm
13:59
<Nexion22>
I have nothing to restrict printer in client.conf
14:00
by looking quickly I did not see anything on debian wiki
14:08
<alkisg>
I meant that you could set printer server=not existing cups server
14:10
<Nexion22>
in fact I would like to install all printers on the server and allow to users only those who are on their geographical location
14:15ltsptest has left IRC (ltsptest!97f120ba@151.241.32.186, Remote host closed the connection)
14:19
<alkisg>
"location" sounds like "per ltsp client", not like "per ltsp user"
14:20
I.e. just don't set cups=server in /etc/cups/client.conf
14:20
(that goes in ltsp.conf, under client mac addresss)
14:23
<Nexion22>
if I don't set cups=server then I will not have any printers ?
14:24
sorry i'm not friend with cups :D
14:29shored has left IRC (shored!~shored@87-92-122-167.bb.dnainternet.fi, Read error: Connection reset by peer)
14:29shored has joined IRC (shored!~shored@87-92-122-167.bb.dnainternet.fi)
14:33pppingme has joined IRC (pppingme!~pppingme@unaffiliated/pppingme)
14:50
<Nexion22>
Finished workday. Bye everyone
14:51Nexion22 has left IRC (Nexion22!5a52f039@90.82.240.57, Remote host closed the connection)
14:57GodFather has left IRC (GodFather!~rcc@96-92-43-9-static.hfc.comcastbusiness.net, Ping timeout: 240 seconds)
15:30shored has left IRC (shored!~shored@87-92-122-167.bb.dnainternet.fi, Read error: Connection reset by peer)
15:30shored has joined IRC (shored!~shored@87-92-122-167.bb.dnainternet.fi)
16:29statler_ has left IRC (statler_!~Georg@gwrz.lohn24.de, Remote host closed the connection)
16:33vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
17:30woernie has joined IRC (woernie!~werner@p5B296156.dip0.t-ipconnect.de)
17:59R4F4EL has joined IRC (R4F4EL!b1149819@177.20.152.25)
19:08kjackal_v2 has left IRC (kjackal_v2!~quassel@athedsl-4546118.home.otenet.gr, Ping timeout: 245 seconds)
19:10kjackal has joined IRC (kjackal!~quassel@2a02:587:3107:2e00:85ad:5bf3:1171:3ec9)
19:34bcg has left IRC (bcg!~b@84-230-11-188.elisa-mobile.fi, Ping timeout: 240 seconds)
19:37bcg has joined IRC (bcg!~b@82-128-240-77.bb.dnainternet.fi)
19:41bcg has left IRC (bcg!~b@82-128-240-77.bb.dnainternet.fi, Client Quit)
19:44bcg has joined IRC (bcg!~b@82-128-240-77.bb.dnainternet.fi)
19:57woernie has left IRC (woernie!~werner@p5B296156.dip0.t-ipconnect.de, Remote host closed the connection)
19:58section1 has left IRC (section1!~section1@178.33.109.106, Quit: Leaving)
20:08bcg has left IRC (bcg!~b@82-128-240-77.bb.dnainternet.fi, Quit: bcg)
20:12bcg has joined IRC (bcg!~b@82-128-240-77.bb.dnainternet.fi)
20:33Faith has left IRC (Faith!~Paty_@unaffiliated/faith, Quit: Leaving)
20:35kjackal has left IRC (kjackal!~quassel@2a02:587:3107:2e00:85ad:5bf3:1171:3ec9, Ping timeout: 246 seconds)
21:10R4F4EL has left IRC (R4F4EL!b1149819@177.20.152.25, Remote host closed the connection)
21:16R4F4EL has joined IRC (R4F4EL!b1149819@177.20.152.25)
21:38ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
21:49R4F4EL has left IRC (R4F4EL!b1149819@177.20.152.25)
22:07Durok has joined IRC (Durok!5bf8f629@dyndsl-091-248-246-041.ewe-ip-backbone.de)
23:06statler has left IRC (statler!~Georg@p54897245.dip0.t-ipconnect.de, Ping timeout: 240 seconds)
23:16statler has joined IRC (statler!~Georg@p5B30EE2F.dip0.t-ipconnect.de)
23:42vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)