You are not logged in.

#1 2021-11-28 11:40:57

dxxvi
Member
Registered: 2011-07-23
Posts: 116

X server on a machine different from the one that initiates ssh?

I have 3 machines: A with ssh server, B with ssh client, C with X server. Is it possible to ssh from B to A, run a GUI app on A and have that GUI app displayed on C?

Offline

#2 2021-11-28 11:51:10

dxxvi
Member
Registered: 2011-07-23
Posts: 116

Re: X server on a machine different from the one that initiates ssh?

I think the answer is to export DISPLAY=machineC:0 in machine A. I will try it later.

Offline

#3 2021-11-28 14:17:09

seth
Member
Registered: 2012-09-03
Posts: 26,666

Re: X server on a machine different from the one that initiates ssh?

You'll likely have to make the server listen on tcp and open it for the client w/ xhost.
Can't you ssh from B to C and ssh -Y from C to A?

Online

Board footer

Powered by FluxBB