Harold Johanssen
2022-10-21 23:37:13 UTC
I have a Slackware 15.0 host A running a TigerVNC session on
display 1. I can connect to that session from another Slackware 15.0
system with vncviewer tunneled within an sshSSH channel. I can also ssh
into B from a terminal emulator in A.
What I would like to do is the following:
1. In the TigerVNC session in A launch a terminal emulator and
ssh from it into B.
2. At the ssh session in B created above send some graphical
output to the TigerVNC session in A.
Step two does not work - I keep getting 'Can't open display: A:
1.0'.
I thought that the way to do pull this off consisted of executing
the following commands in a terminal emulator in the TigerVNC session in
A:
$ export DISPLAY=A:1.0
$ xhost +B
The thing is, this makes no difference.
I know for a fact that this works when the session in A is not a
TigerVNC one, but one run directly on a display physically attached to
the hardware where this all is running. Which makes me think that the
TigerVNC server is launched by default in such a way that what I am
trying to do is implicitly banned.
Any idea on how to solve this?
display 1. I can connect to that session from another Slackware 15.0
system with vncviewer tunneled within an sshSSH channel. I can also ssh
into B from a terminal emulator in A.
What I would like to do is the following:
1. In the TigerVNC session in A launch a terminal emulator and
ssh from it into B.
2. At the ssh session in B created above send some graphical
output to the TigerVNC session in A.
Step two does not work - I keep getting 'Can't open display: A:
1.0'.
I thought that the way to do pull this off consisted of executing
the following commands in a terminal emulator in the TigerVNC session in
A:
$ export DISPLAY=A:1.0
$ xhost +B
The thing is, this makes no difference.
I know for a fact that this works when the session in A is not a
TigerVNC one, but one run directly on a display physically attached to
the hardware where this all is running. Which makes me think that the
TigerVNC server is launched by default in such a way that what I am
trying to do is implicitly banned.
Any idea on how to solve this?