|02:19||alexxtasi[m] has left IRC (alexxtasi[m]!alexxtasim@gateway/shell/matrix.org/x-ivztlaikrhzcrrsq, Write error: Connection reset by peer)|
|02:19||uumas has left IRC (uumas!uumasmatri@gateway/shell/matrix.org/x-rthaefatazcbqwsx, Read error: Connection reset by peer)|
|02:27||alexxtasi[m] has joined IRC (alexxtasi[m]!alexxtasim@gateway/shell/matrix.org/x-ifednbaasuqokfyo)|
|02:38||mze__ has joined IRC (mze__!~mze@2001:16b8:552b:f100:50cb:7f0f:709e:4907)|
|02:40||mze_ has left IRC (mze_!~mze@2001:16b8:55e2:7600:692c:7b06:5c73:2299, Ping timeout: 245 seconds)|
|02:50||quinox has left IRC (email@example.com, *.net *.split)|
|02:56||quinox has joined IRC (firstname.lastname@example.org)|
|02:59||uumas has joined IRC (uumas!uumasmatri@gateway/shell/matrix.org/x-gltwsguzyivwcsum)|
|03:18||quinox has left IRC (email@example.com, *.net *.split)|
|03:24||quinox has joined IRC (firstname.lastname@example.org)|
|05:01||statler has joined IRC (statler!~Georg@p54897245.dip0.t-ipconnect.de)|
|05:22||kjackal has joined IRC (kjackal!~quassel@nat/canonical/x-nhymofjnmeizydzi)|
|06:13||ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)|
|06:21||kjackal has left IRC (kjackal!~quassel@nat/canonical/x-nhymofjnmeizydzi, Ping timeout: 276 seconds)|
|06:28||woernie has joined IRC (email@example.com)|
|07:09||kjackal has joined IRC (kjackal!~quassel@nat/canonical/x-tqmirbqabzsdtngw)|
|07:11||kjackal has left IRC (kjackal!~quassel@nat/canonical/x-tqmirbqabzsdtngw, Read error: Connection reset by peer)|
|07:18||statler has left IRC (statler!~Georg@p54897245.dip0.t-ipconnect.de, Remote host closed the connection)|
|07:20||kjackal has joined IRC (kjackal!~quassel@nat/canonical/x-gyxanncxcwijmwxs)|
|07:28||kjackal_v2 has joined IRC (kjackal_v2!~quassel@nat/canonical/x-uysullszvpxxlyif)|
|07:28||kjackal has left IRC (kjackal!~quassel@nat/canonical/x-gyxanncxcwijmwxs, Ping timeout: 276 seconds)|
|09:00||kjackal_v2 has left IRC (kjackal_v2!~quassel@nat/canonical/x-uysullszvpxxlyif, Ping timeout: 240 seconds)|
|10:18||epoptes_user87 has joined IRC (firstname.lastname@example.org)|
|10:19||epoptes_user87 has left IRC (email@example.com, Remote host closed the connection)|
|10:53||statler has joined IRC (statler!~Georg@gwrz.lohn24.de)|
|11:08||spaced0ut has joined IRC (spaced0ut!~spaced0ut@unaffiliated/spaced0ut)|
|11:46||stam12 has joined IRC (firstname.lastname@example.org)|
|11:53||Faith has joined IRC (Faith!~Paty_@unaffiliated/faith)|
|11:59||stam1297 has joined IRC (email@example.com)|
|12:00||stam12 has left IRC (firstname.lastname@example.org, Ping timeout: 260 seconds)|
|12:03||stam1297 has left IRC (email@example.com, Remote host closed the connection)|
|12:04||section1 has joined IRC (firstname.lastname@example.org)|
|13:30||mmarconm has joined IRC (mmarconm!~mmarconm@unaffiliated/mmarconm)|
|15:02||woernie has left IRC (email@example.com, Remote host closed the connection)|
|15:18||mmarconm has left IRC (mmarconm!~mmarconm@unaffiliated/mmarconm, Read error: Connection reset by peer)|
|15:49||adrianorg has left IRC (firstname.lastname@example.org, Ping timeout: 276 seconds)|
|16:15||adrianorg has joined IRC (email@example.com)|
|16:16||josefig has joined IRC (firstname.lastname@example.org)|
|16:17||josefig has joined IRC (josefig!~josefig@unaffiliated/josefig)|
|16:21||statler has left IRC (statler!~Georg@gwrz.lohn24.de, Remote host closed the connection)|
|16:57||mze__ has left IRC (mze__!~mze@2001:16b8:552b:f100:50cb:7f0f:709e:4907, Quit: Leaving)|
|18:18||adrianor1 has joined IRC (email@example.com)|
|18:21||adrianorg has left IRC (firstname.lastname@example.org, Ping timeout: 258 seconds)|
is there a way to get xdotool to manipulate windows on the ltsp5 display?
if I try to do stuff from command line it gives errors
eg trying to force the display via DISPLAY=IP:7 xdotool [command]
it works for older ltsp4
the xdotool command seems to work fine from within an X window session but not from something like ssh
but doing things like DISPLAY=:0 works fine via ssh
|19:01||vsuojanen has left IRC (email@example.com, Ping timeout: 240 seconds)|
or is that what -X is for?
If you mean ssh -X then yes that enables x forwarding, ie. graphical apps over ssh
hmm, looks like the issue is that running the command from the actual TC works fine.
but trying to run the command from the server to manipulate screens on the TC display doesn't work.
What exactly are you trying to achieve
trying to minimize a window on the TC from the server
works for screens on the main display, and on ltsp4 TCs, but not for ltsp5 TCs
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?
they have no HD
so they better not be fat :P
they boot from a tftp/nbd server setup.
the whole system image gets pushed
FYI: around here the terminology is: Thin client = remote desktop, fat client = remote storage
(I guess we'll use thick client for a "traditional" workstation????)
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.
Ltsp4 might have been thin clients only, idk.
Ltsp5 supports both
Ltsp19 is fat only
But you're probably using fat clients which explains why your commands aren't working. I recommend epoptes for managing fat client sessions.
epoptes doesn't allow command-line manipulation though?
trying to script this
Oh, well not for scripts
so what's the equivalent of running an xdotool command on a remote screen?
But you could have the script run on the clients?
uumas: how do you close an application that's running on the server from a command run on the client?
I don't know about xdotool. What do you want to achieve?
So you want to close a single application without logging the user out?
all of the programs are run from the server, nothing runs on the client except the x client.
but not kill it, minimize it heh
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
so trying to figure out a way to minimize the window via xdotool when the window is being drawn remotely.
That's my grand contribution
best of luck!
can't run the command on the client itself because the application isn't actually running on the client heh
yah thanks mwalters :)
and honestly, this is such an edge case because people don't want to just rewrite an integrated application :-/
Are you sure it's running remotely? That's not the default behavior of ltsp5.
we don't support local apps
this is ltsp5 from trusty btw.
things may have changed since then
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.
it's not a new setup.
it's not something that can be changed out
we support ~2400 locations nationwide with the current setup on a prebuilt system install.
just trying to mangle stuff to continue working for something new we're developing, ;)
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
Okay, well, alkisg might be able to help you more
Sleaker: in the epoptes code i have an "export-display" thing
It will properly export the display for you to use
Sleaker: if you want more info, mention if you're using thin or fat clients, and LDM_DIRECTX or not
And if you want access as root, or as the user
In general, DISPLAY isn't enough, you also need access to Xauthority
trusty isn't getting security updates anymore, is it?
just throwing that out there
oh, I guess you do if you're a canonical customer
mwalters: I'm aware, exec here doesn't want to prioritize security updates
I told them it was an issue 6 months before EOL
|19:48||* Sleaker shrugs|
|19:48||* mwalters straightens tie|
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
lemme double-check on LDM_DIRECTX
I think it might be true
open a terminal on client and echo $DISPLAY
note: the terminal 'on client' is a process on the server.
Then LDM_DIRECTX is true
And you ssh to the client?
but trying to run commands to manipulate the display from ssh also weren't working
i mean, how do you plan to run that command
or other means?
was hoping to run it from the server via command line.
just trying to figure out where the command needs to run to manipulate the display properly
trying to do DISPLAY=IP:7 xdotool [command] doesn't work
You need XAUTHORITY to point to the user's /home/user/.Xauthority
connecting to the client and running the command isn't possible, because the app being manipulated via xdotool isn't running on the client.
ok can try that
Sleaker: both the server and the client have access to the display
The client via /run/ldm/xauthority-xxx/something, and the server via xauth and /home/username/.Xauthority
thanks alkisg, setting XAUTHORITY worked
|20:04||section1 has left IRC (firstname.lastname@example.org, Quit: Leaving)|
lol section was in here too...
answered in ##linux but not in here O_o
|21:01||Faith has left IRC (Faith!~Paty_@unaffiliated/faith, Quit: Leaving)|
|21:18||ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)|
|21:44||adrianorg has joined IRC (email@example.com)|
|21:45||adrianor1 has left IRC (firstname.lastname@example.org, Ping timeout: 258 seconds)|
|23:01||GodFather has left IRC (GodFatheremail@example.com, Ping timeout: 245 seconds)|