[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-list
Subject:    Re: SSH problem
From:       Veli-Pekka_Kestilä <fedora () guagua ! fi>
Date:       2023-01-10 17:23:33
Message-ID: c123db81-13d7-4316-518a-a1a89b9b7d1d () guagua ! fi
[Download RAW message or body]

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@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic