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


Channel log from 20 January 2021   (all times are UTC)

03:34Aison has left IRC (Aison!~Asion0@2a02:168:200f:110:69c6:120a:877c:5a19, Ping timeout: 272 seconds)
06:15GodFather has left IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net, Ping timeout: 264 seconds)
06:19GodFather has joined IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net)
07:02RaphGro has joined IRC (RaphGro!~raphgro@fedora/raphgro)
07:30ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
07:31woernie has left IRC (woernie!~werner@pd9e8bc11.dip0.t-ipconnect.de, Ping timeout: 264 seconds)
07:57Aison has joined IRC (Aison!~Asion0@2a02:168:200f:110:69c6:120a:877c:5a19)
08:09woernie has joined IRC (woernie!~werner@dslb-188-108-134-111.188.108.pools.vodafone-ip.de)
08:13woernie has left IRC (woernie!~werner@dslb-188-108-134-111.188.108.pools.vodafone-ip.de, Ping timeout: 256 seconds)
08:22alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Ping timeout: 256 seconds)
08:26alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
08:32Aison has left IRC (Aison!~Asion0@2a02:168:200f:110:69c6:120a:877c:5a19, Ping timeout: 244 seconds)
08:32Aison has joined IRC (Aison!~Asion0@ipr01.alvhaus.ch)
08:41mgariepy has left IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy, Ping timeout: 256 seconds)
08:41mgariepy has joined IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy)
08:50
<Hyperbyte>
Hey alkisg :-) I tried your pgrep sftp-server trick to find logged in clients, but later realized that of course this does not work with /home mounted over nfs. :-)
08:50
Any other tricks?
08:51
<alkisg>
Hyperbyte: use nfs4 for /home mounting, and grep for port 2049
08:52
!ss
08:52
<ltspbot>
Error: "ss" is not a valid command.
08:52
<alkisg>
!netstat
08:52
<ltspbot>
I do not know about 'netstat', but I do know about these similar topics: 'netplan'
08:52
<alkisg>
!client-list
08:52
<ltspbot>
client-list: to get a list of all nbd-clients (which sometimes is the same as ltsp clients), run: ss -n | sed -n 's/.*:10809 *\([0-9.]*\):.*/\1/p' | sort -Vu
08:52
<alkisg>
Something like this ^ but for the NFS port instead of NBD
08:58
<Hyperbyte>
That gets me a list of IP addresses :-)
08:58
I think I'm going to create some startup script that just writes a tmpfile in a users home dir with client IP address
09:05
<alkisg>
Sure, you can create e.g. /usr/local/bin/mate-session, that creates that file and removes it upon exit
09:05
touch the file; /usre/bin/mate-session "$@"; rm the file
09:08
<Hyperbyte>
I already have a custom startup script for clients... I'll just do hostname -I > ~/.cache/ltsp-ipaddress
11:51
Is there anything known about Chromium not working with LTSP on Ubuntu 20.04? It complains about not being able to access the home directory; I read somewhere that that might be because Chromium is now a snap that it looks in /etc/passwd for a users' homedir instead of using $HOME
12:02championofcyrodi has joined IRC (championofcyrodi!~ottch@c-71-62-20-140.hsd1.va.comcast.net)
12:34
<alkisg>
Hyperbyte: when I tested it it worked; I don't remember if I was using NFS or SSHFS, I think I tested with both; in any case, you could use our PPA for chromium-browser in .deb, or you could switch to google-chrome
12:34
https://launchpad.net/~ts.sch.gr/+archive/ubuntu/chromium-browser
13:45lucascastro has left IRC (lucascastro!~lucascast@177-185-139-41.dynamic.isotelco.net.br, Ping timeout: 246 seconds)
14:04lucascastro has joined IRC (lucascastro!~lucascast@177-185-131-162.corp.isotelco.net.br)
14:34lucascastro has left IRC (lucascastro!~lucascast@177-185-131-162.corp.isotelco.net.br, Ping timeout: 264 seconds)
14:37
<Hyperbyte>
alkisg, actually it's some bug or issue with Ubuntu snap. It uses /etc/passwd entries instead of environment variable $HOME for determining home. I found some articles on it.
14:37
If you install Chromium via .deb it'll work fine, if you install the snap (which is recommended in 20.04) it doesn't work. FYI. :-)
14:41
<ogra>
is your home mounted in a non standard path ?
14:41
snaps definitely default to using $HOME, but apparmor only allows standard paths like /home/$USER ... something like /home/myusers/$USER needs special configuration in the apparmor setup
14:44
https://help.ubuntu.com/community/AppArmor#How_do_I_make_AppArmor_work_with_a_non-standard_HOME_directory.3F
14:45
<Hyperbyte>
Nope. Using standard /home, mounted over NFS
14:45
<ogra>
hmm, that should actuaally work fine
14:45
especially nfs
14:46
https://forum.snapcraft.io/t/snaps-and-nfs-home/438/33
14:47
<Hyperbyte>
https://utcc.utoronto.ca/~cks/space/blog/linux/Ubuntu2004SnapsHomeIssue?showcomments
14:47
<ogra>
https://github.com/snapcore/snapd/pull/3958 is the accompanying fix
14:47
<Hyperbyte>
That's the article that got me sarted.
14:47
*started
14:48
Hmm, maybe it's not because of what that blogs says then
14:48
But installing Chromium via .deb instead of snap did resolve the issue.
14:48
<ogra>
sure
14:48
installing windows also fixes all my issues with binaries under wine on linux 😛
14:51
<Hyperbyte>
I don't get that, sorry. But I know very little about what 'snap' actually is.
14:51
<ogra>
just a package format
15:31woernie has joined IRC (woernie!~werner@pd9e8bc11.dip0.t-ipconnect.de)
15:32alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Ping timeout: 240 seconds)
15:34alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
15:39
<championofcyrodi>
hi guys... long time i've been off the radar. not planning to use LTSP anytime soon, but just wanted to let you know Im still around for questions and support regarding DevSecOps, CI/CD, kubernetes, etc. As that is my main gig these days
15:41alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Ping timeout: 240 seconds)
15:42alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
16:15vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
16:45alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Ping timeout: 256 seconds)
16:49lucascastro has joined IRC (lucascastro!~lucascast@177-185-139-41.dynamic.isotelco.net.br)
16:49alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
20:32RaphGro has left IRC (RaphGro!~raphgro@fedora/raphgro, Quit: Please remember your own message. It'll be read as soon as possible.)
20:42mgariepy has left IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy, Ping timeout: 256 seconds)
20:43mgariepy has joined IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy)
21:01GodFather has left IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net, Ping timeout: 256 seconds)
21:55championofcyrodi has left IRC (championofcyrodi!~ottch@c-71-62-20-140.hsd1.va.comcast.net, Read error: Connection reset by peer)
22:37ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
22:46jgee has left IRC (jgee!~jgee@190.159.118.121, Quit: The Lounge - https://thelounge.chat)
22:48jgee has joined IRC (jgee!~jgee@190.159.118.121)
23:13GodFather has joined IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net)
23:30map7 has joined IRC (map7!~map7@103.232.216.31)