Questions tagged [xauth]
29 questions
66
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
- 975
18
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,114
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
7
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
- 197
7
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,168
6
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 …
Roberto Leinardi
- 291
- 2
- 6
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
- 303
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
- 779
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
- 344
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…
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
- 931
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,889
- 11
- 41
- 53
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
1
vote
1 answer
VNC setup on bare Debian 12 install with MATE
I have setup a very basic Debian build (I used the image with MATE).
Basically, I have done nothing on this server but:
Installed TimeShift and taken a snapshot immediately on install completion.
Then, added my user 'boss' to the sudoers…
YorSubs
- 1,087
1
vote
0 answers
Where is the .Xauthority for GDM on Ubuntu 23.04?
According to the Ubuntu manpage for gdm
XAUTHORITY
Upon session startup, GDM sets the XAUTHORITY environment variable to a session-
specific file in /run/gdm3.
, but I don't see anything in this directory, except an empty file…
Jason Hunter
- 145