On Tuesday 16 March 2021 12:31:22 deloptes wrote:
ajh-valmer wrote:
I cannot open a graphic tool on my Debian TDE, with a terminal and SSH, from a remote server, I receive this message : # xeyes "X11 connection rejected because of wrong authentication. Error: Can't open display: localhost:10.0"
Thanks for your help.
$ grep -i X11Forwarding /etc/ssh/sshd_config X11Forwarding yes :
OK.
then when you login ( ssh -X ) export DISPLAY=:10 or export DISPLAY=localhost:10
It's what I did.
if still an issue check what is loclahost in /etc/hosts :
cat /etc/hosts (on the remote server) : 127.0.0.1 localhost localhost.localdomain
And always the message : "X11 connection rejected because of wrong authentication. Error: Can't open display: localhost:10.0"