|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 (email@example.com, 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 (firstname.lastname@example.org)|
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
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
oh, Ubuntu MATE 22.04 is on the server
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"
Epoptes uses a daemon setup, the GUI merely shows what the daemon holds, so having a CLI shouldn't be a big problem
is there a way to talk to the daemon via cli right now? is there an epoptes-cli or something?
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
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|
Eh, since the matrix <=> libera bridge went down, I don't get IRC notifications anymore :/
cemc: getting a list of LTSP clients that are in the login screen is rather hard as nfs3 doesn't keep track of them
After login, there's an ssh connection, so if you grep for sshd you'll be able to see the IPs etc
And it's also possible to pgrep for the epoptesd connections without even looking at the epoptes code
Finally, what quinox said is correct, it should be rather easy to create a minimal epoptes-cli that just lists the clients
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
This led to not needing /etc/default/epoptes* at all.
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
In retrospective, when we dropped them by mistake in buster, we shouldn't have re-introduced them in bullseye...
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.
alkisg: yeah, was meaning to ask about the new version ...
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
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
i think that would be proper
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
Meh I need to be more careful when typing in IRC, I can't fix grammar and typo errors afterwards :D
well, marking it for removal if unchanged is still good ... some people may have installed it without actually configuring it
Would you like to revisit the 23.08 changes now, and add that ^ part, and upload to unstable?
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..
Whatever's more convenient for you
it would clear up a red spot on my dashboard :)
|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)|
quinox, alkisg: thanks a lot for the hints! in the meantime I looked at "netstat | grep :789" and got a list from there.
but I will look into what you guys suggested, thank you!
gtg now, bye!
|20:19||cemc has left IRC (email@example.com)|
|21:12||ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)|