IRC chat logs for #ltsp on irc.freenode.net (webchat)


Channel log from 5 August 2016   (all times are UTC)

00:00chksome has left IRC (chksome!~chksome@216.222.82.67, Quit: My Mac has gone to sleep. ZZZzzz…)
02:45
<bennabiy>
alkisg: is there a convenient way to simply add to each thin client xhost +server
03:38
I tried RCFILE but it did not seem to run it (xhost gave no display error)
05:42mikkel has joined IRC (mikkel!~mikkel@mail.dlvs.dk)
05:49julienfayad has joined IRC (julienfayad!~julienfay@77.42.175.223)
05:54ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
06:06julienfayad has left IRC (julienfayad!~julienfay@77.42.175.223, Quit: julienfayad)
06:12julienfayad has joined IRC (julienfayad!~julienfay@77.42.175.223)
06:17julienfayad has left IRC (julienfayad!~julienfay@77.42.175.223, Client Quit)
06:19
<alkisg>
bennabiy: how will that help, if xlib chokes while reading .Xauthority?
06:20
You would need to do it after each time xorg launches, not while the system boots in rcfile
06:20
grep -r xauth /usr/share/ltsp ==> find the place there
06:20
But I don't think it will help, unless you remove all ip-based cookies as well
06:26julienfayad has joined IRC (julienfayad!~julienfay@77.42.175.223)
06:38julienfayad has left IRC (julienfayad!~julienfay@77.42.175.223, Quit: julienfayad)
07:18julienfayad has joined IRC (julienfayad!~julienfay@77.42.175.223)
07:20julienfayad has left IRC (julienfayad!~julienfay@77.42.175.223, Client Quit)
08:15julienfayad has joined IRC (julienfayad!~julienfay@82.112.162.114)
08:16
<julienfayad>
Hi there, anyone with a lead on how to fix the pulseaudio issue
08:16
<alkisg>
julienfayad: do you have SOUND=false in lts.conf?
08:17
<julienfayad>
alkisg nop I don’t it’s the default configuration
08:17
<alkisg>
Then for fat clients it's the default for pulse as well
08:17
I.e. it's started the same way as in live CDs
08:18
<julienfayad>
well my guess is that pulse isn’t able to create the .config/pulse folder inside the user’s home folder
08:18
that’s why it’s not able to start
08:18
<alkisg>
Are you using the default sshfs configuration?
08:18
<julienfayad>
so it might be an issue of the user pulse is starting as
08:18
<alkisg>
It's starting as the current user, the one that logged in
08:18
<julienfayad>
well I haven’t edited these neither
08:18
so it should be
08:19
<alkisg>
Try with a newly created user, with an empty home dir
08:19
See if .pulse was created after login, or not
08:19
I meant .config/pulse
08:20
Does this happen to all clients, or just to a few of them?
08:20
<julienfayad>
let me test
08:29
ok on all clients it’s the same issue (pulse isn’t started)
08:29
event with a new user
08:29
now I'
08:29
I’m wondering if actually the problem might come from a wrong user ID mapping
08:30
how can I know which user (with its ID) is pulse trying to start as ?
08:30
<alkisg>
pulse is started as a normal program on login
08:30
It's not started as a system daemon
08:30
So it runs as the user that logs in
08:31
<julienfayad>
hmmm well there is something wrong then, because as the regular user I can create the .config/pulse folder inside it’s home directory
08:31
(a simple mkdir in the terminal works)
08:31
<alkisg>
And how do you know that pulse can't create it?
08:31
Or e.g. that the problem isn't elsewhere, like, not able to find the sound card at all?
08:31
<julienfayad>
because that’s the error message it’s returning when I try to run pulseaudio -vvv
08:32
well not finding the soundcard is highly unprobable because if I configure an app (say VLC) to use a specific sound output device, I get the sound out. My problem is with configuring a sound device globally
08:36
<alkisg>
julienfayad: do you have root access to the client, e.g. with epoptes?
08:36
<julienfayad>
yes I do
08:37
<alkisg>
!vnc-dide
08:37
<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.
08:38
<julienfayad>
you want me to run this on one client ?
08:38
<alkisg>
On the server, so that I can then use epoptes to gain root on one client
08:38
<julienfayad>
well can’t I just put the host in the remote-assistance seciont (method Graphics VNC) ?
08:39Statler has joined IRC (Statler!~Georg@p5DD6E620.dip0.t-ipconnect.de)
08:39
<julienfayad>
I guess it worked
08:39
<alkisg>
Yes, but not everyone has epoptes
08:39
That's why I tell them the cmdline version
08:39
<julienfayad>
I see
08:40
<alkisg>
Which client/user can I test with?
08:40
<julienfayad>
epoptes rocks, everybody should have it
08:40
go ahead with Intel NUC i5 #1 (Roger Honein)
08:44
haven’t though of this hack with the HOME alkisg, nice
08:44
<alkisg>
julienfayad: what are you using, ldap?
08:44
<julienfayad>
for user authentication ? it’s freeipa and I think yes ldap under the hood
08:45
<alkisg>
It seems like pulse is having issues with sshfs and long user ids
08:45
...or something related
08:47
<julienfayad>
you think the problem is with long user ids or with the discrepency with the first and second id (on the fat client first id was long second was short when you ran the getent passwd command) ?
08:47
wait you made a typo mistake
08:47
<alkisg>
where?
08:47
<julienfayad>
you named the file pulseaudi.real but in the bash script you called pulsaudio.real (with an o)
08:48
<alkisg>
ok, can you tell the user to logout/login again, and see if sound works?
08:48
<julienfayad>
sure
08:49
done
08:49
<alkisg>
Is it working?
08:49
<julienfayad>
testing
08:51
it does work yes
08:52
issue with the gid ?
08:53
<alkisg>
Possibly
08:54kjackal has joined IRC (kjackal!~quassel@2a02:582:ce8:d00:9cff:8ca8:7618:20f5)
08:54
<julienfayad>
what did you actually do to make it work ? instructed pulse to use tmp/home instead of the regular home directory ?
08:59
<alkisg>
yes
08:59
julienfayad: tell me another user name that belongs in ldap
08:59
<julienfayad>
j.sayegh
09:01
<alkisg>
julienfayad: I think the problem is that the client inherits the server settings for freeipa, possibly due to ltsp-pnp, and then X01-localapps or some other tool like useradd chokes somewhere and ends up with a new group id instead of the correct one
09:01
Unfortunately X01-localapps wasn't tested extensively with ldap
09:01
So file a bug report about it in ltsp, and maybe someone will have time to troubleshoot it...
09:02
Unfortunately I'm no longer funded to work on ltsp, so I only do high priority fixes or paid tasks
09:03
<julienfayad>
I see, and in the meantime do you think I can replicate your workaround of having pulseaudio use a tmp folder like through an rc script ?
09:03
<alkisg>
I don't know the side effects of this workaround, and of where else that gid problem may choke
09:04
If you're going to put a workaround, put one to fix the gid, not pulse
09:04
<julienfayad>
I see, the thing is I would like people to use sound asap and in the meantime work on a proper solution.
09:04
what would you suggest as a workaround to fix the gid ?
09:05
(and are we sure this is the ultimate issue with pulse ?)
09:21julienfayad has left IRC (julienfayad!~julienfay@82.112.162.114, Read error: Connection reset by peer)
09:29julienfayad has joined IRC (julienfayad!~julienfay@82.112.162.114)
09:35Phantomas has joined IRC (Phantomas!~ftsamis@ubuntu/member/phantomas)
09:54julienfayad has left IRC (julienfayad!~julienfay@82.112.162.114, Ping timeout: 240 seconds)
09:57julienfayad has joined IRC (julienfayad!~julienfay@185.76.178.64)
10:18julienfayad_ has joined IRC (julienfayad_!~julienfay@185.125.151.20)
10:18julienfayad has left IRC (julienfayad!~julienfay@185.76.178.64, Ping timeout: 264 seconds)
10:18julienfayad_ is now known as julienfayad
11:45robb_nl has joined IRC (robb_nl!~robb_nl@ip-83-134-22-85.dsl.scarlet.be)
12:06mikkel has left IRC (mikkel!~mikkel@mail.dlvs.dk, Quit: Leaving)
12:08Gremble has joined IRC (Gremble!~Ben@5751ac80.skybroadband.com)
12:08Gremble is now known as Guest33238
12:12Faith has joined IRC (Faith!~paty_@unaffiliated/faith)
12:30robb_nl has left IRC (robb_nl!~robb_nl@ip-83-134-22-85.dsl.scarlet.be, Quit: I'm gone, bye bye)
12:56julienfayad has left IRC (julienfayad!~julienfay@185.125.151.20, Quit: julienfayad)
12:57julienfayad has joined IRC (julienfayad!~julienfay@185.125.151.20)
13:18Guest33238 has left IRC (Guest33238!~Ben@5751ac80.skybroadband.com, Quit: I Leave)
13:53ben_roose has joined IRC (ben_roose!~roose@roose.cs.wichita.edu)
15:03
<alkisg>
!ltsp-bug | echo julienfayad:
15:03
<ltsp>
julienfayad: ltsp-bug: To file a bug report for upstream LTSP, go to https://bugs.launchpad.net/ltsp
15:04
<alkisg>
Mention that X01-localapps has issues when using ldap on the client, e.g. with freeipa and ltsp-pnp
15:04
<julienfayad>
sure!
15:36
alkisg: https://bugs.launchpad.net/ltsp/+bug/1610304 let me know if that’s good to go
15:43
<alkisg>
julienfayad: it's fine, I replied with the patch that you already have, so when you see that it works for you, e.g. in a week, reply there and I'll commit it upstream
16:05vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
16:09
<julienfayad>
deal alkisg
16:09
thanks
16:09
alkisg++
17:41julienfayad_ has joined IRC (julienfayad_!~julienfay@185.125.151.124)
17:43julienfayad has left IRC (julienfayad!~julienfay@185.125.151.20, Ping timeout: 260 seconds)
17:43julienfayad_ is now known as julienfayad
17:58julienfayad has left IRC (julienfayad!~julienfay@185.125.151.124, Quit: julienfayad)
19:06Statler has left IRC (Statler!~Georg@p5DD6E620.dip0.t-ipconnect.de, Remote host closed the connection)
19:37
<bennabiy>
alkisg: thank you... I am trying to find a solution until a fix can be made.
19:38
alkisg: if there is a way to have a login script which runs at each log in, it would fix it temporarily
20:17vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
21:03Faith has left IRC (Faith!~paty_@unaffiliated/faith, Quit: Leaving)
21:29vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
22:02ben_roose has left IRC (ben_roose!~roose@roose.cs.wichita.edu, Remote host closed the connection)
22:18ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
22:47adrianorg has joined IRC (adrianorg!~adrianorg@177.156.57.148)
23:00julienfayad has joined IRC (julienfayad!~julienfay@178.135.80.123)