If you attempt to issue the command loginctl seat-status seat0 with a version of systemd prior to 236, you cannot get full address information except from a maximized terminal window. It makes sense why this was missed, the systemd-devel mailing list release notice for v236 didn't exactly spell it out in the plainest language. Actually, it looks to me like it wasn't announced at all.
This bug fix, which I look at as a new feature for systemd, has large implications to someone such as myself who is developing a GUI to streamline multi-seat creation. It also has large implications for anybody who doesn't want to deal with the command line - for any reason. Using either Python or Java (and I presume other languages as well) the address information that is output by loginctl has ellipses inserted into the center of the addresses making it impossible to programmatically derive the data in a simple way. Thankfully, Lennart Poettering quickly resolved the issue. Less than a month after I reported the ellipsis bug in loginctl, it was resolved and staged for milestone v236. As for the GUI program I built for creating multi-seats at the click of a button, EasySeats is currently written in Java and the source code is available for download on GitHub for anybody who is looking for an easier way. It is currently at version .02, which directly derives data from loginctl and back to final seat creation. Version .01 works with the aid of a text file, for those who have an older version of systemd.
0 Comments
Leave a Reply. |
EasySeatsEasySeats is open source software developed to bring ease to users who choose to go multi-seat. It supports video cards for seat creation as well as external USB docks. Archives
April 2019
Categories |