Questions tagged [xauth]

The tag has no usage guidance.

13 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
14k views

Xauthority problem xdpyinfo: unable to open display “”.

I am trying to run a program after enabling X windows port forwarding. My sshd_config file in /etc/ssh/sshd_config is configured such that: X11Forwarding yes X11DisplayOffset 10 X11UseLocalhost yes ...
4
votes
1answer
7k views

.Xauthority file is empty

I have been trying to ssh -X to my cluster running OpenSUSE 11.2. It used to work well for me. But now I get this message: X11 connection rejected because of wrong authentication. Failed to open the ...
3
votes
0answers
1k views

MPI program causes “invalid MIT-magic-cookie-1 key” warning to show

I'm setting up a new development environment that requires high performance computing. I installed mpi and openmpi on this new machine (Ubuntu 20.04), and I wrote the following code in python as a ...
3
votes
0answers
3k views

How to generate a new Xauthority with no home?

I have been given access to a system where I have no home folder. I've asked the administrator to create a home folder for me but due to some complexity he is unable to. Therefore, I have no ....
3
votes
0answers
972 views

Xmove is unable to connect to X11 server via SSH X forwarding

I have a LAN where a windows machine running Cygwin (XWin server) is used to connect to a Linux host via SSH with trusted X forwarding. I connect with $ ssh -Y user@linuxhost without any issues and ...
2
votes
0answers
390 views

Xauthority problem

User1 has his home directory on NFS that's mounted by machine1 and machine2, both of which are running Redhat 6.4. If I ssh -Y user1@machine1 and run gedit, I get "X11 connection rejected because of ...
2
votes
1answer
227 views

manually redirecting X output through ssh

I have a remote server, on which I am able to log in with ssh. However there is no home directory for my user. When I try to ssh -X to that server, ssh tries to put a cookie into ~/.Xauthority which ...
1
vote
1answer
314 views

About Xauth and DISPLAY variable

I'd like to understand about xauth and DISPLAY variable and how ssh -X auto-generate the DISPLAY variable and why it choose those values? I've seen is somewhere that is not correct to set DISPLAY ...
1
vote
0answers
105 views

Xauthority for python plotting in a docker container

I'm trying to understand how to run a docker container with an X11 server running in it so that I can do visualizations when I write some python code, and found lots of answers out there. I found many ...
1
vote
0answers
89 views

starting Xephyr server with auth for some other user

I have a situation where user0, with access to display :0 on the localhost, needs to run Xephyr :1 such that this Xephyr server is only accessible to user1 clients on the localhost. Is this ...
1
vote
0answers
188 views

How to configure Libreswan IPsec for multiple connections?

I'm trying to set up Xauth IPsec on my linux machine. This IPsec server is behind a NAT. My goal is to have two types of users that can authenticate with a password and a PSK. The first group (...
1
vote
0answers
144 views

How do I make X client untrusted, but with access to GPU?

If I try to make a client untrusted, xauth -f XauthorityU generate $DISPLAY MIT-MAGIC-COOKIE-1 untrusted export XAUTHORITY=$PWD/XauthorityU it loses access to acceleration: $ glxgears Error: couldn'...
0
votes
0answers
1k views

Populating .Xauthority file when DISPLAY and HOST variables are non-existent

I just installed the new Debian 10 Buster and I am not satisfied. I installed it without any desktop. Only basic system utilities were installed during the initial install. After reboot I signed in ...