Hello
I posted a summary of my issue below as a reply to a thread I came across on here, thinking it was a solution I had found to my issue in that thread. But it wasn’t it seems so I would be pleased if any one can help me.
There appears to be some issues for me in forwarding X over ssh. It used to just ‘work’ in 11.4, but after 12.1 upgrade a few things have me stumped, including this X forwarding.
Firstly I was not getting DISPLAY set at all on the remote machine. I checked sshd-config and X11Forwarding is set ‘yes’. I uncommented X11UseLocalhost and set it to ‘no’.
I now get msg’s at the remote prompt (when i ssh -X e.g. ssh -X fred@192.168.0.10) like:
/usr/bin/xauth: (stdin):1: bad display name “linux-e4rt5.site:10.0” in “remove” command
Also, I have tried using xhost +x (not safe i know) to see if that helped… it didnt.
Do the YAST network settings have any effect - e.g. ‘Assign hostname to loopback IP’, ‘change hostname via DHCP’ and if so how should they be configured please ?
What is the correct set up in sshd_config and ssh_config to allow x forwarding please?
as I say, it used to just work fine in 11.4. without me having to delve around…although I am learning more now why this stuff works or it doesn’t… i think a good thing !
thanks for any assistance.