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


Channel log from 15 December 2013   (all times are UTC)

00:43alkisg has left IRC (alkisg!5e4527cf@gateway/web/freenode/ip.94.69.39.207, Quit: Page closed)
00:56freedomrun has left IRC (freedomrun!~freedomru@unaffiliated/freedomrun, Quit: So long and thanks for all the fish)
01:53alexqwesa_ has left IRC (alexqwesa_!~alex@109.172.12.47, Remote host closed the connection)
02:12alkisg has joined IRC (alkisg!5e4527cf@gateway/web/freenode/ip.94.69.39.207)
02:19* alkisg wonders if we should be using the sshfs -o reconnect option by default
02:21
<vagrantc>
ooh.
02:22
i didn't know about that option
02:22
though, if the connection was lost enough to break sshfs, chances are the master socket wouldn't auto-reconnect either
02:22
unless you were using keys
02:31
<alkisg>
Seems like it... I tried `kill -STOP sshd` and after 30" I continued it, and both ssh and sshfs continued to work...
02:38
<vagrantc>
wonder if unplugging the network for say 60 seconds would hold up?
02:47
<alkisg>
I think unplugging would result in broken pipe immediately in ssh... maybe only nfs would hold up
02:51* alkisg changes topic... in ldm/ssh.c, if we change the `ssh... echo LTSPROCKS; exec /bin/sh -` command to some local `ltsp-ssh-connect <params>` script,
02:52
<alkisg>
we can then run the same command from the script, but also with a `| while read from some fd; do execute command` loop so that ltsp-localappsd works without X and only needs the memory of a subshell
02:52
Should I implement that?
02:53Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)
02:59
<vagrantc>
sounds interesting
02:59
alkisg: you've had a lot of ideas lately
02:59
alkisg: wish you could've made it to the BTS :(
03:00
<alkisg>
Yeah I want to dedicate a couple of weeks for ltsp+trusty and I'm looking for where to invest them...
03:00
Let's hope we'll all make it to the ltsp bts in greece next year :D
03:12
Proof of concept:
03:12
ssh -MS /tmp/S localhost sh -c "'"'rm /tmp/f; mkfifo /tmp/f; while read -r cmd </tmp/f; do echo "$cmd"; done'"'" | while read cmd; do echo "Executing: $cmd"; done
03:12
and then ltsp-localapps is: echo command > /tmp/f
03:13* vagrantc wonders how to communicate what /tmp/f will be...
03:14
<alkisg>
with $LTSP_SESSION
03:14
We should have a dir in /run for each session, and put all of our files there
03:14
<vagrantc>
user-writeable dir in /run?
03:14
<alkisg>
Ah sorry then in /tmp
03:14
Or /run/tmp, whatever's preferred
03:15
<vagrantc>
if you're using world-writeable dirs, using something like "mktemp" becomes important
03:16
<alkisg>
export LTSP_SESSION=$(mktemp -d)...
03:16
<vagrantc>
right
03:16
<alkisg>
Then we can have an "env" file inside it with the client's IP, MAC etc,
03:16
the localapps/remoteapps files,
03:16
<vagrantc>
that sounds doable.
03:17
<alkisg>
the socket, etc etc
03:17
*the fifo
03:18
<vagrantc>
and not bother to export the old variables?
03:18
<alkisg>
We could do it for some time for compatibility, and deprecate them eventually
03:19
For example, the very first remote app would also put the DBUS_SESSION_BUS_ADDRESS in the env file too, so that the next ones would run in the same session
03:19
(not launching a different firefox for each remoteapp call...)
03:23
<vagrantc>
right
03:26
<alkisg>
remoteappsd without xprop is, as root, mkfifo /tmp/f; while read -r cmd</tmp/f; do ssh -S socket server "$cmd"; done
03:26
and remoteapps is echo command > /tmp/f
03:27
*and a chown user:user after the mkfifo
03:35
'night all :)
03:35alkisg has left IRC (alkisg!5e4527cf@gateway/web/freenode/ip.94.69.39.207, Quit: Page closed)
03:47monteslu has joined IRC (monteslu!~monteslu@ip68-109-175-67.ph.ph.cox.net)
04:06Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas, Quit: Leaving.)
04:10andygraybeal has left IRC (andygraybeal!~andy@h251.193.213.151.dynamic.ip.windstream.net, Ping timeout: 248 seconds)
06:13xeniphon has joined IRC (xeniphon!~johnm@76.92.148.166)
08:00staffencasa has joined IRC (staffencasa!~staffenca@8-220.ptpg.oregonstate.edu)
08:07staffencasa has left IRC (staffencasa!~staffenca@8-220.ptpg.oregonstate.edu, Ping timeout: 245 seconds)
08:50alexqwesa_ has joined IRC (alexqwesa_!~alex@109.172.12.47)
09:04bennabiy has left IRC (bennabiy!~Thunderbi@24-181-55-79.dhcp.gnvl.sc.charter.com, Ping timeout: 260 seconds)
09:04bennabiy has joined IRC (bennabiy!~Thunderbi@24-181-55-79.dhcp.gnvl.sc.charter.com)
09:38bobby_C has joined IRC (bobby_C!~bobby@85-124-22-227.teleworker.xdsl-line.inode.at)
09:50freedomrun has joined IRC (freedomrun!~freedomru@unaffiliated/freedomrun)
09:55awilliam1 has joined IRC (awilliam1!~awilliams@unaffiliated/mistik1)
09:56awilliams has left IRC (awilliams!~awilliams@unaffiliated/mistik1, Ping timeout: 248 seconds)
09:57awilliam1 is now known as awilliams
10:03awilliams has left IRC (awilliams!~awilliams@unaffiliated/mistik1, Ping timeout: 240 seconds)
10:03awilliams has joined IRC (awilliams!~awilliams@unaffiliated/mistik1)
10:30awilliam1 has joined IRC (awilliam1!~awilliams@unaffiliated/mistik1)
10:30awilliams has left IRC (awilliams!~awilliams@unaffiliated/mistik1, Ping timeout: 264 seconds)
10:30awilliam1 is now known as awilliams
10:56Fenuks has joined IRC (Fenuks!~Fenuks@212.20.39.215)
10:58adrianorg has left IRC (adrianorg!~adrianorg@177.156.224.54, Ping timeout: 240 seconds)
10:59adrianorg has joined IRC (adrianorg!~adrianorg@177.156.224.54)
11:17staffencasa has joined IRC (staffencasa!~staffenca@8-220.ptpg.oregonstate.edu)
11:18laprag has left IRC (laprag!~ragnar@ti0071a380-dhcp1620.bb.online.no, Remote host closed the connection)
11:23staffencasa has left IRC (staffencasa!~staffenca@8-220.ptpg.oregonstate.edu, Ping timeout: 245 seconds)
11:35bobby_C has left IRC (bobby_C!~bobby@85-124-22-227.teleworker.xdsl-line.inode.at, Quit: Goin' down hard)
12:19monteslu has left IRC (monteslu!~monteslu@ip68-109-175-67.ph.ph.cox.net, Ping timeout: 248 seconds)
12:36Gremble has joined IRC (Gremble!~Ben@cpc35-aztw23-2-0-cust207.18-1.cable.virginm.net)
12:36Gremble is now known as Guest95528
12:41awilliams has left IRC (awilliams!~awilliams@unaffiliated/mistik1, Ping timeout: 240 seconds)
12:42awilliams has joined IRC (awilliams!~awilliams@unaffiliated/mistik1)
12:49awilliams has left IRC (awilliams!~awilliams@unaffiliated/mistik1, Ping timeout: 240 seconds)
12:50awilliams has joined IRC (awilliams!~awilliams@unaffiliated/mistik1)
13:01alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
13:12andygraybeal has joined IRC (andygraybeal!~andy@h251.193.213.151.dynamic.ip.windstream.net)
15:02Fenuks has left IRC (Fenuks!~Fenuks@212.20.39.215, Remote host closed the connection)
15:57staffencasa has joined IRC (staffencasa!~staffenca@8-220.ptpg.oregonstate.edu)
16:03vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Quit: leaving)
16:03staffencasa has left IRC (staffencasa!~staffenca@8-220.ptpg.oregonstate.edu, Ping timeout: 264 seconds)
16:34monteslu has joined IRC (monteslu!~monteslu@ip68-109-175-67.ph.ph.cox.net)
18:24SmallR2002 has left IRC (SmallR2002!~Robert@c-98-253-173-240.hsd1.il.comcast.net, Ping timeout: 245 seconds)
18:32SmallR2002 has joined IRC (SmallR2002!~Robert@c-98-253-173-240.hsd1.il.comcast.net)
19:02Guest95528 has left IRC (Guest95528!~Ben@cpc35-aztw23-2-0-cust207.18-1.cable.virginm.net, Quit: I Leave)
19:16freedomrun has left IRC (freedomrun!~freedomru@unaffiliated/freedomrun, Ping timeout: 248 seconds)
19:31freedomrun has joined IRC (freedomrun!~freedomru@unaffiliated/freedomrun)
20:08freedomrun has left IRC (freedomrun!~freedomru@unaffiliated/freedomrun, Ping timeout: 264 seconds)
20:23freedomrun has joined IRC (freedomrun!~freedomru@unaffiliated/freedomrun)
20:50alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
20:53xeniphon has left IRC (xeniphon!~johnm@76.92.148.166, Remote host closed the connection)
20:55vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)