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


Channel log from 15 November 2018   (all times are UTC)

00:50Natureshadow has left IRC (Natureshadow!45d1515d22@commu.teckids.org, Remote host closed the connection)
01:27vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
02:32lucascastro has left IRC (lucascastro!~lucascast@177-185-139-186.isotelco.net.br, Remote host closed the connection)
02:32lucascastro has joined IRC (lucascastro!~lucascast@177-185-139-186.isotelco.net.br)
04:56alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
04:58alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
06:01emk has left IRC (emk!~emk@unaffiliated/emk, Ping timeout: 260 seconds)
06:02emk has joined IRC (emk!~emk@unaffiliated/emk)
06:03kjackal has joined IRC (kjackal!~quassel@athedsl-173499.home.otenet.gr)
06:34kjackal has left IRC (kjackal!~quassel@athedsl-173499.home.otenet.gr, Read error: Connection reset by peer)
06:34kjackal_v2 has joined IRC (kjackal_v2!~quassel@2a02:587:311a:1f00:3d74:9e96:8f03:3e68)
07:32ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
07:47kjackal_v2 has left IRC (kjackal_v2!~quassel@2a02:587:311a:1f00:3d74:9e96:8f03:3e68, Ping timeout: 250 seconds)
08:04kjackal has joined IRC (kjackal!~quassel@2a02:587:3110:ca00:3d74:9e96:8f03:3e68)
08:33stilyan has joined IRC (stilyan!6dc781db@gateway/web/freenode/ip.109.199.129.219)
08:33
<stilyan>
hi guys
08:34
Ubuntu 18.04 doesn't have /etc/rc.local
08:34
i want script to be ran for users when they log in via ldm
08:34
can i create dir, put script inside and use lts.conf's RCFILE_01 ?
08:35
<Hyperbyte>
stilyan, lots of possibilities. Using RCFILE_01 is possible, but when that runs, the user isn't logged in yet.
08:35
If you want to run something after login, I'd suggest using /etc/xdg/autostart
08:36
<stilyan>
i want to execute pactl command to unmute the microphone , what would you suggest ?
08:37
<Hyperbyte>
I do the exact same thing (except I set volumes and input/output sinks right), using a script in /usr/bin/... name it something like "myorganisation-startup"
08:37
<stilyan>
can I put bash script in there ? /etc/xdg/autostart
08:37
<Hyperbyte>
And then create a .desktop file in /etc/xdg/autostart (look at the things already there and copy that) that points to /usr/bin/myorganisation-startup
08:38
<stilyan>
./usr/bin seems like weird place to put bash script into
08:38
<Hyperbyte>
Well you can place it wherever you like.
08:39
You could use /usr/local/bin/ of course.
08:40
Or anywhere else you like.
08:40
<stilyan>
nice, thanks you, nice person, i'll definately try it out
08:41
another thing you may know the answer of
08:42
a.. nvm :) not ltsp-related
08:43
<Hyperbyte>
:-)
08:43
Good luck
08:50
<stilyan>
./etc/xdg/autostart on client , not the host, right ?
08:51
<alkisg>
Without the . in front
08:51
Plain $CHROOT/etc/xdg/autostart
08:53
<Hyperbyte>
Actually if it's thin clients, it should be on the host, if it's fat clients it should be in the chroot.
08:54
It should be on the filesystem where the desktop runs.
08:58
<stilyan>
using the . because otherwise webchat interprets it as command to services :)
08:58
thin clients, so I'll put on chroot
08:58
* on host, pardon
08:59
<alkisg>
/you/can/write/paths/with/a/space/in/front :)
08:59
<stilyan>
nice, didn't know, thanks
09:00
and another one - trying to use custom theme , placed on host at /usr/local/share/ldm/themes/mytheme and set this path to LDM_THEME in lts.conf
09:00
but it's not being used
09:00
the side effect of this is that ldm stopped using the default ubuntu theme and whitches to ltsp theme
09:00
but not my custom theme
09:12
<alkisg>
stilyan: put the theme in the chroot, not on the host
09:16
<stilyan>
:/ was hoping i can go without rebuilding image for this
09:16
thanks
09:20
<alkisg>
stilyan: before login, the only server <=> client connection is the nbd image
09:21
After login, you also have sshfs /home and extramounts
09:21
Well, unless you use nfs, which may be available at any time then
09:27
<stilyan>
no, nbd
09:27
thanks
09:28
<alkisg>
You can use nfs in parallel with nbd, e.g. to share extra folders while testing, and/or /home
09:28
So you could e.g. provide / with nbd, and /usr/local with nfs
09:28
!nfs
09:28
<ltsp>
nfs: to enable NFS home directories for localapps and fat clients, install nfs-kernel-server on your server, nfs-common on your client (don't forget ltsp-update-image), and put this in lts.conf: FSTAB_1="server:/home /home nfs defaults,nolock 0 0"
09:29
<alkisg>
!nfs_home
09:29
<ltsp>
Error: "nfs_home" is not a valid command.
09:29
<alkisg>
!NFS
09:29
<ltsp>
NFS: to enable NFS home directories for localapps and fat clients, install nfs-kernel-server on your server, nfs-common on your client (don't forget ltsp-update-image), and put this in lts.conf: FSTAB_1="server:/home /home nfs defaults,nolock 0 0"
09:29
<alkisg>
!nf
09:29
<ltsp>
Error: "nf" is not a valid command.
09:29
<alkisg>
meh
09:29* alkisg was trying to get the bot to show an nfs mount example, but ok that FSTAB_1 above is one example
09:31
<stilyan>
thanks, it's just the theme
09:31
no further tests
09:31
but valuable info nontheless
09:39nehemiah has joined IRC (nehemiah!~nehemiah@hs-user-138.wia.cz)
12:00kjackal has left IRC (kjackal!~quassel@2a02:587:3110:ca00:3d74:9e96:8f03:3e68, Ping timeout: 264 seconds)
12:21kjackal has joined IRC (kjackal!~quassel@2a02:587:311a:1f00:3d74:9e96:8f03:3e68)
14:15
<stilyan>
think client behaves ok with one monitor
14:15
moving and browsing around seems fast enough
14:16
this is not the case for dual monitors
14:16
behavior there is laggish, like moving windows from one mon to other
14:16
any optimizations available for this setup ?
14:59
<alkisg>
stilyan: switch to ltsp fat clients?
14:59
!fat
14:59
<ltsp>
I do not know about 'fat', but I do know about these similar topics: 'fatclient-printers', 'epoptes-fat-clients', 'fat-internal-disks', 'fat-passwd', 'fat-sudo', 'fatclients'
15:00
<alkisg>
!fatclients
15:00
<ltsp>
fatclients: Nowadays LTSP supports thin and fat clients. They are both diskless and netbooted from the same LTSP chroot, but while thin clients run the session on the server and transfer the screen, fat clients run the session locally with their own CPU/RAM, thus performing amazingly better. See also !ltsp-pnp and https://help.ubuntu.com/community/UbuntuLTSP/FatClients
17:31vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
17:32Natureshadow has joined IRC (Natureshadow!45d1515d22@commu.teckids.org)
17:36kjackal has left IRC (kjackal!~quassel@2a02:587:311a:1f00:3d74:9e96:8f03:3e68, Ping timeout: 252 seconds)
19:37kjackal has joined IRC (kjackal!~quassel@2a02:587:311a:1f00:3d74:9e96:8f03:3e68)
20:53kjackal has left IRC (kjackal!~quassel@2a02:587:311a:1f00:3d74:9e96:8f03:3e68, Ping timeout: 252 seconds)
20:53kjackal has joined IRC (kjackal!~quassel@athedsl-173499.home.otenet.gr)
21:10GodFather_ has joined IRC (GodFather_!~rcc@d28-23-172-21.dim.wideopenwest.com)
22:25ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Remote host closed the connection)
22:28kjackal has left IRC (kjackal!~quassel@athedsl-173499.home.otenet.gr, Ping timeout: 268 seconds)
22:32mwalters has left IRC (mwalters!~ubox@c-73-152-61-86.hsd1.va.comcast.net, Ping timeout: 240 seconds)