Skip to main content

Questions tagged [xauth]

The tag has no usage guidance.

1 vote
0 answers
331 views

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 ...
Jason Hunter's user avatar
0 votes
1 answer
322 views

What is the purpose of files whose name starts with .xauth in Linux home directory? Is it safe to delete them? [closed]

I have lots of files (about 40) starting .xauth. Many of them are a few months old. What is their purpose? Is it safe to remove them? The operating system is CentOS 7. Some file name examples: ....
yoyo_fun's user avatar
  • 1,863
1 vote
0 answers
123 views

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 ...
user avatar
0 votes
1 answer
1k views

I need a working solution for "X11 connection rejected because of wrong authentication." on a Rasbpian buster host with MacOS Big Sur client

Host: Raspberry Pi 4B Host Display: Osoyoo 3.5" DSI Touch Screen Host OS: Raspbian (Buster) Client: MacBook Air 2011 Client OS: MacOS Big Sur Client App: Terminal Connection string: ssh -Y pi@...
zenmaster43's user avatar
1 vote
1 answer
2k views

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 ...
Qohelet's user avatar
  • 155
0 votes
2 answers
10k views

Xorg / X11: How to provide Cookie-based access to X Server using xauth?

I know the risk, I know there is ssh -X, etc etc. What I want is to be able from one remote machine (X client) to connect to my local machine (X server) on a user (cookie) basis. I understood that ...
Adriano_pinaffo's user avatar
0 votes
0 answers
5k views

"error in locking authority file" isn't fixed even after removing .Xautority file

I'm using MobaXterm and I see this error: /usr/bin/xauth: error in locking authority file /home/myusername/.Xauthority right after the login and I even removed the file .Xauthority after googling ...
user avatar
5 votes
0 answers
1k views

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-...
Roberto Leinardi's user avatar
0 votes
1 answer
2k views

VMWare Player cannot copy Xauthorization

I'm currently using an up-to-date Fedora 27 system, and I have download the VMWare Player .bundle file. Running it results in a successful installation, but the problem arises when I open the VMWare ...
InitializeSahib's user avatar
0 votes
1 answer
5k views

How to properly fix the 'error in locking authority file' when I try to start my VNC session

When I try to start my VNC using this command: /usr/bin/vncserver -geometry 1900x1020 I get the following error: xauth: error in locking authority file /home/maindir/.Xauthority sh: line 1: /home/...
achref's user avatar
  • 105
0 votes
1 answer
936 views

Emacs only runs GUI when not sudo

I have installed emacs from ubuntu's software center and everything seems to work fine except for sudo emacs which instead of running the gui version, gives error No protocol specified Display :0 ...
skyfire's user avatar
  • 103
4 votes
1 answer
10k views

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/....
Mr. Anonymous's user avatar
1 vote
0 answers
272 views

View OpenGL version *of* a remote machine via ssh

I have a remote machine accessible via SSH and I want to use glxinfo to check it's GL version. I already tried the following: logging in with ssh -X or ssh -Y setting DISPLAY=:0 setting DISPLAY=...
pfoof's user avatar
  • 21
0 votes
0 answers
289 views

IPSec VPN Routed LANs

Recently I changed from a home-run OpenVPN to a home-run Cisco (XAuth) IPSec VPN for more compatibility. However, I haven't found documentation on "pushing" routes from the IPSec server to clients. In ...
BoomBoomPowe's user avatar
1 vote
3 answers
29k views

PuTTY X11 forwarding: Unsupported authorisation protocol

I have a Ubuntu 14 running as the "Server" and am trying to use PuTTY on my windows machine as the "Client" On the Server: ForwardX11 yes ForwardX11Trusted yes On the Client: PuTTY Configuration: ...
sam yi's user avatar
  • 111

15 30 50 per page