04:09 | kjackal has joined IRC (kjackal!~quassel@2a02:587:3107:2e00:38d1:e756:4252:d0c3) | |
04:26 | quinox has left IRC (quinox!~quinox@ghost.qtea.nl, Quit: WeeChat 2.4) | |
04:30 | quinox has joined IRC (quinox!~quinox@ghost.qtea.nl) | |
05:01 | statler has joined IRC (statler!~Georg@p54897245.dip0.t-ipconnect.de) | |
05:14 | os_a has joined IRC (os_a!~Thunderbi@195.112.116.22) | |
05:15 | ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz) | |
06:20 | woernie has joined IRC (woernie!~werner@85.195.104.170) | |
06:22 | woernie_ has joined IRC (woernie_!~werner@p578bb7b6.dip0.t-ipconnect.de) | |
06:26 | woernie has left IRC (woernie!~werner@85.195.104.170, Ping timeout: 265 seconds) | |
08:04 | os_a has left IRC (os_a!~Thunderbi@195.112.116.22, Quit: os_a) | |
09:12 | ltsp_user60 has joined IRC (ltsp_user60!8f32cb1f@WEGC203031.UNI-GRAZ.AT) | |
09:52 | statler has left IRC (statler!~Georg@p54897245.dip0.t-ipconnect.de, Remote host closed the connection) | |
10:02 | matusiak has joined IRC (matusiak!~matusiak@nat00.zb.lnet.pl) | |
10:30 | statler has joined IRC (statler!~Georg@gwrz.lohn24.de) | |
10:55 | ltsp_user60 has left IRC (ltsp_user60!8f32cb1f@WEGC203031.UNI-GRAZ.AT, Remote host closed the connection) | |
10:58 | <matusiak> Hi everyone. Is there a way i LTSP to create many accounts and assign them to epoptes, for users (students)? At the beginning of school I want to create account for every student in my class. So I have my first class with 5-th graders and there is 16 of them. So I run a script? Or something and I quickly create 16 accounts with epoptes assign to them. Then I tell them to login with credentials like class6-01, class6-02 … , class6-16 and I show the
| |
10:58 | m how to change password.
| |
10:58 | You know about something like this? How do you create accounts for your users or students in LTPS?
| |
10:59 | <meo> matusiak: you should be trivially able to create accounts with standard tools
| |
10:59 | adduser(1) will do 99% of what you want
| |
11:00 | of course it's done with a shell script
| |
11:01 | your script would read a list of usernames and full names, call adduser for each one, then generate a password
| |
11:02 | oh I forgot there's also newusers(1)
| |
11:02 | https://www.2daygeek.com/linux-bulk-users-creation-useradd-newusers/
| |
11:06 | <matusiak> oh! that's grate. I think that is what I was looking for. As I can see from the link above I can also specify users in text file. Thanks for the link. I will try this methods.
| |
11:06 | <meo> you are welcome
| |
11:06 | dont forget you need to regenerate the images after you create the users
| |
11:07 | <matusiak> right, thx
| |
11:33 | gdi2k has joined IRC (gdi2k!~gdi2k@host86-185-211-13.range86-185.btcentralplus.com) | |
11:47 | Faith has joined IRC (Faith!~Paty_@unaffiliated/faith) | |
12:32 | section1 has joined IRC (section1!~section1@178.33.109.106) | |
12:34 | John81 has joined IRC (John81!5c85306e@amontpellier-259-1-81-110.w92-133.abo.wanadoo.fr) | |
12:34 | <John81> Hi all :)
| |
12:35 | Someone already encountered this error ?
| |
12:35 | on my client PC
| |
12:36 | "SQUASHFS error: Unable to read page, block xxxxxxx" ?
| |
12:36 | my LTSP server is Ubuntu 18.04
| |
12:37 | kjackal has left IRC (kjackal!~quassel@2a02:587:3107:2e00:38d1:e756:4252:d0c3, Remote host closed the connection) | |
12:43 | gp has joined IRC (gp!~gp@96.71.93.13) | |
12:45 | kjackal has joined IRC (kjackal!~quassel@2a02:587:3107:2e00:f974:2aaa:e1c2:14f2) | |
12:47 | <alkisg> Hi John81
| |
12:47 | Are you using the Greek schools PPA?
| |
12:48 | It sounds like you hit the netplan issue...
| |
12:49 | kjackal has joined IRC (kjackal!~quassel@2a02:587:3107:2e00:503d:b044:5a1a:c63e) | |
12:51 | <John81> alkisg no
| |
12:52 | <alkisg> John81: ok, then that's the problem, please add it to both your server and chroot, and update/rebuild image
| |
12:52 | !greek-schools-ppa
| |
12:52 | <ltsp> greek-schools-ppa: https://launchpad.net/~ts.sch.gr/+archive/ppa/ supports LTS Ubuntu releases with newer LTSP versions, bug fixes etc
| |
12:52 | <John81> ok, thx I'm try this
| |
13:02 | Same error
| |
13:02 | Squashfs error: Unable to read frangment cache entry [xxxxxx]
| |
13:02 | and
| |
13:03 | Failed to start login service (new error)
| |
13:03 | Failed to start Snappy Deamon
| |
13:04 | John44 has joined IRC (John44!5c85306e@amontpellier-259-1-81-110.w92-133.abo.wanadoo.fr) | |
13:04 | <John44> maybe I would have to restart my server before regenerating the image?
| |
13:05 | John81 has left IRC (John81!5c85306e@amontpellier-259-1-81-110.w92-133.abo.wanadoo.fr, Remote host closed the connection) | |
13:06 | <John44> Squashfs errors scroll slower
| |
13:09 | GodFather has joined IRC (GodFather!~rcc@d53-64-7-141.nap.wideopenwest.com) | |
13:10 | matusiak has left IRC (matusiak!~matusiak@nat00.zb.lnet.pl, Quit: Leaving) | |
13:10 | <alkisg> John44: are you using a chroot, or chrootless?
| |
13:11 | <John44> chrootless
| |
13:12 | (ltsp image /)
| |
13:12 | <alkisg> OK, moment let me finish something...
| |
13:12 | <John44> no problem thx
| |
13:18 | <alkisg> !netplan
| |
13:18 | <ltsp> Error: "netplan" is not a valid command.
| |
13:19 | <alkisg> John44: can you try adding this in lts.conf? INIT_COMMAND_RM_NETPLAN="rm -f /lib/systemd/system-generators/netplan"
| |
13:19 | Then reboot client
| |
13:19 | <John44> ok
| |
13:20 | lts.conf in /var/lib/tftpboot/ltsp ?
| |
13:20 | <alkisg> Yes
| |
13:20 | <John44> ok
| |
13:23 | I need to regenerate the image or not need?
| |
13:23 | Failed to start Network Manager
| |
13:24 | Failed to start Failure handling of the snapd snap
| |
13:25 | and Squashfs error :)
| |
13:31 | woernie_ has left IRC (woernie_!~werner@p578bb7b6.dip0.t-ipconnect.de, Remote host closed the connection) | |
13:33 | <alkisg> John44: can I see?
| |
13:33 | !vnc-dide
| |
13:33 | <ltsp> vnc-dide: To share your screen with me, run this: sudo apt-get --yes install x11vnc; x11vnc -connect srv1-dide.ioa.sch.gr - this is a reverse connection, it doesn't need port forwarding etc.
| |
13:35 | <alkisg> John44: ok, reboot client
| |
13:35 | You put it above [default] instead of under it
| |
13:36 | <John44> I saw that it was not in the right section, but I deleted the Netplan directory by hand by security before
| |
13:36 | I'm retry boot on client
| |
13:37 | Same error
| |
13:37 | Squashfs :-/
| |
13:38 | <alkisg> The netplan directory is regenerated automatically
| |
13:39 | This is a VM, isn't it?
| |
13:39 | <John44> yes
| |
13:39 | <alkisg> I can't install virtualbox and see a virtual client :/
| |
13:40 | Ouch you deleted that on the server?! :)
| |
13:40 | <John44> :-/ yes
| |
13:41 | <alkisg> Your image still has the old ltsp
| |
13:41 | You added the ppa but you didn't run ltsp-update-image
| |
13:41 | <John44> I'm not good sorry... i discover ltsp
| |
13:42 | <alkisg> np
| |
13:45 | John44: ok try again to reboot the client
| |
13:46 | <John44> ok
| |
13:47 | it works ... Well, I'm jumping off a bridge ...
| |
13:47 | thank you very much
| |
13:51 | <alkisg> np
| |
13:52 | <John44> cya ;)
| |
13:52 | John44 has left IRC (John44!5c85306e@amontpellier-259-1-81-110.w92-133.abo.wanadoo.fr) | |
14:01 | <gp> alkisg: What was hanging me up yesterday is how to configure xinit. I was able to get xterm working with simple case of startx but I cannot seem to call anything correctly with xinit. Do you happen to know the analogous command for the freerdp screen script from LTSP5 for the systemd unit? exec xinit /usr/share/ltsp/xinitrc "$COMMAND" -- "$DISPLAY" "vt${TTY}" -nolisten tcp $X_ARGS >/dev/null
| |
14:02 | <alkisg> gp, no I haven't looked into it recently
| |
14:02 | <gp> alkisg: Ok. I will keep tinkering.
| |
14:02 | <alkisg> gp, are you sure it's best to use multiple vts instead of 1?
| |
14:03 | E.g. one user might be working on rdp on vt6, and another on lightdm on vt7? how does that work?
| |
14:03 | Why not use multiple session instead?
| |
14:08 | <gp> alkisg: I am not very familiar with this yet but I do not understand what you mean. I have been trying to set the SCREEN to work when a virtual console is swapped to with cntrl alt #. Here are some of the tries but you can probably tell from the paste I am still trying to figure out what I am doing
| |
14:08 | http://paste.debian.net/1103491/
| |
14:08 | the startx is the only one that has worked so far.
| |
14:09 | <alkisg> gp, I mean this: what are you currently using SCREENs for?
| |
14:09 | Normal login, xfreerdp, ssh, right?
| |
14:09 | Do different people use those at the same time? Usually nope.
| |
14:10 | So why don't you let your users login as usual, and THEN run rdp or ssh or whatever?
| |
14:10 | If a user only needs to run xfreerdp, it can be the only program that a session runs
| |
14:18 | <gp> alkisg: Yes they use them simulatenously
| |
14:18 | alkisg: oops sorry no. not different users
| |
14:18 | <alkisg> gp, how? You have 2 keyboards?
| |
14:18 | Right, so if it's only one user, where do vts benefit?
| |
14:19 | Only the old ltsp used those
| |
14:19 | Normal installations don't really use them
| |
14:19 | <gp> alkisg: because you can run the linux desktop and the freerdp terminal at the same time. I was just trying to do it the same for motor skills
| |
14:20 | alkisg: you suggest using a different session for the display manager to log in to?
| |
14:20 | <alkisg> Yes, or just use 2 windows
| |
14:20 | One for rdp, and switch with the mouse like usual
| |
14:22 | <gp> alkisg: the freerdp connects as if you were physicaly plugged into the rdp computer. but that can be worked out differently. the screens approach is a better fix but if it is more complicated perhaps I can get going like you suggest until I can work out the screens
| |
14:22 | alkisg: will try to put together a wiki entry for it once i do. I thought it was a popular option because it works so well. maybe not
| |
14:24 | <alkisg> gp, I implemented a lot of this stuff, and I ended up never using them
| |
14:27 | One can set up an xfreerdp session, that automatically connects full screen after lightdm
| |
14:27 | Or they can set up multiple windows with ssh, rdp, whatever, and handle them as real windows, instead of having to switch VTs,
| |
14:27 | plus, most of this stuff won't work on wayland anyway
| |
14:28 | <gp> alkisg: My personal use of the screens was for having linux booted as a programming terminal. and being able to hit control alt f5 to open up the freerdp so I could give tech support. But both vts kept current progress so i could swap without effecting the other
| |
14:28 | I will try the lightdm session
| |
14:28 | It was my understanding before that lightdm couldn't allow two concurrent sessions
| |
14:28 | <alkisg> That's where workspaces help
| |
14:28 | You have one workspace for programming, another for remote support etc
| |
14:29 | And they're all in the same wayland/xorg session, so clipboard works too, etc etc
| |
14:29 | If multiple VTs were something people needed a lot... systemd/xorg/wayland/DMs would make it easy for them
| |
14:30 | They don't; and ltsp ended up needing a lot of hacks and introducing a lot of race conditions
| |
14:30 | For example, in some debian versions people had to switch to vt1, then vt7, for lightdm to load, because of screen race conditions
| |
14:30 | lightdm does support multiple concurrent sessions though
| |
14:30 | But only for different users
| |
14:31 | It's the "login as ..." feature in the menu
| |
14:32 | <gp> alkisg: understood. I don't think it gives the same flexibility but if it is good enough and simpler without race conditions that is a win
| |
14:32 | will give that a try first
| |
14:32 | <alkisg> gp, you can also do this:
| |
14:33 | run xinit etc from inside your session, and launch a second xorg just for xfreerdp,
| |
14:33 | without relying on ltsp or anything else to do that
| |
14:34 | I.e. just make a `run-on-another-vt <program>` script
| |
14:35 | <gp> alkisg: I think that sounds like a straightfoward approach. Thanks =)
| |
14:35 | <alkisg> np
| |
14:35 | It'll probably won't work on wayland, but for a few years it should be ok
| |
14:37 | <gp> enough time to get comfortable with something else =)
| |
14:39 | alkisg: So here is one that I am confused about with removing screens cripts. Before, I could set the client to clear all screens and only allow "kiosk" for a public email checking terminal. How would you do something like that with the new setup?
| |
14:39 | alkisg: Have to have a different image?
| |
14:41 | <alkisg> You'd autologin to a different session
| |
14:41 | E.g. /usr/share/xessions/kiosk.desktop
| |
14:41 | *xsessions
| |
14:42 | <gp> alkisg: thanks for the chat. take me a minute to change my mindset but the direction makes sense
| |
15:23 | gp has left IRC (gp!~gp@96.71.93.13, Ping timeout: 245 seconds) | |
16:20 | statler has left IRC (statler!~Georg@gwrz.lohn24.de, Remote host closed the connection) | |
17:25 | kjackal has left IRC (kjackal!~quassel@2a02:587:3107:2e00:503d:b044:5a1a:c63e, Ping timeout: 246 seconds) | |
17:38 | woernie has joined IRC (woernie!~werner@p57A0EE73.dip0.t-ipconnect.de) | |
17:51 | kjackal has joined IRC (kjackal!~quassel@2a02:587:3107:2e00:503d:b044:5a1a:c63e) | |
18:03 | adrianor1 has joined IRC (adrianor1!~adrianorg@177.18.96.39) | |
18:06 | adrianorg has left IRC (adrianorg!~adrianorg@177.18.177.141, Ping timeout: 240 seconds) | |
18:48 | gp has joined IRC (gp!~gp@96.71.93.13) | |
19:53 | section1 has left IRC (section1!~section1@178.33.109.106, Quit: Leaving) | |
20:29 | kjackal has left IRC (kjackal!~quassel@2a02:587:3107:2e00:503d:b044:5a1a:c63e, Ping timeout: 252 seconds) | |
20:32 | woernie has left IRC (woernie!~werner@p57A0EE73.dip0.t-ipconnect.de, Remote host closed the connection) | |
20:36 | Faith has left IRC (Faith!~Paty_@unaffiliated/faith, Quit: Leaving) | |
21:42 | ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving) | |
22:18 | gp has left IRC (gp!~gp@96.71.93.13, Ping timeout: 240 seconds) | |