01:07 | vagrantc has left IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:50, Quit: leaving) | |
05:52 | ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz) | |
08:02 | woernie has left IRC (woernie!~werner@p5ddedeef.dip0.t-ipconnect.de, Remote host closed the connection) | |
08:14 | Vercas has left IRC (Vercas!~Vercas@gateway/tor-sasl/vercas, Remote host closed the connection) | |
08:15 | Vercas has joined IRC (Vercas!~Vercas@gateway/tor-sasl/vercas) | |
08:43 | sunweaver is back | |
10:31 | wyre is back | |
10:50 | wyre is now away: Auto away at Wed Aug 30 10:45:49 2023 UTC | |
10:53 | wyre is back | |
12:06 | sunweaver is now away: not here ... | |
14:11 | cemc has joined IRC (cemc!~cemc@193.226.43.26) | |
14:13 | <cemc> hi everybody. quick question: is there a way to get a list of clients currently booted and connected to the LTSP server from CLI, either querying epoptes somehow, or in some other way. A list of IP addresses would be nice
| |
14:15 | I'm using the chrootless method, autologin with a user and a custome .xsessionrc file to start up only a maximized Firefox with basic window manager
| |
14:15 | oh, Ubuntu MATE 22.04 is on the server
| |
14:17 | epoptes is really nice, but it needs a GUI. I would love something like: "epoptes list-clients" or something similar that would give me the list of IPs that epoptes currently sees. maybe even be able to do "epoptes shutdown clientX"
| |
14:32 | <quinox> Epoptes uses a daemon setup, the GUI merely shows what the daemon holds, so having a CLI shouldn't be a big problem
| |
14:39 | <cemc> is there a way to talk to the daemon via cli right now? is there an epoptes-cli or something?
| |
14:41 | <quinox> I have no idea, never used epoptes myself. It's Python so if you're feeling bold you can try some stuff yourself, otherwise stick around and at some point Alkis might show up to answer that question
| |
14:45 | https://github.com/epoptes/epoptes/blob/ce6f31d569d78ea2e1a50828973dbc9d4a3b476d/epoptes/ui/gui.py#L747
| |
14:46 | when the UI connect the first thing it does is get the list of connected clients. Strip out all the rest and you might just have a working CLI ;)
| |
15:48 | vagrantc has joined IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:50) | |
15:53 | wyre is now away: Auto away at Wed Aug 30 15:49:18 2023 UTC | |
17:22 | <alkisg> Eh, since the matrix <=> libera bridge went down, I don't get IRC notifications anymore :/
| |
17:22 | cemc: getting a list of LTSP clients that are in the login screen is rather hard as nfs3 doesn't keep track of them
| |
17:23 | After login, there's an ssh connection, so if you grep for sshd you'll be able to see the IPs etc
| |
17:23 | And it's also possible to pgrep for the epoptesd connections without even looking at the epoptes code
| |
17:24 | Finally, what quinox said is correct, it should be rather easy to create a minimal epoptes-cli that just lists the clients
| |
17:26 | Hi @vagrantc! sunweaver had asked to support additional configuration files in epoptes, which I found to be a good idea, and it was implemented in GSoC 2023 in the form of /etc/epoptes/client/*.conf, common/*.conf, server/*.conf
| |
17:26 | This led to not needing /etc/default/epoptes* at all.
| |
17:27 | So now there's a packaging question, do we need to do anything to remove /etc/default/epoptes* from the user installations? These are still read and used, but they're not the recommended place anymore, and no examples are shipped by default
| |
17:28 | In retrospective, when we dropped them by mistake in buster, we shouldn't have re-introduced them in bullseye...
| |
17:29 | I ended up releasing epoptes 23.08 to be able to test the gsoc changes in all the schools etc, but we don't need to upload them to debian as there's no debian or ubuntu release planned. We can upload a 24.01 version in January as usual.
| |
17:29 | <vagrantc> alkisg: yeah, was meaning to ask about the new version ...
| |
17:30 | alkisg: sounds like just dropping /etc/default/epoptes from the new packages should be enough for now ... although there are some tools for removing it from old installations
| |
17:30 | dpkg-maintscript-helper
| |
17:33 | <alkisg> I did bump into it and read its man page... if I understood it correctly, we would be able to "remove any unmodified /etc/default/epoptes*", but we should keep the modified ones
| |
17:33 | <vagrantc> i think that would be proper
| |
17:34 | <alkisg> If "just dropping them" isn't very bad, I'm find with that too. I guess most people have modified the SERVER= line in the configuration, so we won't be able to delete it in most of the cases
| |
17:35 | Meh I need to be more careful when typing in IRC, I can't fix grammar and typo errors afterwards :D
| |
17:36 | <vagrantc> well, marking it for removal if unchanged is still good ... some people may have installed it without actually configuring it
| |
17:37 | <alkisg> Would you like to revisit the 23.08 changes now, and add that ^ part, and upload to unstable?
| |
17:37 | It's also possible to revisit all the changes in 24.01, and leave 23.04 in the proposed PPA, without uploading to Debian at all..
| |
17:37 | *23.08
| |
17:38 | Whatever's more convenient for you
| |
17:41 | <vagrantc> it would clear up a red spot on my dashboard :)
| |
17:41 | <alkisg> Thank you!
| |
17:50 | Vercas has left IRC (Vercas!~Vercas@gateway/tor-sasl/vercas, Remote host closed the connection) | |
17:51 | Vercas has joined IRC (Vercas!~Vercas@gateway/tor-sasl/vercas) | |
17:56 | Vercas has left IRC (Vercas!~Vercas@gateway/tor-sasl/vercas, Remote host closed the connection) | |
17:56 | Vercas has joined IRC (Vercas!~Vercas@gateway/tor-sasl/vercas) | |
20:14 | <cemc> quinox, alkisg: thanks a lot for the hints! in the meantime I looked at "netstat | grep :789" and got a list from there.
| |
20:18 | but I will look into what you guys suggested, thank you!
| |
20:19 | gtg now, bye!
| |
20:19 | cemc has left IRC (cemc!~cemc@193.226.43.26) | |
21:12 | ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving) | |