IRC chat logs for #ltsp on (webchat)

Channel log from 25 July 2020   (all times are UTC)

02:07bcg has left IRC (bcg!, *.net *.split)
02:08book` has left IRC (book`!~book`, *.net *.split)
02:08sutula has left IRC (sutula!~sutula@, *.net *.split)
02:08shored has left IRC (shored!, *.net *.split)
02:08lucascastro has left IRC (lucascastro!, *.net *.split)
02:08alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, *.net *.split)
02:08zama has left IRC (zama!~zama@unaffiliated/stryx/x-3871776, *.net *.split)
02:09ogra_ has left IRC (ogra_!~ogra_@ubuntu/member/ogra, *.net *.split)
02:09dragon788__ has left IRC (dragon788__!sid158229@gateway/web/, *.net *.split)
02:09spectra has left IRC (spectra!~spectra@debian/developer/spectra, *.net *.split)
02:09yanu has left IRC (yanu!, *.net *.split)
02:09highvoltage has left IRC (highvoltage!~highvolta@ubuntu/member/highvoltage, *.net *.split)
02:09adrianor1 has left IRC (adrianor1!~adrianorg@, *.net *.split)
02:09fiesh has left IRC (fiesh!, *.net *.split)
02:09||cw has left IRC (||cw!~chrisw@, *.net *.split)
02:09Vercas has left IRC (Vercas!~Vercas@unaffiliated/vercas, *.net *.split)
02:09vsuojanen has left IRC (vsuojanen!, *.net *.split)
02:09pppingme has left IRC (pppingme!~pppingme@unaffiliated/pppingme, *.net *.split)
02:10thefinn93 has left IRC (thefinn93!finn@unaffiliated/thefinn93, *.net *.split)
02:10bengoa has left IRC (bengoa!~alberto@, *.net *.split)
02:10Hyperbyte has left IRC (Hyperbyte!, *.net *.split)
02:10ltspbot has joined IRC (ltspbot!
02:10book` has joined IRC (book`!~book`
02:12sutula has joined IRC (sutula!~sutula@
02:13mgariepy has joined IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy)
02:13yanu has joined IRC (yanu!
02:13highvoltage has joined IRC (highvoltage!~highvolta@ubuntu/member/highvoltage)
02:14bcg has joined IRC (bcg!
02:14ogra_ has joined IRC (ogra_!~ogra_@ubuntu/member/ogra)
02:14dragon788__ has joined IRC (dragon788__!sid158229@gateway/web/
02:14spectra has joined IRC (spectra!~spectra@debian/developer/spectra)
02:14shored has joined IRC (shored!
02:14lucascastro has joined IRC (lucascastro!
02:14alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
02:14zama has joined IRC (zama!~zama@unaffiliated/stryx/x-3871776)
02:14shored has left IRC (shored!, *.net *.split)
02:14lucascastro has left IRC (lucascastro!, *.net *.split)
02:14alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, *.net *.split)
02:14zama has left IRC (zama!~zama@unaffiliated/stryx/x-3871776, *.net *.split)
02:14ogra_ has left IRC (ogra_!~ogra_@ubuntu/member/ogra, *.net *.split)
02:14dragon788__ has left IRC (dragon788__!sid158229@gateway/web/, *.net *.split)
02:14spectra has left IRC (spectra!~spectra@debian/developer/spectra, *.net *.split)
02:14bcg has left IRC (bcg!, *.net *.split)
02:14yanu has left IRC (yanu!, *.net *.split)
02:14highvoltage has left IRC (highvoltage!~highvolta@ubuntu/member/highvoltage, *.net *.split)
02:14mgariepy has left IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy, *.net *.split)
02:15bcg has joined IRC (bcg!
02:18yanu has joined IRC (yanu!
02:18highvoltage has joined IRC (highvoltage!~highvolta@ubuntu/member/highvoltage)
02:19shored has joined IRC (shored!
02:19alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
02:19zama has joined IRC (zama!~zama@unaffiliated/stryx/x-3871776)
02:19ogra_ has joined IRC (ogra_!~ogra_@ubuntu/member/ogra)
02:19dragon788__ has joined IRC (dragon788__!sid158229@gateway/web/
02:19spectra has joined IRC (spectra!~spectra@debian/developer/spectra)
02:20lucascastro has joined IRC (lucascastro!
02:21mgariepy has joined IRC (mgariepy!~mgariepy@ubuntu/member/mgariepy)
06:47ltsp_user78 has joined IRC (ltsp_user78!0e8bada3@
Hi, I have a question regarding how to run a command upon login of a user on an ltsp client
specifically, I wish to run an sshfs command to mount a shared folder on the client
is there any LTSP method to do this?
I've noticed the mention of the "POST_APPLET_x" directive in the ltsp.conf man page, however in the ltsp(8) man page I could not find the list of applets that can be used with the POST_... option
Is there a way using this option to do what I'm trying?
This is easy enough
There's basically two easy solutions for what you're trying to do
Presumably you can also use NFS for mounting the shared volume, in which case you can simply use the FSTAB_* entries in lts.conf
If you really need to use sshfs to mount it, you could either use regular session startup scripts like you would do for any Linux workstation. You could create a startup script to run via /etc/xdg/autostart and set up some key-based authentication
And there's also the option LOCAL_APPS_EXTRAMOUNTS in lts.conf, but this only works if you need to mount the directory from the same server you're logging in to. Also not sure if this option still works in latest LTSP.
And maybe alkisg can think of even more, he's the absolute LTSP wizard. But you'll have to stick around a bit more if you need the expert answer. :-)
Hopefully at least I've helped you along on your quest. ;-)
Personally I'd use NFS. I actually use NFS for the home directories also, instead of sshfs.
@Hyperbyte Thank you for your answer. Indeed I am using the latest LTSP and while I was using LOCAL_APPS_EXTRAMOUNTS earlier, that option is not available any longer
as the shared folders have permissions set to allow different folders access only to specific users, I need the sshfs session to be authenticated as the username of the user who just logged in, and the user's login credentials to do that would not be available to a script started by /etc/xdg/autostart
I have thought of NFS, and, yes, it sounds like it should work, but I like the higher security of sshfs
08:47ltsp_user78 has left IRC (ltsp_user78!0e8bada3@
09:05zerkalo has left IRC (zerkalo!myricae@gateway/shell/hashbang/x-ebzaoikmdueccyzg, Read error: Connection reset by peer)
14:07adrianorg has joined IRC (adrianorg!~adrianorg@
14:10adrianor1 has left IRC (adrianor1!~adrianorg@, Ping timeout: 240 seconds)
20:16kvaps has joined IRC (kvaps!
20:27kvaps has left IRC (kvaps!, Remote host closed the connection)
22:24jgee has left IRC (jgee!~jgee@, Quit: Ping timeout (120 seconds))
22:24jgee has joined IRC (jgee!~jgee@
23:53Faolcu has joined IRC (Faolcu!5d6b9313@