Re: No $DISPLAY variable set over ssh
I just fixed it. in /etc/ssh/sshd_config I changed
#AddressFamily any
to
AddressFamily inet
Reading the host's journal got me pointed in the right direction.
Thank you for the suggestion :)
On Thu, Apr 18, 2024 at 6:10 AM allan <wizard10000@gmail.com> wrote:
>
> > In the context of these SSH sessions, are those clients or servers?
>
> Both. I've run all four machines as both host and guest when testing.
>
> > Do the logs on the host ip.add.re.ss provide any further details?
>
> journalctl -t sshd gives this -
>
> Apr 18 05:29:03 server sshd[2052]: error: Failed to allocate
> internet-domain X11 display socket.
>
> On Thu, Apr 18, 2024 at 5:54 AM Michael Kjörling <2695bd53d63c@ewoof.net> wrote:
> >
> > On 18 Apr 2024 05:38 -0500, from wizard10000@gmail.com (allan):
> > > Have four Sid machines here
> >
> > In the context of these SSH sessions, are those clients or servers?
> >
> >
> > > ssh -vv -Y user@ip.add.re.ss just gives "X11 forwarding request failed
> > > on channel 0"
> >
> > Do the logs on the host ip.add.re.ss provide any further details?
> >
> > --
> > Michael Kjörling 🔗 https://michael.kjorling.se
> > “Remember when, on the Internet, nobody cared that you were a dog?”
> >
>
>
> --
> we see things not as they are, but as we are.
> -- anais nin
--
we see things not as they are, but as we are.
-- anais nin
Reply to: