29 Mar 2024 |
alkisg | Pluto: https://ltsp.org/man/ltsp.conf/#REMOTEAPPS | 18:39:12 |
alkisg | And https://ltsp.org/man/ltsp-remoteapps/ | 18:39:40 |
Pluto | But for that I'd need X on the server, right? | 18:40:05 |
alkisg | No, X on the client | 18:40:23 |
alkisg | ...or XWayland, not sure if ssh -X works with xwayland... | 18:40:37 |
alkisg | Hmm yeah you're probably right you'd need xorg on the server too | 18:41:09 |
Pluto | We're both right. On client and server :D | 18:41:28 |
alkisg | How did you do it? | 18:41:58 |
Pluto | zenity calling ssh server passwd https://0x0.st/XziV.txt | 18:42:33 |
Pluto | and as part of setting up my chroot (echo -n 'server ';cat /etc/ssh/ssh_host_ecdsa_key.pub) >> /srv/ltsp/x86_64/etc/ssh/ssh_known_hosts | 18:43:18 |
alkisg | I think you should be able to use ltsp remoteapps ssh instead of handling the key separately | 18:43:29 |
alkisg | *ltsp remoteapps passwd | 18:43:43 |
Pluto | ohhh nice. Side note: the debian package has ltsp in sbin which it probably shouldn't then | 18:47:15 |
alkisg | The bin vs sbin separatation is quite fuzzy nowadays, with one app verb binary instead of multiple app-verb binaries | 18:48:55 |
alkisg | ltsp is mostly for the sysadmin or the system, but in this case it can be useful for the user too | 18:49:17 |
Pluto | debian doesn't put the sbins into path for regular users at least not on my installations | 18:50:59 |
alkisg | I know. That should be changed on Debian; but anyway, if your script is in $PATH, it can just call ltsp from sbin; the users don't need to run ltsp themselves | 19:08:56 |
alkisg | In my personal scripts I usually do a if ! echo "$PATH" | grep -qw sbin; then ...add sbin to the path... , just for Debian | 19:09:59 |
30 Mar 2024 |
| naveen2507 joined the room. | 10:09:22 |
naveen2507 | Is it possible to use mysql on ltsp clients ? | 10:09:38 |
alkisg | LTSP clients cannot save system data without special configuration | 10:10:21 |
alkisg | Normally, mysql services go to the server, and clients use them through e.g. an http interface | 10:10:39 |
alkisg | So you can use mysql under /home/username, or via http on the server, but not easily on /var/lib/.../mysql | 10:11:04 |
naveen2507 | in ubuntu 12.04 we were able to run mysql on ltsp clients without any issues. Being in a school, it is a requirement that mysql runs on clients also. | 10:11:36 |
alkisg | Do you mean on thin clients? | 10:11:49 |
naveen2507 | yes | 10:11:54 |
alkisg | If so, use ltsp remoteapps, to run things on the server | 10:11:56 |
alkisg | Then you no longer run it on the clients. You run it on the server, and just display the result on the client | 10:12:09 |
naveen2507 | ok. Thanks a lot. Can you suggest some links where i can get more information on ltsp remoteapps. | 10:12:44 |
alkisg | https://ltsp.org/man/ltsp-remoteapps/ | 10:12:55 |