I am trying to run http://localhost:6544 from Firefox executed from a
secure shell: $ sudo ssh -X alan@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?
I am trying to run http://localhost:6544 from Firefox executed from a
secure shell: $ sudo ssh -X alan@origen
On 7/5/24 12:01, pinnerite wrote:
I am trying to run http://localhost:6544 from Firefox executed from a
secure shell: $ sudo ssh -X alan@origen
Why? Why are you using sudo to ssh into another PC? You should not be
doing that or allowing root logins across ssh. Bad form. And running an
X11 as root/sudo, that's not super cool either!
On 7/5/24 1:01 PM, pinnerite wrote:
I am trying to run http://localhost:6544 from Firefox executed from a
secure shell: $ sudo ssh -X alan@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?
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.
I am trying to runhttp://localhost:6544 from Firefox executed from aDoes '$ ssh -Y alan@origen' work ? "-Y" is like "-X" w/o trust issues.
secure shell: $ sudo ssh -X alan@origen
But it will not open. It returns.
"Unable to connect
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 498 |
Nodes: | 16 (3 / 13) |
Uptime: | 50:01:10 |
Calls: | 9,809 |
Calls today: | 11 |
Files: | 13,754 |
Messages: | 6,190,267 |