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


Channel log from 17 September 2019   (all times are UTC)

02:19alexxtasi[m] has left IRC (alexxtasi[m]!alexxtasim@gateway/shell/matrix.org/x-ivztlaikrhzcrrsq, Write error: Connection reset by peer)
02:19uumas has left IRC (uumas!uumasmatri@gateway/shell/matrix.org/x-rthaefatazcbqwsx, Read error: Connection reset by peer)
02:27alexxtasi[m] has joined IRC (alexxtasi[m]!alexxtasim@gateway/shell/matrix.org/x-ifednbaasuqokfyo)
02:38mze__ has joined IRC (mze__!~mze@2001:16b8:552b:f100:50cb:7f0f:709e:4907)
02:40mze_ has left IRC (mze_!~mze@2001:16b8:55e2:7600:692c:7b06:5c73:2299, Ping timeout: 245 seconds)
02:50quinox has left IRC (quinox!~quinox@ghost.qtea.nl, *.net *.split)
02:56quinox has joined IRC (quinox!~quinox@ghost.qtea.nl)
02:59uumas has joined IRC (uumas!uumasmatri@gateway/shell/matrix.org/x-gltwsguzyivwcsum)
03:18quinox has left IRC (quinox!~quinox@ghost.qtea.nl, *.net *.split)
03:24quinox has joined IRC (quinox!~quinox@ghost.qtea.nl)
05:01statler has joined IRC (statler!~Georg@p54897245.dip0.t-ipconnect.de)
05:22kjackal has joined IRC (kjackal!~quassel@nat/canonical/x-nhymofjnmeizydzi)
06:13ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
06:21kjackal has left IRC (kjackal!~quassel@nat/canonical/x-nhymofjnmeizydzi, Ping timeout: 276 seconds)
06:28woernie has joined IRC (woernie!~werner@p578bb7b6.dip0.t-ipconnect.de)
07:09kjackal has joined IRC (kjackal!~quassel@nat/canonical/x-tqmirbqabzsdtngw)
07:11kjackal has left IRC (kjackal!~quassel@nat/canonical/x-tqmirbqabzsdtngw, Read error: Connection reset by peer)
07:18statler has left IRC (statler!~Georg@p54897245.dip0.t-ipconnect.de, Remote host closed the connection)
07:20kjackal has joined IRC (kjackal!~quassel@nat/canonical/x-gyxanncxcwijmwxs)
07:28kjackal_v2 has joined IRC (kjackal_v2!~quassel@nat/canonical/x-uysullszvpxxlyif)
07:28kjackal has left IRC (kjackal!~quassel@nat/canonical/x-gyxanncxcwijmwxs, Ping timeout: 276 seconds)
09:00kjackal_v2 has left IRC (kjackal_v2!~quassel@nat/canonical/x-uysullszvpxxlyif, Ping timeout: 240 seconds)
10:18epoptes_user87 has joined IRC (epoptes_user87!d561bf33@51.red-213-97-191.staticip.rima-tde.net)
10:19epoptes_user87 has left IRC (epoptes_user87!d561bf33@51.red-213-97-191.staticip.rima-tde.net, Remote host closed the connection)
10:53statler has joined IRC (statler!~Georg@gwrz.lohn24.de)
11:08spaced0ut has joined IRC (spaced0ut!~spaced0ut@unaffiliated/spaced0ut)
11:46stam12 has joined IRC (stam12!4f81a0fe@athedsl-4436238.home.otenet.gr)
11:53Faith has joined IRC (Faith!~Paty_@unaffiliated/faith)
11:59stam1297 has joined IRC (stam1297!05cbf8b4@5-203-248-180.mobile.nym.cosmote.net)
12:00stam12 has left IRC (stam12!4f81a0fe@athedsl-4436238.home.otenet.gr, Ping timeout: 260 seconds)
12:03stam1297 has left IRC (stam1297!05cbf8b4@5-203-248-180.mobile.nym.cosmote.net, Remote host closed the connection)
12:04section1 has joined IRC (section1!~section1@178.33.109.106)
13:30mmarconm has joined IRC (mmarconm!~mmarconm@unaffiliated/mmarconm)
15:02woernie has left IRC (woernie!~werner@p578bb7b6.dip0.t-ipconnect.de, Remote host closed the connection)
15:18mmarconm has left IRC (mmarconm!~mmarconm@unaffiliated/mmarconm, Read error: Connection reset by peer)
15:49adrianorg has left IRC (adrianorg!~adrianorg@177.156.230.73, Ping timeout: 276 seconds)
16:15adrianorg has joined IRC (adrianorg!~adrianorg@177.204.159.126.dynamic.adsl.gvt.net.br)
16:16josefig has joined IRC (josefig!~josefig@fixed-187-188-168-242.totalplay.net)
16:17josefig has joined IRC (josefig!~josefig@unaffiliated/josefig)
16:21statler has left IRC (statler!~Georg@gwrz.lohn24.de, Remote host closed the connection)
16:57mze__ has left IRC (mze__!~mze@2001:16b8:552b:f100:50cb:7f0f:709e:4907, Quit: Leaving)
18:18adrianor1 has joined IRC (adrianor1!~adrianorg@177.18.177.210)
18:21adrianorg has left IRC (adrianorg!~adrianorg@177.204.159.126.dynamic.adsl.gvt.net.br, Ping timeout: 258 seconds)
18:58
<Sleaker>
is there a way to get xdotool to manipulate windows on the ltsp5 display?
18:58
if I try to do stuff from command line it gives errors
18:59
eg trying to force the display via DISPLAY=IP:7 xdotool [command]
18:59
it works for older ltsp4
19:00
the xdotool command seems to work fine from within an X window session but not from something like ssh
19:00
but doing things like DISPLAY=:0 works fine via ssh
19:01vsuojanen has left IRC (vsuojanen!~vsuojanen@cable-hml-585686-205.dhcp.inet.fi, Ping timeout: 240 seconds)
19:01
<Sleaker>
or is that what -X is for?
19:03
<uumas>
If you mean ssh -X then yes that enables x forwarding, ie. graphical apps over ssh
19:06
<Sleaker>
hmm, looks like the issue is that running the command from the actual TC works fine.
19:06
but trying to run the command from the server to manipulate screens on the TC display doesn't work.
19:09
<uumas>
What exactly are you trying to achieve
19:09
<Sleaker>
trying to minimize a window on the TC from the server
19:10
works for screens on the main display, and on ltsp4 TCs, but not for ltsp5 TCs
19:12
<uumas>
Okay, don't know enough about how thin clients work as I've always been using fat clients only. You are sure they are thin clients, not fat, right?
19:13
<Sleaker>
they have no HD
19:13
so they better not be fat :P
19:13
they boot from a tftp/nbd server setup.
19:14
the whole system image gets pushed
19:21
<mwalters>
FYI: around here the terminology is: Thin client = remote desktop, fat client = remote storage
19:21
(I guess we'll use thick client for a "traditional" workstation????)
19:22
<uumas>
Yes, that's how fat clients work. Thin clients stream the entire screen from the server, fat clients run locally and just have root over nbd.
19:22
<Sleaker>
haha
19:22
<uumas>
Ltsp4 might have been thin clients only, idk.
19:23
<Sleaker>
it was
19:23
<uumas>
Ltsp5 supports both
19:23
Ltsp19 is fat only
19:23
<Sleaker>
seemsbad
19:24
<uumas>
But you're probably using fat clients which explains why your commands aren't working. I recommend epoptes for managing fat client sessions.
19:24
<Sleaker>
epoptes doesn't allow command-line manipulation though?
19:24
trying to script this
19:24
<uumas>
It does!
19:24
Oh, well not for scripts
19:25
<Sleaker>
so what's the equivalent of running an xdotool command on a remote screen?
19:25
<uumas>
But you could have the script run on the clients?
19:25
<Sleaker>
lol
19:25
uumas: how do you close an application that's running on the server from a command run on the client?
19:25
<uumas>
I don't know about xdotool. What do you want to achieve?
19:26
So you want to close a single application without logging the user out?
19:26
<Sleaker>
all of the programs are run from the server, nothing runs on the client except the x client.
19:26
yup
19:26
but not kill it, minimize it heh
19:27
so like if I'm sshed into the client, I can see it has a display on :7 running right. but on the server the actual application is running on display IP:7
19:27
so trying to figure out a way to minimize the window via xdotool when the window is being drawn remotely.
19:28
<mwalters>
¯\_(ツ)_/¯
19:28
That's my grand contribution
19:28
best of luck!
19:28
<Sleaker>
can't run the command on the client itself because the application isn't actually running on the client heh
19:28
yah thanks mwalters :)
19:29
and honestly, this is such an edge case because people don't want to just rewrite an integrated application :-/
19:30
<uumas>
Are you sure it's running remotely? That's not the default behavior of ltsp5.
19:31
<Sleaker>
100%
19:31
we don't support local apps
19:31
this is ltsp5 from trusty btw.
19:31
things may have changed since then
19:33
<uumas>
Yeah, it's recommended to use the ppa (http://wiki.ltsp.org/wiki/Installation), but honestly I'd just go with ltsp19 (with fat clients) if you're setting up a new setup now.
19:33
<Sleaker>
it's not a new setup.
19:34
it's not something that can be changed out
19:34
we support ~2400 locations nationwide with the current setup on a prebuilt system install.
19:34
just trying to mangle stuff to continue working for something new we're developing, ;)
19:35
but anyhow, sounds like you're not super sure on the display thing, I'll check upstream in linux and see if anyone has ideas there
19:35
<uumas>
Okay, well, alkisg might be able to help you more
19:39
<alkisg>
Sleaker: in the epoptes code i have an "export-display" thing
19:39
It will properly export the display for you to use
19:41
Sleaker: if you want more info, mention if you're using thin or fat clients, and LDM_DIRECTX or not
19:42
And if you want access as root, or as the user
19:42
In general, DISPLAY isn't enough, you also need access to Xauthority
19:45
<mwalters>
trusty isn't getting security updates anymore, is it?
19:45
just throwing that out there
19:47
oh, I guess you do if you're a canonical customer
19:48
<Sleaker>
mwalters: I'm aware, exec here doesn't want to prioritize security updates
19:48
I told them it was an issue 6 months before EOL
19:48* Sleaker shrugs
19:48* mwalters straightens tie
19:48
<mwalters>
sounds prudent
19:48
;)
19:49
<Sleaker>
alkisg: so what I'm trying to do is just minimize a window that's running on the thin client, pretty sure it's a thin. since it's setup to run everything on the server
19:50
lemme double-check on LDM_DIRECTX
19:50
I think it might be true
19:52
<alkisg>
open a terminal on client and echo $DISPLAY
19:52
<Sleaker>
it's IP:7
19:52
ex: 192.168.151.102:7
19:52
note: the terminal 'on client' is a process on the server.
19:54
<alkisg>
Then LDM_DIRECTX is true
19:55
And you ssh to the client?
19:55
<Sleaker>
not usually.
19:56
but trying to run commands to manipulate the display from ssh also weren't working
19:57
<alkisg>
i mean, how do you plan to run that command
19:57
via ssh?
19:57
or other means?
19:57
<Sleaker>
was hoping to run it from the server via command line.
19:58
just trying to figure out where the command needs to run to manipulate the display properly
19:58
trying to do DISPLAY=IP:7 xdotool [command] doesn't work
19:58
<alkisg>
You need XAUTHORITY to point to the user's /home/user/.Xauthority
19:58
<Sleaker>
connecting to the client and running the command isn't possible, because the app being manipulated via xdotool isn't running on the client.
19:59
ok can try that
20:01
<alkisg>
Sleaker: both the server and the client have access to the display
20:02
The client via /run/ldm/xauthority-xxx/something, and the server via xauth and /home/username/.Xauthority
20:03
<Sleaker>
thanks alkisg, setting XAUTHORITY worked
20:03
A+ :)
20:04section1 has left IRC (section1!~section1@178.33.109.106, Quit: Leaving)
20:09
<Sleaker>
lol section was in here too...
20:09
answered in ##linux but not in here O_o
21:01Faith has left IRC (Faith!~Paty_@unaffiliated/faith, Quit: Leaving)
21:18ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
21:44adrianorg has joined IRC (adrianorg!~adrianorg@177.132.218.84)
21:45adrianor1 has left IRC (adrianor1!~adrianorg@177.18.177.210, Ping timeout: 258 seconds)
23:01GodFather has left IRC (GodFather!~rcc@d53-64-7-141.nap.wideopenwest.com, Ping timeout: 245 seconds)