• Remote server problem

    From pinnerite@2:250/1 to All on Friday, July 05, 2024 20:01:28
    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?

    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

    --- MBSE BBS v1.0.8.8 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Arti F. Idiot@2:250/1 to All on Friday, July 05, 2024 23:26:48
    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.

    --- MBSE BBS v1.0.8.8 (Linux-x86_64)
    * Origin: Anarchists of America (2:250/1@fidonet)
  • From Paul@2:250/1 to All on Saturday, July 06, 2024 11:03:44
    On 7/5/2024 6:26 PM, Arti F. Idiot wrote:
    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.

    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


    --- MBSE BBS v1.0.8.8 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Arti F. Idiot@2:250/1 to All on Saturday, July 06, 2024 15:05:26
    On 7/5/24 1:01 PM, pinnerite wrote:
    I am trying to runhttp://localhost:6544 from Firefox executed from a
    secure shell: $ sudo ssh -X alan@origen

    But it will not open. It returns.

    "Unable to connect
    Does '$ ssh -Y alan@origen' work ? "-Y" is like "-X" w/o trust issues.

    --- MBSE BBS v1.0.8.8 (Linux-x86_64)
    * Origin: Anarchists of America (2:250/1@fidonet)
  • From pinnerite@2:250/1 to All on Sunday, July 07, 2024 15:39:54
    On 06/07/2024 15:05, Arti F. Idiot wrote:
    On 7/5/24 1:01 PM, pinnerite wrote:
    I am trying to runhttp://localhost:6544  from Firefox executed from a secure shell:  $ sudo ssh -X alan@origen

    But it will not open. It returns.

    "Unable to connect
    Does '$ ssh -Y alan@origen' work ?  "-Y" is like "-X" w/o trust It

    It doesn't appear to do more than $ sudo ssh -X alan@origen

    Thanks, Alan




    --- MBSE BBS v1.0.8.8 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)