You are not logged in.

#1 2022-08-06 13:51:23

Kritiqual
Member
Registered: 2021-09-10
Posts: 21

How to change location of ~/.Xauthority file?

i have tried putting this

export XAUTHORITY="/home/kritiqual/.lyxauth"

in /etc/ly/xsetup.sh, /etc/environment, ~/.bash_profile, ~/.bashrc but that does not work. How do I set that variable?
(I'm using ly as login manager)

Last edited by Kritiqual (2022-08-06 14:07:16)

Offline

#2 2022-08-06 15:58:53

stanczew
Member
Registered: 2021-03-02
Posts: 63

Re: How to change location of ~/.Xauthority file?

The source code shows that Ly itself sets the XAUTHORITY variable, by default to $XDG_RUNTIME_DIR/.lyxauth:
https://github.com/fairyglade/ly/blob/0 … L303..L328
You'd have to modify the code to support a custom path like $HOME/.lyxauth.

Offline

Board footer

Powered by FluxBB