On Thursday 18 March 2021 03:33:55 deloptes wrote:
ajh-valmer wrote:
> # xauth -v
> Using authority file /root/.Xauthority
> # xauth>
> What am I supposed to write?
are you logging in as root or normal user and doing
su/sudo?
later would explain all of your troubles
it is complicated to login as normal user and run X app as root.
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 :-(
Thanks.