Additional troubleshooting should include including '-vvvv' for the ssh command invocation.
On Tuesday, January 10, 2023 at 12:23:51 PM EST, Veli-Pekka Kestilä <fedora@xxxxxxxxx> wrote:
On 10.1.2023 14.28, Frank Elsner via users wrote:
> Hello,
>
> today I faced the following problem:
>
> Some of my panel entries do not work. Investigation on the command line level
> shows that every second ssh call doesn't work. But why?
>
> [frank@siffux ~]$ ssh christo "mate-terminal&" &
> [1] 15817
>
> This command brings up a window running mate terminal
>
> [frank@siffux ~]$ ssh christo "mate-terminal&" &
> [2] 15827
> [frank@siffux ~]$ X11 connection rejected because of wrong authentication.
> Failed to parse arguments: Cannot open display:
>
> This is the error behaviour.
>
> What's going on? How to solve the problem?
I don't know how to solve the problem but can confirm that I have the
same one. From what I have deducted so far is that sshd in F36 and F37
generates new xauth token and replaces the old one every time new
connection is opened. I can fix the problem by running xauth list after
the first connection and then xauth add with the data from xauth list to
restore the original authentication token every time new connection is
created.
One might make a hack with /etc/ssh/sshrc or .ssh/rc to muck with the
tokens, but I am not sure it's a good fix on the long run. Would be nice
to know what changed from F35, but I don't unfortunately have any
installed anymore.
-vpk
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
> Hello,
>
> today I faced the following problem:
>
> Some of my panel entries do not work. Investigation on the command line level
> shows that every second ssh call doesn't work. But why?
>
> [frank@siffux ~]$ ssh christo "mate-terminal&" &
> [1] 15817
>
> This command brings up a window running mate terminal
>
> [frank@siffux ~]$ ssh christo "mate-terminal&" &
> [2] 15827
> [frank@siffux ~]$ X11 connection rejected because of wrong authentication.
> Failed to parse arguments: Cannot open display:
>
> This is the error behaviour.
>
> What's going on? How to solve the problem?
I don't know how to solve the problem but can confirm that I have the
same one. From what I have deducted so far is that sshd in F36 and F37
generates new xauth token and replaces the old one every time new
connection is opened. I can fix the problem by running xauth list after
the first connection and then xauth add with the data from xauth list to
restore the original authentication token every time new connection is
created.
One might make a hack with /etc/ssh/sshrc or .ssh/rc to muck with the
tokens, but I am not sure it's a good fix on the long run. Would be nice
to know what changed from F35, but I don't unfortunately have any
installed anymore.
-vpk
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue