On Thu, 18 Mar 2021 21:02:03 +0100 deloptes deloptes@gmail.com wrote:
ajh-valmer wrote:
Yes, true, difficult Xorg graphic relation between user and root.
From the client SSH, as user, I type : $ ssh -X -p <port> root@<server-IP> and I'm connected.
If I type : $ ssh -X -p <port> normal-user@<server-IP> I'm connected with this message : "/etc/ssh/sshrc : line 13 : /etc/ssh/logsshsftp.sh : Permission not granted"
$ xclock "X11 connection rejected because of wrong authentication. Error: Can't open display: localhost:2.0" sniff :-(
All of this is crap - what is sshrc and logsshsftp.sh why localhost:2.0?
try creating a fresh normal user and try with that user. You have to review this configuration.
/etc/ssh/sshrc is a script that is executed upon ssh login apparently ajh-valmer has some crap in here that breaks normal ssh -X functionality