On 11 Mar 2024, at 19:46, Alex mysqlstudent@gmail.com wrote:
I now have his PC with me on my local network, and commands executed through ssh -X still display on his screen instead of mine.
From his gnome-terminal on my PC: [gary@fedora ~]$ echo $DISPLAY localhost:10.0
How do I set the display for commands executed remotely to appear on my screen?
What is the value of DISPLAY when you ssh into the system? Is there code in .bash_profile or .bashrc (assuming bash shell is used) that sets DISPLAY? If so that will break X11 forwarding.
Barry