Skip to content

Trying to run preprocess model in a remote server with ssh -X #35

@Paulaquev

Description

@Paulaquev

When I try to execute run.sh this error comes up:
ERROR
X11 connection rejected because of wrong authentication.
_tkinter.TclError: couldn't connect to display "localhost:10.0"

I have logged in the remote server with -X, I have plot some figures using matplotlib executing a really simple python script to try out if the host display is correctly connected with the server. It worked so the problem comes when docker try to connect with the display (localhost10:0). I have try a few things to solve it but they did not work. I have try xhost + and also adding the volume $HOME/.Xauthority:/root/.Xauthority:rw to allow docker to acces the .Xauthority file. I add the volume to the docke-compose.yml
as you can see in the next screenshot:
volume

¿Do you know how to solve this authentication error? I would really appreciate if you could help me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions