Questions tagged [xauth]

27 questions
60
votes
10 answers

xauth not creating .Xauthority file

When I ssh into a headless Linux Mint 17 system, it doesn't create update / create an .Xauthority file. Moreover, when I run xauth I get the reply: marty@N40L ~ $ xauth xauth: file /home/marty/.Xauthority does not exist Using authority file…
wkdmarty
  • 895
  • 2
  • 9
  • 12
16
votes
4 answers

How to fix "MobaXterm X11 proxy: Unsupported authorisation protocol"

When connecting from Windows to my Linux box using MobaXterm, I cannot open Linux-GUI applications on the Windows side. On the Windows side, nothing happens. On the Linux box I get this error message: MobaXterm X11 proxy: Unsupported authorisation…
Sascha
  • 1,034
  • 2
  • 9
  • 15
7
votes
1 answer

Running xserver from console as normal user and gdm3 disabled

Good afternoon to everyone. I am the inexperienced system administrator of a virtual machine with limited hardware resources, and Debian 6 installed. The main use of this machine will be as fileserver/webserver, so I decided that I don't need to…
GLB
  • 73
  • 1
  • 1
  • 4
6
votes
2 answers

X11 connection uses different authentication protocol when using ssh -X

I cannot use X applications on one of my servers. (The same client succeeds in connecting to other servers so the problem is not on the client side). I connect with ssh -vvv -Y -4 jet (tried also with -X instead of -Y, same problem) to force IPv4…
jolivier
  • 187
  • 3
  • 8
6
votes
5 answers

Xauth/X11 ssh forwarding errors with .Xauthority file not writable

When logging in with ssh -Y remotehost I get the following error message: /usr/bin/xauth: /home/hlovdal/.Xauthority not writable, changes will be ignored And xclock and similar fails to start. There is nothing wrong with the permissions of the…
hlovdal
  • 3,048
  • 4
  • 32
  • 39
5
votes
3 answers

How can I configure gdm to allow X connections to other servers/workstations?

I have an issue on all new installs of CentOS 6.2 on my network. Connecting to remote machines using X11 gui software fails for reasons associated with the xauth. I'm not sure how to diagnose but have narrowed it down to the following: gdm can't…
rjmoggach
  • 293
  • 3
  • 15
5
votes
2 answers

ssh xauth error Mac OS 10.6.3

Whenever I ssh with X11 forwarding to a remote box from my macbook I get the following error after a few seconds pause: Warning: untrusted X11 forwarding setup failed: xauth key data not generated Warning: No xauth data; using fake authentication…
stevenrjanssens
  • 789
  • 5
  • 6
5
votes
0 answers

Xauthority is missing the display number

When I run on my local machine (Ubuntu 18.10) xauth list the output is not showing the display number: $ xauth list c7h/unix: MIT-MAGIC-COOKIE-1 37bb744d95232b4e29aea1320b0a0e2d #ffff#633768#: MIT-MAGIC-COOKIE-1 …
4
votes
2 answers

XAuth not working as expected with TightVNC server: “You will require a password to access your desktops.”

I'm trying to get a friend's server started for them. It's running on the same hardware platform as one that I personally use, so I figured it would be easy. They're running CentOS, and I'm trying to get VNC to work. I picked TightVNC because it's…
Dan
  • 334
  • 1
  • 4
  • 18
4
votes
1 answer

startx results in error "timeout in locking authority file /home/myaccount/.Xauthority"

About once a month, I try to start X windows on my local desktop with: startx but the terminal seems to hang, then gives the error: xauth: timeout in locking authority file /home/myaccount/.serverauth.8280 xauth: timeout in locking…
Mr. Anonymous
  • 41
  • 1
  • 3
4
votes
3 answers

xauth error with ssh X Forwarding

From my (Debian) Desktop machine, I am trying to ssh into a Debian Server with ssh -X remote-ip After logging into the remote host, I get: /usr/bin/X11/xauth: creating new authority file /root/.Xauthority /usr/bin/X11/xauth: (stdin):1: bad…
bdk
  • 911
  • 1
  • 9
  • 8
2
votes
1 answer

SSH with X11 forwarding to host where I don't have a home-dir

I am trying to ssh with X11 forwarding into a host where I don't have a home directory. Because of that, xauth fails and X11 doesn't seem to work. I tried to specify a home-directory in advance but I guess it doesn't export env-vars to the…
Albert
  • 6,531
  • 11
  • 39
  • 51
1
vote
0 answers

Unable to open gedit over sshx as root

I'm doing an remote login using sshx -X as root: ssh -X root@172.16.0.1 After that whatever application I open, a warning is coming like: X11 connection rejected because of wrong authentication. Blockquote Still the application is opening. I've…
RatDon
  • 127
  • 9
1
vote
0 answers

What are these .xauth files for in my home directory?

I don't recognize these files from previous Fedora versions (On 35 now): -rw-------. 1 1000 1000 100 Nov 15 21:49 .xauthHhCXrs -rw-------. 1 1000 1000 100 Nov 14 22:35 .xauthmDNgLB Both contain at least this string in…
user1644918
1
vote
1 answer

ssh -X to machine without any monitor to open a GUI?

I have two VMs running (One Ubuntu 20.04, one Fedora 30) and would like to open Firefox there. None of them has any kind of display attached. Never had. Both are fresh and it doesn't matter much to me which can do it, but I somewhat struggle with…
Qohelet
  • 145
  • 1
  • 1
  • 9
1
2