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


Channel log from 16 April 2019   (all times are UTC)

00:20GodFather has left IRC (GodFather!~rcc@50-203-42-106-static.hfc.comcastbusiness.net, Remote host closed the connection)
02:08josefig has left IRC (josefig!~josefig@unaffiliated/josefig)
02:09bluejaypop has joined IRC (bluejaypop!~josefig@unaffiliated/josefig)
04:43bcg has left IRC (bcg!~b@2001:2003:54f9:42f6::1, Quit: bcg)
04:44bcg has joined IRC (bcg!~b@2001:2003:54f9:42f6::1)
04:45adrianorg has joined IRC (adrianorg!~adrianorg@177.156.226.211)
04:47adrianor1 has left IRC (adrianor1!~adrianorg@186.213.156.190, Ping timeout: 246 seconds)
05:02vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
05:02vagrantc_ is now known as vagrantc
05:06
<alkisg>
(10:13:57 PM) ***vagrantc suspects in other distros /usr/libexec might be more appropriate than /usr/share ==> heya, isn't "/usr/share" for platform independent data that can in theory be shared by multiple installations, such us our shell scripts?
05:14ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
05:14
<alkisg>
(while I think lib is for compiled programs...)
05:29kjackal has joined IRC (kjackal!~quassel@2a02:587:3119:ef00:81b2:93d4:ff53:446b)
06:04os_a has joined IRC (os_a!~Thunderbi@195.112.116.22)
06:23kjackal has left IRC (kjackal!~quassel@2a02:587:3119:ef00:81b2:93d4:ff53:446b, Remote host closed the connection)
06:29fiesh has joined IRC (fiesh!~fiesh@hq.wsoptics.de)
07:02yanu_ has joined IRC (yanu_!~yanu@178-116-60-189.access.telenet.be)
07:02yanu_ has left IRC (yanu_!~yanu@178-116-60-189.access.telenet.be, Client Quit)
07:55
<vagrantc>
alkisg: i don't recall the details, but i've had some people from other distros insist that code doesn't belong in /usr/share ...
07:56
<alkisg>
vagrantc: np, it'll be flexible, but it does sound against what the fhs says
07:56
<vagrantc>
gotta head, though
07:56* vagrantc waves
07:56
<alkisg>
bb
07:56vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
08:04statler has joined IRC (statler!~Georg@gwrz3.lohn24.de)
08:06kjackal has joined IRC (kjackal!~quassel@2a02:587:3119:ef00:81b2:93d4:ff53:446b)
08:22os_a has left IRC (os_a!~Thunderbi@195.112.116.22, Quit: os_a)
08:47woernie has joined IRC (woernie!~werner@pD9E8BADB.dip0.t-ipconnect.de)
09:14wfw has joined IRC (wfw!~Thunderbi@WEGC203087.UNI-GRAZ.AT)
11:50enaut[m] has joined IRC (enaut[m]!enautmatri@gateway/shell/matrix.org/x-szkuztrahtefiprc)
11:50enaut[m] is now known as Guest74111
11:54Faith has joined IRC (Faith!~Paty_@unaffiliated/faith)
11:54wfw has left IRC (wfw!~Thunderbi@WEGC203087.UNI-GRAZ.AT, Quit: wfw)
12:35alexxtasi[m] has joined IRC (alexxtasi[m]!alexxtasim@gateway/shell/matrix.org/x-nxcpzjvkuopdrwmh)
13:16nikoh77 has joined IRC (nikoh77!~nikoh77@93-55-122-94.ip263.fastwebnet.it)
13:19
<nikoh77>
hi guys, with epoptes i can shutdown my fat clients, what is the command that ia can execute with cron for shutdown all clients?
13:22
I would like to set an automatic server restart every night...
13:25spaced0ut has joined IRC (spaced0ut!~spaced0ut@unaffiliated/spaced0ut)
13:35
<quinox>
<alkisg> RCFILE_SHUTDOWN="shutdown -h 14:00" ==> shuts down the clients even if they have logged in
13:35
that goes in the lts.conf
13:37
<nikoh77>
quinox: this command shutdown all active fat clients?
13:38
<quinox>
after they booted
13:38
the RCFILE_* puts your lines into /etc/rc.local
13:39
so what this does is on startup when /etc/rc.local is executed schedule a shutdown at a certain time
13:41
you can run 'shutdown -h 15:42' on a fat client as root to test it
13:41
after putting it in lts.conf and booting a client you should be able to see the command inside /etc/rc.local
13:44
<nikoh77>
quinox: in my lts.conf i see SHUTDOWN_TIME 2:00:00, this work?
13:45
<quinox>
that shuts them down when they are at LDM at that time
13:45
so stations that are not logged in at 02:00:00 gets shut down
13:46
if you are rebooting your server you want to shutdown all clients, not just the idle ones
13:46
<nikoh77>
ok, understood
13:46
thanks
13:48
quinox: so, to shutdown all clients (logged and not) i must two commands: shutdown_time and rcfile_shutdown...
13:48
right?
13:48
<quinox>
the RCFILE_SHUTDOWN is enough, it shuts down all clients
13:49
<nikoh77>
thhhanks
14:06Guest74111 has left IRC (Guest74111!enautmatri@gateway/shell/matrix.org/x-szkuztrahtefiprc, Remote host closed the connection)
14:06alexxtasi[m] has left IRC (alexxtasi[m]!alexxtasim@gateway/shell/matrix.org/x-nxcpzjvkuopdrwmh, Remote host closed the connection)
14:06
<nikoh77>
quinox: yesss it work fine
14:08
<quinox>
great
14:12nikoh77 has left IRC (nikoh77!~nikoh77@93-55-122-94.ip263.fastwebnet.it, )
14:33enaut[m] has joined IRC (enaut[m]!enautmatri@gateway/shell/matrix.org/x-drlwvyhshyvtubvo)
14:33enaut[m] is now known as Guest27706
14:58alexxtasi[m] has joined IRC (alexxtasi[m]!alexxtasim@gateway/shell/matrix.org/x-szxvgykrfdfnqtyu)
16:08nikoh77 has joined IRC (nikoh77!~nikoh77@host69-182-dynamic.1-87-r.retail.telecomitalia.it)
16:09
<nikoh77>
quinox, can i export extra folder per user? Like user a extra folder a and user b extra folder b?
16:10
<quinox>
besides the home folder?
16:11
<nikoh77>
no
16:11
yes
16:11
sorry, yes, in home root
16:11
<quinox>
there are some tricks
16:11
<nikoh77>
in /home, not in /home/usera
16:12
<quinox>
fe. you can run specific commands based on MAC address using lts.conf
16:12
<nikoh77>
now i use export extra folder but all can see these dirs...
16:13
yes, i know but is it possible for user not mac based?
16:13
<quinox>
bind-mounts inside /home/user might or might not work, depending on how the home folder is accessed on the client
16:14
there are no user-based extra commands / mounts that I know of
16:14
there is a lot I don't know about LTSP though :)
16:14
<nikoh77>
ok thanks
16:15
<quinox>
every user has ~/.xsession that you can use, but it's controllable by the user so it's not safe at all
16:15
you can use sudo commands limited to specific users, that might be safe
16:17
this might be overengineering things, but you can write a small /usr/local/dostuff script that users can sudo execute, which checks who the user is to determine what to do
16:18
then call that from inside /etc/X11/Xsession.d/ maybe?
16:18
Linux usually allows you to do pretty much whatever you want, as long as you put some effort into it :)
16:19
<nikoh77>
mmmm is too hard for me ;-)
16:19
i set right permission on folders...
16:23
<alkisg>
nikoh77: you can have symlinks from the user desktop to /home/shared/user
16:23
That way, each user can have his own shared dir
16:23
!extra
16:23
<ltsp>
Error: "extra" is not a valid command.
16:23
<alkisg>
!EXTRA
16:23
<ltsp>
Error: "EXTRA" is not a valid command.
16:24
<alkisg>
!lts.conf
16:24
<ltsp>
lts.conf: (#1) http://manpages.ubuntu.com/lts.conf, or (#2) lts.conf manpage is available in the ltsp-docs package
16:24
<alkisg>
LOCAL_APPS_EXTRAMOUNTS there
16:24
You share /home/shared with that, and you symlink to /home/shared/user
16:25
<nikoh77>
yes, this is my configuration but all user can see the folder in /home
16:26
<alkisg>
nikoh77: you can set up permissions so that they don't see it
16:26
Note that users can still ssh to the server and see whatever you have there if you don't set up permissions
16:26
So if you don't want them to see other folders, you need to set proper permissions anyway
16:27
<nikoh77>
now /home/shared is 770, so all users can see but not access
16:28
<alkisg>
And where's the problem with that, with ltsp?
16:28woernie has left IRC (woernie!~werner@pD9E8BADB.dip0.t-ipconnect.de, Remote host closed the connection)
16:36
<alkisg>
I think maybe you need to describe both the goal and the problem better... I'm not sure I understood it
16:37
<nikoh77>
alkisg, ok, before i try some tricks ;-)
16:37
thanks
16:38nikoh77 has left IRC (nikoh77!~nikoh77@host69-182-dynamic.1-87-r.retail.telecomitalia.it, Quit: Leaving)
16:42kjackal has left IRC (kjackal!~quassel@2a02:587:3119:ef00:81b2:93d4:ff53:446b, Ping timeout: 264 seconds)
16:43kjackal has joined IRC (kjackal!~quassel@2a02:587:3119:ef00:81b2:93d4:ff53:446b)
16:46statler has left IRC (statler!~Georg@gwrz3.lohn24.de, Remote host closed the connection)
17:02Faith_ has joined IRC (Faith_!~Paty_@2001:12d0:2080:200::231:49)
17:03Faith has left IRC (Faith!~Paty_@unaffiliated/faith, Ping timeout: 250 seconds)
17:10Faith_ is now known as Faith
17:10Faith has joined IRC (Faith!~Paty_@unaffiliated/faith)
17:35Faith has left IRC (Faith!~Paty_@unaffiliated/faith, Quit: Leaving)
18:31omfg has joined IRC (omfg!58ce3b25@gateway/web/freenode/ip.88.206.59.37)
18:47omfg has left IRC (omfg!58ce3b25@gateway/web/freenode/ip.88.206.59.37, Ping timeout: 256 seconds)
18:57vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
21:23kjackal has left IRC (kjackal!~quassel@2a02:587:3119:ef00:81b2:93d4:ff53:446b, Ping timeout: 258 seconds)
21:43ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Remote host closed the connection)
23:21vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)