Discussion:
Remote server problem
(too old to reply)
pinnerite
2024-07-05 19:01:28 UTC
Permalink
I am trying to run http://localhost:6544 from Firefox executed from a
secure shell: $ sudo ssh -X ***@origen

But it will not open. It returns.

"Unable to connect

Firefox can’t establish a connection to the server at localhost:6544.

The site could be temporarily unavailable or too busy. Try again in
a few moments. If you are unable to load any pages, check your
computer’s network connection. If your computer or network is protected
by a firewall or proxy, make sure that Firefox is permitted to access
the web."

origen $ sudo /firefox returns:
X11 connection rejected because of wrong authentication.
Error: cannot open display: localhost:10.0

From the client machine I executed:
$ export XAUTHORITY=$HOME/.Xauthority

but that did not help.

Has anyone any tips?

Alan

`
--
Linux Mint 21.3 kernel version 5.15.0-112-generic Cinnamon 6.0.4
AMD Ryzen 7 7700, Radeon RX 6600, 32GB DDR5, 1TB SSD, 2TB Barracuda
Arti F. Idiot
2024-07-05 22:26:48 UTC
Permalink
Post by pinnerite
I am trying to run http://localhost:6544 from Firefox executed from a
But it will not open. It returns.
"Unable to connect
Firefox can’t establish a connection to the server at localhost:6544.
The site could be temporarily unavailable or too busy. Try again in
a few moments. If you are unable to load any pages, check your
computer’s network connection. If your computer or network is protected
by a firewall or proxy, make sure that Firefox is permitted to access
the web."
X11 connection rejected because of wrong authentication.
Error: cannot open display: localhost:10.0
$ export XAUTHORITY=$HOME/.Xauthority
but that did not help.
Has anyone any tips?
You probably need to set the following in /etc/ssh/sshd_config:

X11Forwarding yes

Default is "no"; you'll need to restart the service or reboot.
Paul
2024-07-06 10:03:44 UTC
Permalink
Post by pinnerite
I am trying to run http://localhost:6544 from Firefox executed from a
But it will not open. It returns.
"Unable to connect
Firefox can’t establish a connection to the server at localhost:6544.
The site could be temporarily unavailable or too busy. Try again in
a few moments. If you are unable to load any pages, check your
computer’s network connection. If your computer or network is protected
by a firewall or proxy, make sure that Firefox is permitted to access
the web."
X11 connection rejected because of wrong authentication.
Error: cannot open display: localhost:10.0
$ export XAUTHORITY=$HOME/.Xauthority
but that did not help.
Has anyone any tips?
  X11Forwarding yes
Default is "no"; you'll need to restart the service or reboot.
Context:

**********************************************************************************************
https://forums.linuxmint.com/viewtopic.php?t=423416

"Cannot open http://localhost:6544
Mon Jul 01, 2024 3:36 pm

This on Mint 21.3 and kernel 5.15.0-112.
I need to open http://localhost:6544/setupwizard which provides access to MythTV backend.

It had been working until a series of updates and no doubt,
changes made made to improve matters ...

I have checked the firewall and the 6544 is open.

The bind address in /etc/mysql/conf.d/mythtv.cnf is:

[mysqld]
bind-address =*
max_connections=100

I cleared Firefox's cache.
I cannot think of any further steps that I can take. <=== [then uses sledge hammer to cut self a slice of cake]
"
**********************************************************************************************

Paul
Arti F. Idiot
2024-07-06 14:05:26 UTC
Permalink
I am trying to runhttp://localhost:6544 from Firefox executed from a
But it will not open. It returns.
"Unable to connect
Does '$ ssh -Y ***@origen' work ? "-Y" is like "-X" w/o trust issues.
pinnerite
2024-07-07 14:39:54 UTC
Permalink
I am trying to runhttp://localhost:6544  from Firefox executed from a
But it will not open. It returns.
"Unable to connect
It doesn't appear to do more than $ sudo ssh -X ***@origen

Thanks, Alan

Loading...